diff --git a/api-spec/openapi/swagger/tdex-daemon/v1/operator.swagger.json b/api-spec/openapi/swagger/tdex-daemon/v1/operator.swagger.json index f75300a2..048d4db1 100644 --- a/api-spec/openapi/swagger/tdex-daemon/v1/operator.swagger.json +++ b/api-spec/openapi/swagger/tdex-daemon/v1/operator.swagger.json @@ -207,7 +207,8 @@ "fixed": { "$ref": "#/definitions/v1Fixed" } - } + }, + "title": "Custom Types" }, "v1FeeFragmenterSplitFundsResponse": { "type": "object", @@ -510,6 +511,17 @@ } } }, + "v1ListProtoServicesResponse": { + "type": "object", + "properties": { + "services": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1ListTradesResponse": { "type": "object", "properties": { diff --git a/api-spec/openapi/swagger/tdex/v1/trade.swagger.json b/api-spec/openapi/swagger/tdex/v1/trade.swagger.json index 0c9cf974..572ee3c0 100644 --- a/api-spec/openapi/swagger/tdex/v1/trade.swagger.json +++ b/api-spec/openapi/swagger/tdex/v1/trade.swagger.json @@ -24,7 +24,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1GetMarketBalanceResponse" + "$ref": "#/definitions/tdexv1GetMarketBalanceResponse" } }, "default": { @@ -40,7 +40,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetMarketBalanceRequest" + "$ref": "#/definitions/tdexv1GetMarketBalanceRequest" } } ], @@ -57,7 +57,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1GetMarketPriceResponse" + "$ref": "#/definitions/tdexv1GetMarketPriceResponse" } }, "default": { @@ -73,7 +73,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1GetMarketPriceRequest" + "$ref": "#/definitions/tdexv1GetMarketPriceRequest" } } ], @@ -90,7 +90,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ListMarketsResponse" + "$ref": "#/definitions/tdexv1ListMarketsResponse" } }, "default": { @@ -113,7 +113,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1CompleteTradeResponse" + "$ref": "#/definitions/tdexv1CompleteTradeResponse" } }, "default": { @@ -129,7 +129,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1CompleteTradeRequest" + "$ref": "#/definitions/tdexv1CompleteTradeRequest" } } ], @@ -147,7 +147,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1PreviewTradeResponse" + "$ref": "#/definitions/tdexv1PreviewTradeResponse" } }, "default": { @@ -163,7 +163,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1PreviewTradeRequest" + "$ref": "#/definitions/tdexv1PreviewTradeRequest" } } ], @@ -180,7 +180,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1ProposeTradeResponse" + "$ref": "#/definitions/tdexv1ProposeTradeResponse" } }, "default": { @@ -196,7 +196,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1ProposeTradeRequest" + "$ref": "#/definitions/tdexv1ProposeTradeRequest" } } ], @@ -234,7 +234,7 @@ } } }, - "v1Balance": { + "tdexv1Balance": { "type": "object", "properties": { "baseAmount": { @@ -247,40 +247,29 @@ } } }, - "v1BalanceWithFee": { - "type": "object", - "properties": { - "balance": { - "$ref": "#/definitions/v1Balance" - }, - "fee": { - "$ref": "#/definitions/v1Fee" - } - } - }, - "v1CompleteTradeRequest": { + "tdexv1CompleteTradeRequest": { "type": "object", "properties": { "swapComplete": { - "$ref": "#/definitions/v1SwapComplete" + "$ref": "#/definitions/tdexv1SwapComplete" }, "swapFail": { - "$ref": "#/definitions/v1SwapFail" + "$ref": "#/definitions/tdexv1SwapFail" } } }, - "v1CompleteTradeResponse": { + "tdexv1CompleteTradeResponse": { "type": "object", "properties": { "txid": { "type": "string" }, "swapFail": { - "$ref": "#/definitions/v1SwapFail" + "$ref": "#/definitions/tdexv1SwapFail" } } }, - "v1Fee": { + "tdexv1Fee": { "type": "object", "properties": { "basisPoint": { @@ -290,30 +279,18 @@ "fixed": { "$ref": "#/definitions/v1Fixed" } - } - }, - "v1Fixed": { - "type": "object", - "properties": { - "baseFee": { - "type": "string", - "format": "int64" - }, - "quoteFee": { - "type": "string", - "format": "int64" - } - } + }, + "title": "Custom Types" }, - "v1GetMarketBalanceRequest": { + "tdexv1GetMarketBalanceRequest": { "type": "object", "properties": { "market": { - "$ref": "#/definitions/v1Market" + "$ref": "#/definitions/tdexv1Market" } } }, - "v1GetMarketBalanceResponse": { + "tdexv1GetMarketBalanceResponse": { "type": "object", "properties": { "balance": { @@ -321,15 +298,15 @@ } } }, - "v1GetMarketPriceRequest": { + "tdexv1GetMarketPriceRequest": { "type": "object", "properties": { "market": { - "$ref": "#/definitions/v1Market" + "$ref": "#/definitions/tdexv1Market" } } }, - "v1GetMarketPriceResponse": { + "tdexv1GetMarketPriceResponse": { "type": "object", "properties": { "spotPrice": { @@ -342,18 +319,18 @@ } } }, - "v1ListMarketsResponse": { + "tdexv1ListMarketsResponse": { "type": "object", "properties": { "markets": { "type": "array", "items": { - "$ref": "#/definitions/v1MarketWithFee" + "$ref": "#/definitions/tdexv1MarketWithFee" } } } }, - "v1Market": { + "tdexv1Market": { "type": "object", "properties": { "baseAsset": { @@ -364,25 +341,25 @@ } } }, - "v1MarketWithFee": { + "tdexv1MarketWithFee": { "type": "object", "properties": { "market": { - "$ref": "#/definitions/v1Market" + "$ref": "#/definitions/tdexv1Market" }, "fee": { - "$ref": "#/definitions/v1Fee" + "$ref": "#/definitions/tdexv1Fee" } } }, - "v1Preview": { + "tdexv1Preview": { "type": "object", "properties": { "price": { - "$ref": "#/definitions/v1Price" + "$ref": "#/definitions/tdexv1Price" }, "fee": { - "$ref": "#/definitions/v1Fee" + "$ref": "#/definitions/tdexv1Fee" }, "amount": { "type": "string", @@ -392,18 +369,18 @@ "type": "string" }, "balance": { - "$ref": "#/definitions/v1Balance" + "$ref": "#/definitions/tdexv1Balance" } } }, - "v1PreviewTradeRequest": { + "tdexv1PreviewTradeRequest": { "type": "object", "properties": { "market": { - "$ref": "#/definitions/v1Market" + "$ref": "#/definitions/tdexv1Market" }, "type": { - "$ref": "#/definitions/v1TradeType" + "$ref": "#/definitions/tdexv1TradeType" }, "amount": { "type": "string", @@ -414,18 +391,18 @@ } } }, - "v1PreviewTradeResponse": { + "tdexv1PreviewTradeResponse": { "type": "object", "properties": { "previews": { "type": "array", "items": { - "$ref": "#/definitions/v1Preview" + "$ref": "#/definitions/tdexv1Preview" } } } }, - "v1Price": { + "tdexv1Price": { "type": "object", "properties": { "basePrice": { @@ -438,28 +415,28 @@ } } }, - "v1ProposeTradeRequest": { + "tdexv1ProposeTradeRequest": { "type": "object", "properties": { "market": { - "$ref": "#/definitions/v1Market" + "$ref": "#/definitions/tdexv1Market" }, "type": { - "$ref": "#/definitions/v1TradeType" + "$ref": "#/definitions/tdexv1TradeType" }, "swapRequest": { - "$ref": "#/definitions/v1SwapRequest" + "$ref": "#/definitions/tdexv1SwapRequest" } } }, - "v1ProposeTradeResponse": { + "tdexv1ProposeTradeResponse": { "type": "object", "properties": { "swapAccept": { - "$ref": "#/definitions/v1SwapAccept" + "$ref": "#/definitions/tdexv1SwapAccept" }, "swapFail": { - "$ref": "#/definitions/v1SwapFail" + "$ref": "#/definitions/tdexv1SwapFail" }, "expiryTimeUnix": { "type": "string", @@ -467,7 +444,7 @@ } } }, - "v1SwapAccept": { + "tdexv1SwapAccept": { "type": "object", "properties": { "id": { @@ -497,17 +474,10 @@ "format": "byte" }, "description": "In case of a confidential transaction the blinding key of each confidential\noutput is included. Each blinding key is identified by the output script\nhex encoded." - }, - "unblindedInputs": { - "type": "array", - "items": { - "$ref": "#/definitions/v1UnblindedInput" - }, - "description": "In case of psetv2 transaction, the original list of trader's unblinded inputs,\nincluding also those of the inputs added by the provider." } } }, - "v1SwapComplete": { + "tdexv1SwapComplete": { "type": "object", "properties": { "id": { @@ -524,7 +494,7 @@ } } }, - "v1SwapFail": { + "tdexv1SwapFail": { "type": "object", "properties": { "id": { @@ -546,7 +516,7 @@ } } }, - "v1SwapRequest": { + "tdexv1SwapRequest": { "type": "object", "properties": { "id": { @@ -590,17 +560,10 @@ "format": "byte" }, "description": "In case of a confidential psetv0 transaction the blinding key of each\nconfidential output is included. Each blinding key is identified by the\noutput script hex encoded." - }, - "unblindedInputs": { - "type": "array", - "items": { - "$ref": "#/definitions/v1UnblindedInput" - }, - "description": "In case of psetv2 transaction, the list of trader's unblinded inputs data,\neven in case they are unconfidential." } } }, - "v1TradeType": { + "tdexv1TradeType": { "type": "string", "enum": [ "TRADE_TYPE_BUY", @@ -608,28 +571,29 @@ ], "default": "TRADE_TYPE_BUY" }, - "v1UnblindedInput": { + "v1BalanceWithFee": { "type": "object", "properties": { - "index": { - "type": "integer", - "format": "int64" - }, - "asset": { - "type": "string" + "balance": { + "$ref": "#/definitions/tdexv1Balance" }, - "amount": { + "fee": { + "$ref": "#/definitions/tdexv1Fee" + } + } + }, + "v1Fixed": { + "type": "object", + "properties": { + "baseFee": { "type": "string", - "format": "uint64" - }, - "assetBlinder": { - "type": "string" + "format": "int64" }, - "amountBlinder": { - "type": "string" + "quoteFee": { + "type": "string", + "format": "int64" } - }, - "title": "Custom Types" + } } } } diff --git a/api-spec/openapi/swagger/tdex/v1/transport.swagger.json b/api-spec/openapi/swagger/tdex/v1/transport.swagger.json index 1e649f58..7c65425e 100644 --- a/api-spec/openapi/swagger/tdex/v1/transport.swagger.json +++ b/api-spec/openapi/swagger/tdex/v1/transport.swagger.json @@ -23,7 +23,7 @@ "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1SupportedContentTypesResponse" + "$ref": "#/definitions/tdexv1SupportedContentTypesResponse" } }, "default": { @@ -67,7 +67,7 @@ } } }, - "v1ContentType": { + "tdexv1ContentType": { "type": "string", "enum": [ "CONTENT_TYPE_JSON", @@ -77,13 +77,13 @@ ], "default": "CONTENT_TYPE_JSON" }, - "v1SupportedContentTypesResponse": { + "tdexv1SupportedContentTypesResponse": { "type": "object", "properties": { "acceptedTypes": { "type": "array", "items": { - "$ref": "#/definitions/v1ContentType" + "$ref": "#/definitions/tdexv1ContentType" } } } diff --git a/api-spec/openapi/swagger/tdex/v2/swap.swagger.json b/api-spec/openapi/swagger/tdex/v2/swap.swagger.json new file mode 100644 index 00000000..8ad2d81e --- /dev/null +++ b/api-spec/openapi/swagger/tdex/v2/swap.swagger.json @@ -0,0 +1,43 @@ +{ + "swagger": "2.0", + "info": { + "title": "tdex/v2/swap.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string" + } + }, + "additionalProperties": {} + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + } + } +} diff --git a/api-spec/openapi/swagger/tdex/v2/trade.swagger.json b/api-spec/openapi/swagger/tdex/v2/trade.swagger.json new file mode 100644 index 00000000..36b79a9e --- /dev/null +++ b/api-spec/openapi/swagger/tdex/v2/trade.swagger.json @@ -0,0 +1,622 @@ +{ + "swagger": "2.0", + "info": { + "title": "tdex/v2/trade.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TradeService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/v2/market/balance": { + "post": { + "summary": "GetMarketBalance retutns the balance of the two current reserves of the\ngiven market.", + "operationId": "TradeService_GetMarketBalance", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2GetMarketBalanceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tdexv2GetMarketBalanceRequest" + } + } + ], + "tags": [ + "TradeService" + ] + } + }, + "/v2/market/price": { + "post": { + "summary": "GetMarketPrice retutns the spot price for the requested market and its\nminimum tradable amount of base asset.", + "operationId": "TradeService_GetMarketPrice", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2GetMarketPriceResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tdexv2GetMarketPriceRequest" + } + } + ], + "tags": [ + "TradeService" + ] + } + }, + "/v2/markets": { + "post": { + "summary": "ListMarkets lists all the markets open for trading.", + "operationId": "TradeService_ListMarkets", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2ListMarketsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "tags": [ + "TradeService" + ] + } + }, + "/v2/trade/complete": { + "post": { + "summary": "CompleteTrade can be used by the trader to let the daemon finalizing,\nextracting, and broadcasting the swap transaction, once he's signed his\ninputs.\nThis is not mandatory, the trader can do the steps above on his own\nalternatively.", + "operationId": "TradeService_CompleteTrade", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2CompleteTradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tdexv2CompleteTradeRequest" + } + } + ], + "tags": [ + "TradeService" + ] + } + }, + "/v2/trade/preview": { + "post": { + "summary": "PreviewTrade returns a counter amount and asset in response to the\nprovided ones and a trade type for a market.", + "description": "The trade type can assume values BUY or SELL and it always refer to the\nfixed base asset.\nFor example:\n * if trade type is BUY, it means the trader wants to buy base asset funds.\n * if trade type is SELL, it means the trader wants to sell base asset funds.", + "operationId": "TradeService_PreviewTrade", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2PreviewTradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tdexv2PreviewTradeRequest" + } + } + ], + "tags": [ + "TradeService" + ] + } + }, + "/v2/trade/propose": { + "post": { + "summary": "ProposeTrade allows a trader to present a SwapRequest. The service answers\nwith a SwapAccept, filling the request's partial transaction, + an\nexpiration time to complete the swap when accepting the swap, or,\notherwise, with a SwapFail containg the reason for the rejection of the\nproposal.", + "operationId": "TradeService_ProposeTrade", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2ProposeTradeResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/tdexv2ProposeTradeRequest" + } + } + ], + "tags": [ + "TradeService" + ] + } + } + }, + "definitions": { + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string" + } + }, + "additionalProperties": {} + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "tdexv2Balance": { + "type": "object", + "properties": { + "baseAmount": { + "type": "string", + "format": "uint64" + }, + "quoteAmount": { + "type": "string", + "format": "uint64" + } + } + }, + "tdexv2CompleteTradeRequest": { + "type": "object", + "properties": { + "swapComplete": { + "$ref": "#/definitions/tdexv2SwapComplete" + }, + "swapFail": { + "$ref": "#/definitions/tdexv2SwapFail" + } + } + }, + "tdexv2CompleteTradeResponse": { + "type": "object", + "properties": { + "txid": { + "type": "string" + }, + "swapFail": { + "$ref": "#/definitions/tdexv2SwapFail" + } + } + }, + "tdexv2Fee": { + "type": "object", + "properties": { + "percentageFee": { + "$ref": "#/definitions/v2MarketFee", + "description": "Percentage fee on both assets of the market in basis point." + }, + "fixedFee": { + "$ref": "#/definitions/v2MarketFee", + "description": "Fixed fee on both assets of the market in satoshi." + } + } + }, + "tdexv2GetMarketBalanceRequest": { + "type": "object", + "properties": { + "market": { + "$ref": "#/definitions/tdexv2Market" + } + } + }, + "tdexv2GetMarketBalanceResponse": { + "type": "object", + "properties": { + "balance": { + "$ref": "#/definitions/tdexv2Balance" + }, + "fee": { + "$ref": "#/definitions/tdexv2Fee" + } + } + }, + "tdexv2GetMarketPriceRequest": { + "type": "object", + "properties": { + "market": { + "$ref": "#/definitions/tdexv2Market" + } + } + }, + "tdexv2GetMarketPriceResponse": { + "type": "object", + "properties": { + "spotPrice": { + "type": "number", + "format": "double" + }, + "minTradableAmount": { + "type": "string", + "format": "uint64" + } + } + }, + "tdexv2ListMarketsResponse": { + "type": "object", + "properties": { + "markets": { + "type": "array", + "items": { + "$ref": "#/definitions/tdexv2MarketWithFee" + } + } + } + }, + "tdexv2Market": { + "type": "object", + "properties": { + "baseAsset": { + "type": "string" + }, + "quoteAsset": { + "type": "string" + } + } + }, + "tdexv2MarketWithFee": { + "type": "object", + "properties": { + "market": { + "$ref": "#/definitions/tdexv2Market" + }, + "fee": { + "$ref": "#/definitions/tdexv2Fee" + } + } + }, + "tdexv2Preview": { + "type": "object", + "properties": { + "price": { + "$ref": "#/definitions/tdexv2Price", + "description": "The price of the market." + }, + "fee": { + "$ref": "#/definitions/tdexv2Fee", + "description": "The fees of the market." + }, + "amount": { + "type": "string", + "format": "uint64", + "description": "The previewd amount (fees excluded)." + }, + "asset": { + "type": "string", + "description": "The asset of the previewed amount (fees excluded)." + }, + "feeAmount": { + "type": "string", + "format": "uint64", + "title": "The previewed fee amount," + }, + "feeAsset": { + "type": "string", + "title": "The asset of the previewed fee amount," + } + } + }, + "tdexv2PreviewTradeRequest": { + "type": "object", + "properties": { + "market": { + "$ref": "#/definitions/tdexv2Market" + }, + "type": { + "$ref": "#/definitions/tdexv2TradeType" + }, + "amount": { + "type": "string", + "format": "uint64" + }, + "asset": { + "type": "string" + }, + "feeAsset": { + "type": "string" + } + } + }, + "tdexv2PreviewTradeResponse": { + "type": "object", + "properties": { + "previews": { + "type": "array", + "items": { + "$ref": "#/definitions/tdexv2Preview" + } + } + } + }, + "tdexv2Price": { + "type": "object", + "properties": { + "basePrice": { + "type": "number", + "format": "double" + }, + "quotePrice": { + "type": "number", + "format": "double" + } + } + }, + "tdexv2ProposeTradeRequest": { + "type": "object", + "properties": { + "market": { + "$ref": "#/definitions/tdexv2Market" + }, + "type": { + "$ref": "#/definitions/tdexv2TradeType" + }, + "swapRequest": { + "$ref": "#/definitions/tdexv2SwapRequest" + } + } + }, + "tdexv2ProposeTradeResponse": { + "type": "object", + "properties": { + "swapAccept": { + "$ref": "#/definitions/tdexv2SwapAccept" + }, + "swapFail": { + "$ref": "#/definitions/tdexv2SwapFail" + }, + "expiryTimeUnix": { + "type": "string", + "format": "uint64" + } + } + }, + "tdexv2SwapAccept": { + "type": "object", + "properties": { + "id": { + "type": "string", + "title": "Random unique identifier for the current message" + }, + "requestId": { + "type": "string", + "title": "indetifier of the SwapRequest message" + }, + "transaction": { + "type": "string", + "title": "The partial signed transaction base64 encoded containing the Responder's\nsigned inputs in a PSBT format" + }, + "unblindedInputs": { + "type": "array", + "items": { + "$ref": "#/definitions/v2UnblindedInput" + }, + "description": "In case of psetv2 transaction, the original list of trader's unblinded inputs,\nincluding also those of the inputs added by the provider." + } + } + }, + "tdexv2SwapComplete": { + "type": "object", + "properties": { + "id": { + "type": "string", + "title": "Random unique identifier for the current message" + }, + "acceptId": { + "type": "string", + "title": "indetifier of the SwapAccept message" + }, + "transaction": { + "type": "string", + "title": "The signed transaction base64 encoded containing the Proposers's signed\ninputs in a PSBT format" + } + } + }, + "tdexv2SwapFail": { + "type": "object", + "properties": { + "id": { + "type": "string", + "title": "Random unique identifier for the current message" + }, + "messageId": { + "type": "string", + "title": "indetifier of either SwapRequest or SwapAccept message. It can be empty" + }, + "failureCode": { + "type": "integer", + "format": "int64", + "title": "The failure code. It can be empty" + }, + "failureMessage": { + "type": "string", + "title": "The failure reason messaged" + } + } + }, + "tdexv2SwapRequest": { + "type": "object", + "properties": { + "id": { + "type": "string", + "title": "Random unique identifier for the current message" + }, + "amountP": { + "type": "string", + "format": "uint64", + "title": "The proposer's quantity" + }, + "assetP": { + "type": "string", + "title": "The proposer's asset hash" + }, + "amountR": { + "type": "string", + "format": "uint64", + "title": "The responder's quantity" + }, + "assetR": { + "type": "string", + "title": "The responder's asset hash" + }, + "transaction": { + "type": "string", + "title": "The proposer's unsigned transaction in PSET v2 format (base64 string)" + }, + "feeAmount": { + "type": "string", + "format": "uint64", + "description": "The fee amount charged to the proposer by the provider." + }, + "feeAsset": { + "type": "string", + "description": "The asset hash of the fee charged to the proposer." + }, + "unblindedInputs": { + "type": "array", + "items": { + "$ref": "#/definitions/v2UnblindedInput" + }, + "description": "The list of trader's unblinded inputs data, even in case they are\nunconfidential." + } + } + }, + "tdexv2TradeType": { + "type": "string", + "enum": [ + "TRADE_TYPE_BUY", + "TRADE_TYPE_SELL" + ], + "default": "TRADE_TYPE_BUY" + }, + "v2MarketFee": { + "type": "object", + "properties": { + "baseAsset": { + "type": "string", + "format": "int64" + }, + "quoteAsset": { + "type": "string", + "format": "int64" + } + } + }, + "v2UnblindedInput": { + "type": "object", + "properties": { + "index": { + "type": "integer", + "format": "int64", + "description": "Index of the transaction input of reference." + }, + "asset": { + "type": "string", + "description": "Unblinded asset." + }, + "amount": { + "type": "string", + "format": "uint64", + "description": "Unblinded amount." + }, + "assetBlinder": { + "type": "string", + "description": "Asset blinider when blinding the prevout." + }, + "amountBlinder": { + "type": "string", + "description": "Amount blinider used when blinding the prevout." + } + } + } + } +} diff --git a/api-spec/openapi/swagger/tdex/v2/transport.swagger.json b/api-spec/openapi/swagger/tdex/v2/transport.swagger.json new file mode 100644 index 00000000..244a21de --- /dev/null +++ b/api-spec/openapi/swagger/tdex/v2/transport.swagger.json @@ -0,0 +1,92 @@ +{ + "swagger": "2.0", + "info": { + "title": "tdex/v2/transport.proto", + "version": "version not set" + }, + "tags": [ + { + "name": "TransportService" + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/v2/transport": { + "get": { + "operationId": "TransportService_SupportedContentTypes", + "responses": { + "200": { + "description": "A successful response.", + "schema": { + "$ref": "#/definitions/tdexv2SupportedContentTypesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/rpcStatus" + } + } + }, + "tags": [ + "TransportService" + ] + } + } + }, + "definitions": { + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string" + } + }, + "additionalProperties": {} + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + }, + "tdexv2ContentType": { + "type": "string", + "enum": [ + "CONTENT_TYPE_JSON", + "CONTENT_TYPE_GRPC", + "CONTENT_TYPE_GRPCWEB", + "CONTENT_TYPE_GRPCWEBTEXT" + ], + "default": "CONTENT_TYPE_JSON" + }, + "tdexv2SupportedContentTypesResponse": { + "type": "object", + "properties": { + "acceptedTypes": { + "type": "array", + "items": { + "$ref": "#/definitions/tdexv2ContentType" + } + } + } + } + } +} diff --git a/api-spec/openapi/swagger/tdex/v2/types.swagger.json b/api-spec/openapi/swagger/tdex/v2/types.swagger.json new file mode 100644 index 00000000..5c707b8d --- /dev/null +++ b/api-spec/openapi/swagger/tdex/v2/types.swagger.json @@ -0,0 +1,43 @@ +{ + "swagger": "2.0", + "info": { + "title": "tdex/v2/types.proto", + "version": "version not set" + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": {}, + "definitions": { + "protobufAny": { + "type": "object", + "properties": { + "@type": { + "type": "string" + } + }, + "additionalProperties": {} + }, + "rpcStatus": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/protobufAny" + } + } + } + } + } +} diff --git a/api-spec/protobuf/buf.lock b/api-spec/protobuf/buf.lock index 7028df6c..d1134c23 100644 --- a/api-spec/protobuf/buf.lock +++ b/api-spec/protobuf/buf.lock @@ -8,4 +8,4 @@ deps: - remote: buf.build owner: tdex-network repository: tdex-protobuf - commit: 85cac380cf36478e875981ca9dfc07f7 + commit: cd58688e183d48f4a3eda2c236f9a07c diff --git a/api-spec/protobuf/gen/tdex-daemon/v1/operator.pb.go b/api-spec/protobuf/gen/tdex-daemon/v1/operator.pb.go index d11aadaa..709fab73 100644 --- a/api-spec/protobuf/gen/tdex-daemon/v1/operator.pb.go +++ b/api-spec/protobuf/gen/tdex-daemon/v1/operator.pb.go @@ -21,6 +21,91 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +type ListProtoServicesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ListProtoServicesRequest) Reset() { + *x = ListProtoServicesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListProtoServicesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListProtoServicesRequest) ProtoMessage() {} + +func (x *ListProtoServicesRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListProtoServicesRequest.ProtoReflect.Descriptor instead. +func (*ListProtoServicesRequest) Descriptor() ([]byte, []int) { + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{0} +} + +type ListProtoServicesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` +} + +func (x *ListProtoServicesResponse) Reset() { + *x = ListProtoServicesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListProtoServicesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListProtoServicesResponse) ProtoMessage() {} + +func (x *ListProtoServicesResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListProtoServicesResponse.ProtoReflect.Descriptor instead. +func (*ListProtoServicesResponse) Descriptor() ([]byte, []int) { + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{1} +} + +func (x *ListProtoServicesResponse) GetServices() []string { + if x != nil { + return x.Services + } + return nil +} + type GetInfoRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -30,7 +115,7 @@ type GetInfoRequest struct { func (x *GetInfoRequest) Reset() { *x = GetInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[0] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -43,7 +128,7 @@ func (x *GetInfoRequest) String() string { func (*GetInfoRequest) ProtoMessage() {} func (x *GetInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[0] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -56,7 +141,7 @@ func (x *GetInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead. func (*GetInfoRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{0} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{2} } type GetInfoResponse struct { @@ -83,7 +168,7 @@ type GetInfoResponse struct { func (x *GetInfoResponse) Reset() { *x = GetInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[1] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -96,7 +181,7 @@ func (x *GetInfoResponse) String() string { func (*GetInfoResponse) ProtoMessage() {} func (x *GetInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[1] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -109,7 +194,7 @@ func (x *GetInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead. func (*GetInfoResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{1} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{3} } func (x *GetInfoResponse) GetRootPath() string { @@ -177,7 +262,7 @@ type BuildInfo struct { func (x *BuildInfo) Reset() { *x = BuildInfo{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[2] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -190,7 +275,7 @@ func (x *BuildInfo) String() string { func (*BuildInfo) ProtoMessage() {} func (x *BuildInfo) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[2] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -203,7 +288,7 @@ func (x *BuildInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead. func (*BuildInfo) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{2} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{4} } func (x *BuildInfo) GetVersion() string { @@ -239,7 +324,7 @@ type GetFeeAddressRequest struct { func (x *GetFeeAddressRequest) Reset() { *x = GetFeeAddressRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[3] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -252,7 +337,7 @@ func (x *GetFeeAddressRequest) String() string { func (*GetFeeAddressRequest) ProtoMessage() {} func (x *GetFeeAddressRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[3] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -265,7 +350,7 @@ func (x *GetFeeAddressRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeAddressRequest.ProtoReflect.Descriptor instead. func (*GetFeeAddressRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{3} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{5} } func (x *GetFeeAddressRequest) GetNumOfAddresses() int64 { @@ -287,7 +372,7 @@ type GetFeeAddressResponse struct { func (x *GetFeeAddressResponse) Reset() { *x = GetFeeAddressResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[4] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -300,7 +385,7 @@ func (x *GetFeeAddressResponse) String() string { func (*GetFeeAddressResponse) ProtoMessage() {} func (x *GetFeeAddressResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[4] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -313,7 +398,7 @@ func (x *GetFeeAddressResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeAddressResponse.ProtoReflect.Descriptor instead. func (*GetFeeAddressResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{4} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{6} } func (x *GetFeeAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -332,7 +417,7 @@ type ListFeeAddressesRequest struct { func (x *ListFeeAddressesRequest) Reset() { *x = ListFeeAddressesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[5] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -345,7 +430,7 @@ func (x *ListFeeAddressesRequest) String() string { func (*ListFeeAddressesRequest) ProtoMessage() {} func (x *ListFeeAddressesRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[5] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -358,7 +443,7 @@ func (x *ListFeeAddressesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFeeAddressesRequest.ProtoReflect.Descriptor instead. func (*ListFeeAddressesRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{5} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{7} } type ListFeeAddressesResponse struct { @@ -374,7 +459,7 @@ type ListFeeAddressesResponse struct { func (x *ListFeeAddressesResponse) Reset() { *x = ListFeeAddressesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[6] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -387,7 +472,7 @@ func (x *ListFeeAddressesResponse) String() string { func (*ListFeeAddressesResponse) ProtoMessage() {} func (x *ListFeeAddressesResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[6] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -400,7 +485,7 @@ func (x *ListFeeAddressesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListFeeAddressesResponse.ProtoReflect.Descriptor instead. func (*ListFeeAddressesResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{6} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{8} } func (x *ListFeeAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -419,7 +504,7 @@ type GetFeeBalanceRequest struct { func (x *GetFeeBalanceRequest) Reset() { *x = GetFeeBalanceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[7] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -432,7 +517,7 @@ func (x *GetFeeBalanceRequest) String() string { func (*GetFeeBalanceRequest) ProtoMessage() {} func (x *GetFeeBalanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[7] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -445,7 +530,7 @@ func (x *GetFeeBalanceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeBalanceRequest.ProtoReflect.Descriptor instead. func (*GetFeeBalanceRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{7} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{9} } type GetFeeBalanceResponse struct { @@ -462,7 +547,7 @@ type GetFeeBalanceResponse struct { func (x *GetFeeBalanceResponse) Reset() { *x = GetFeeBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[8] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -475,7 +560,7 @@ func (x *GetFeeBalanceResponse) String() string { func (*GetFeeBalanceResponse) ProtoMessage() {} func (x *GetFeeBalanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[8] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -488,7 +573,7 @@ func (x *GetFeeBalanceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeBalanceResponse.ProtoReflect.Descriptor instead. func (*GetFeeBalanceResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{8} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{10} } func (x *GetFeeBalanceResponse) GetAvailableBalance() uint64 { @@ -518,7 +603,7 @@ type ClaimFeeDepositsRequest struct { func (x *ClaimFeeDepositsRequest) Reset() { *x = ClaimFeeDepositsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[9] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -531,7 +616,7 @@ func (x *ClaimFeeDepositsRequest) String() string { func (*ClaimFeeDepositsRequest) ProtoMessage() {} func (x *ClaimFeeDepositsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[9] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -544,7 +629,7 @@ func (x *ClaimFeeDepositsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimFeeDepositsRequest.ProtoReflect.Descriptor instead. func (*ClaimFeeDepositsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{9} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{11} } func (x *ClaimFeeDepositsRequest) GetOutpoints() []*Outpoint { @@ -563,7 +648,7 @@ type ClaimFeeDepositsResponse struct { func (x *ClaimFeeDepositsResponse) Reset() { *x = ClaimFeeDepositsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[10] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -576,7 +661,7 @@ func (x *ClaimFeeDepositsResponse) String() string { func (*ClaimFeeDepositsResponse) ProtoMessage() {} func (x *ClaimFeeDepositsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[10] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -589,7 +674,7 @@ func (x *ClaimFeeDepositsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimFeeDepositsResponse.ProtoReflect.Descriptor instead. func (*ClaimFeeDepositsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{10} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{12} } type WithdrawFeeRequest struct { @@ -614,7 +699,7 @@ type WithdrawFeeRequest struct { func (x *WithdrawFeeRequest) Reset() { *x = WithdrawFeeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[11] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -627,7 +712,7 @@ func (x *WithdrawFeeRequest) String() string { func (*WithdrawFeeRequest) ProtoMessage() {} func (x *WithdrawFeeRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[11] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -640,7 +725,7 @@ func (x *WithdrawFeeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawFeeRequest.ProtoReflect.Descriptor instead. func (*WithdrawFeeRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{11} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{13} } func (x *WithdrawFeeRequest) GetAmount() uint64 { @@ -690,7 +775,7 @@ type WithdrawFeeResponse struct { func (x *WithdrawFeeResponse) Reset() { *x = WithdrawFeeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[12] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -703,7 +788,7 @@ func (x *WithdrawFeeResponse) String() string { func (*WithdrawFeeResponse) ProtoMessage() {} func (x *WithdrawFeeResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[12] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -716,7 +801,7 @@ func (x *WithdrawFeeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawFeeResponse.ProtoReflect.Descriptor instead. func (*WithdrawFeeResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{12} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{14} } func (x *WithdrawFeeResponse) GetTxid() string { @@ -742,7 +827,7 @@ type NewMarketRequest struct { func (x *NewMarketRequest) Reset() { *x = NewMarketRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[13] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -755,7 +840,7 @@ func (x *NewMarketRequest) String() string { func (*NewMarketRequest) ProtoMessage() {} func (x *NewMarketRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[13] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -768,7 +853,7 @@ func (x *NewMarketRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use NewMarketRequest.ProtoReflect.Descriptor instead. func (*NewMarketRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{13} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{15} } func (x *NewMarketRequest) GetMarket() *v1.Market { @@ -801,7 +886,7 @@ type NewMarketResponse struct { func (x *NewMarketResponse) Reset() { *x = NewMarketResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[14] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -814,7 +899,7 @@ func (x *NewMarketResponse) String() string { func (*NewMarketResponse) ProtoMessage() {} func (x *NewMarketResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[14] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -827,7 +912,7 @@ func (x *NewMarketResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use NewMarketResponse.ProtoReflect.Descriptor instead. func (*NewMarketResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{14} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{16} } type GetMarketInfoRequest struct { @@ -841,7 +926,7 @@ type GetMarketInfoRequest struct { func (x *GetMarketInfoRequest) Reset() { *x = GetMarketInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[15] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -854,7 +939,7 @@ func (x *GetMarketInfoRequest) String() string { func (*GetMarketInfoRequest) ProtoMessage() {} func (x *GetMarketInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[15] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -867,7 +952,7 @@ func (x *GetMarketInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketInfoRequest.ProtoReflect.Descriptor instead. func (*GetMarketInfoRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{15} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{17} } func (x *GetMarketInfoRequest) GetMarket() *v1.Market { @@ -888,7 +973,7 @@ type GetMarketInfoResponse struct { func (x *GetMarketInfoResponse) Reset() { *x = GetMarketInfoResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[16] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -901,7 +986,7 @@ func (x *GetMarketInfoResponse) String() string { func (*GetMarketInfoResponse) ProtoMessage() {} func (x *GetMarketInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[16] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -914,7 +999,7 @@ func (x *GetMarketInfoResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketInfoResponse.ProtoReflect.Descriptor instead. func (*GetMarketInfoResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{16} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{18} } func (x *GetMarketInfoResponse) GetInfo() *MarketInfo { @@ -938,7 +1023,7 @@ type GetMarketAddressRequest struct { func (x *GetMarketAddressRequest) Reset() { *x = GetMarketAddressRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[17] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -951,7 +1036,7 @@ func (x *GetMarketAddressRequest) String() string { func (*GetMarketAddressRequest) ProtoMessage() {} func (x *GetMarketAddressRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[17] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -964,7 +1049,7 @@ func (x *GetMarketAddressRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketAddressRequest.ProtoReflect.Descriptor instead. func (*GetMarketAddressRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{17} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{19} } func (x *GetMarketAddressRequest) GetMarket() *v1.Market { @@ -993,7 +1078,7 @@ type GetMarketAddressResponse struct { func (x *GetMarketAddressResponse) Reset() { *x = GetMarketAddressResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[18] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1006,7 +1091,7 @@ func (x *GetMarketAddressResponse) String() string { func (*GetMarketAddressResponse) ProtoMessage() {} func (x *GetMarketAddressResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[18] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1019,7 +1104,7 @@ func (x *GetMarketAddressResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketAddressResponse.ProtoReflect.Descriptor instead. func (*GetMarketAddressResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{18} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{20} } func (x *GetMarketAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -1041,7 +1126,7 @@ type ListMarketAddressesRequest struct { func (x *ListMarketAddressesRequest) Reset() { *x = ListMarketAddressesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[19] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1054,7 +1139,7 @@ func (x *ListMarketAddressesRequest) String() string { func (*ListMarketAddressesRequest) ProtoMessage() {} func (x *ListMarketAddressesRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[19] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1067,7 +1152,7 @@ func (x *ListMarketAddressesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMarketAddressesRequest.ProtoReflect.Descriptor instead. func (*ListMarketAddressesRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{19} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{21} } func (x *ListMarketAddressesRequest) GetMarket() *v1.Market { @@ -1090,7 +1175,7 @@ type ListMarketAddressesResponse struct { func (x *ListMarketAddressesResponse) Reset() { *x = ListMarketAddressesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[20] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1103,7 +1188,7 @@ func (x *ListMarketAddressesResponse) String() string { func (*ListMarketAddressesResponse) ProtoMessage() {} func (x *ListMarketAddressesResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[20] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1116,7 +1201,7 @@ func (x *ListMarketAddressesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMarketAddressesResponse.ProtoReflect.Descriptor instead. func (*ListMarketAddressesResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{20} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{22} } func (x *ListMarketAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -1138,7 +1223,7 @@ type GetMarketBalanceRequest struct { func (x *GetMarketBalanceRequest) Reset() { *x = GetMarketBalanceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[21] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1151,7 +1236,7 @@ func (x *GetMarketBalanceRequest) String() string { func (*GetMarketBalanceRequest) ProtoMessage() {} func (x *GetMarketBalanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[21] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1164,7 +1249,7 @@ func (x *GetMarketBalanceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketBalanceRequest.ProtoReflect.Descriptor instead. func (*GetMarketBalanceRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{21} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{23} } func (x *GetMarketBalanceRequest) GetMarket() *v1.Market { @@ -1188,7 +1273,7 @@ type GetMarketBalanceResponse struct { func (x *GetMarketBalanceResponse) Reset() { *x = GetMarketBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[22] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1201,7 +1286,7 @@ func (x *GetMarketBalanceResponse) String() string { func (*GetMarketBalanceResponse) ProtoMessage() {} func (x *GetMarketBalanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[22] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1214,7 +1299,7 @@ func (x *GetMarketBalanceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketBalanceResponse.ProtoReflect.Descriptor instead. func (*GetMarketBalanceResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{22} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{24} } func (x *GetMarketBalanceResponse) GetAvailableBalance() *v1.Balance { @@ -1246,7 +1331,7 @@ type ClaimMarketDepositsRequest struct { func (x *ClaimMarketDepositsRequest) Reset() { *x = ClaimMarketDepositsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[23] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1259,7 +1344,7 @@ func (x *ClaimMarketDepositsRequest) String() string { func (*ClaimMarketDepositsRequest) ProtoMessage() {} func (x *ClaimMarketDepositsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[23] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1272,7 +1357,7 @@ func (x *ClaimMarketDepositsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimMarketDepositsRequest.ProtoReflect.Descriptor instead. func (*ClaimMarketDepositsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{23} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{25} } func (x *ClaimMarketDepositsRequest) GetMarket() *v1.Market { @@ -1298,7 +1383,7 @@ type ClaimMarketDepositsResponse struct { func (x *ClaimMarketDepositsResponse) Reset() { *x = ClaimMarketDepositsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[24] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1311,7 +1396,7 @@ func (x *ClaimMarketDepositsResponse) String() string { func (*ClaimMarketDepositsResponse) ProtoMessage() {} func (x *ClaimMarketDepositsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[24] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1324,7 +1409,7 @@ func (x *ClaimMarketDepositsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ClaimMarketDepositsResponse.ProtoReflect.Descriptor instead. func (*ClaimMarketDepositsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{24} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{26} } type OpenMarketRequest struct { @@ -1339,7 +1424,7 @@ type OpenMarketRequest struct { func (x *OpenMarketRequest) Reset() { *x = OpenMarketRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[25] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1352,7 +1437,7 @@ func (x *OpenMarketRequest) String() string { func (*OpenMarketRequest) ProtoMessage() {} func (x *OpenMarketRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[25] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1365,7 +1450,7 @@ func (x *OpenMarketRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenMarketRequest.ProtoReflect.Descriptor instead. func (*OpenMarketRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{25} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{27} } func (x *OpenMarketRequest) GetMarket() *v1.Market { @@ -1384,7 +1469,7 @@ type OpenMarketResponse struct { func (x *OpenMarketResponse) Reset() { *x = OpenMarketResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[26] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1397,7 +1482,7 @@ func (x *OpenMarketResponse) String() string { func (*OpenMarketResponse) ProtoMessage() {} func (x *OpenMarketResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[26] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1410,7 +1495,7 @@ func (x *OpenMarketResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use OpenMarketResponse.ProtoReflect.Descriptor instead. func (*OpenMarketResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{26} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{28} } type CloseMarketRequest struct { @@ -1425,7 +1510,7 @@ type CloseMarketRequest struct { func (x *CloseMarketRequest) Reset() { *x = CloseMarketRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[27] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1438,7 +1523,7 @@ func (x *CloseMarketRequest) String() string { func (*CloseMarketRequest) ProtoMessage() {} func (x *CloseMarketRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[27] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1451,7 +1536,7 @@ func (x *CloseMarketRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CloseMarketRequest.ProtoReflect.Descriptor instead. func (*CloseMarketRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{27} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{29} } func (x *CloseMarketRequest) GetMarket() *v1.Market { @@ -1470,7 +1555,7 @@ type CloseMarketResponse struct { func (x *CloseMarketResponse) Reset() { *x = CloseMarketResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[28] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1483,7 +1568,7 @@ func (x *CloseMarketResponse) String() string { func (*CloseMarketResponse) ProtoMessage() {} func (x *CloseMarketResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[28] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1496,7 +1581,7 @@ func (x *CloseMarketResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use CloseMarketResponse.ProtoReflect.Descriptor instead. func (*CloseMarketResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{28} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{30} } type ListMarketsRequest struct { @@ -1508,7 +1593,7 @@ type ListMarketsRequest struct { func (x *ListMarketsRequest) Reset() { *x = ListMarketsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[29] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1521,7 +1606,7 @@ func (x *ListMarketsRequest) String() string { func (*ListMarketsRequest) ProtoMessage() {} func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[29] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1534,7 +1619,7 @@ func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead. func (*ListMarketsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{29} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{31} } type ListMarketsResponse struct { @@ -1549,7 +1634,7 @@ type ListMarketsResponse struct { func (x *ListMarketsResponse) Reset() { *x = ListMarketsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[30] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1562,7 +1647,7 @@ func (x *ListMarketsResponse) String() string { func (*ListMarketsResponse) ProtoMessage() {} func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[30] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1575,7 +1660,7 @@ func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListMarketsResponse.ProtoReflect.Descriptor instead. func (*ListMarketsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{30} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{32} } func (x *ListMarketsResponse) GetMarkets() []*MarketInfo { @@ -1596,7 +1681,7 @@ type DropMarketRequest struct { func (x *DropMarketRequest) Reset() { *x = DropMarketRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[31] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1609,7 +1694,7 @@ func (x *DropMarketRequest) String() string { func (*DropMarketRequest) ProtoMessage() {} func (x *DropMarketRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[31] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1622,7 +1707,7 @@ func (x *DropMarketRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DropMarketRequest.ProtoReflect.Descriptor instead. func (*DropMarketRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{31} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{33} } func (x *DropMarketRequest) GetMarket() *v1.Market { @@ -1641,7 +1726,7 @@ type DropMarketResponse struct { func (x *DropMarketResponse) Reset() { *x = DropMarketResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[32] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1654,7 +1739,7 @@ func (x *DropMarketResponse) String() string { func (*DropMarketResponse) ProtoMessage() {} func (x *DropMarketResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[32] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1667,7 +1752,7 @@ func (x *DropMarketResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DropMarketResponse.ProtoReflect.Descriptor instead. func (*DropMarketResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{32} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{34} } type GetMarketCollectedSwapFeesRequest struct { @@ -1684,7 +1769,7 @@ type GetMarketCollectedSwapFeesRequest struct { func (x *GetMarketCollectedSwapFeesRequest) Reset() { *x = GetMarketCollectedSwapFeesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[33] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1697,7 +1782,7 @@ func (x *GetMarketCollectedSwapFeesRequest) String() string { func (*GetMarketCollectedSwapFeesRequest) ProtoMessage() {} func (x *GetMarketCollectedSwapFeesRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[33] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1710,7 +1795,7 @@ func (x *GetMarketCollectedSwapFeesRequest) ProtoReflect() protoreflect.Message // Deprecated: Use GetMarketCollectedSwapFeesRequest.ProtoReflect.Descriptor instead. func (*GetMarketCollectedSwapFeesRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{33} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{35} } func (x *GetMarketCollectedSwapFeesRequest) GetMarket() *v1.Market { @@ -1741,7 +1826,7 @@ type GetMarketCollectedSwapFeesResponse struct { func (x *GetMarketCollectedSwapFeesResponse) Reset() { *x = GetMarketCollectedSwapFeesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[34] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1754,7 +1839,7 @@ func (x *GetMarketCollectedSwapFeesResponse) String() string { func (*GetMarketCollectedSwapFeesResponse) ProtoMessage() {} func (x *GetMarketCollectedSwapFeesResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[34] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1767,7 +1852,7 @@ func (x *GetMarketCollectedSwapFeesResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetMarketCollectedSwapFeesResponse.ProtoReflect.Descriptor instead. func (*GetMarketCollectedSwapFeesResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{34} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{36} } func (x *GetMarketCollectedSwapFeesResponse) GetCollectedFees() []*FeeInfo { @@ -1804,7 +1889,7 @@ type WithdrawMarketRequest struct { func (x *WithdrawMarketRequest) Reset() { *x = WithdrawMarketRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[35] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1817,7 +1902,7 @@ func (x *WithdrawMarketRequest) String() string { func (*WithdrawMarketRequest) ProtoMessage() {} func (x *WithdrawMarketRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[35] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1830,7 +1915,7 @@ func (x *WithdrawMarketRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawMarketRequest.ProtoReflect.Descriptor instead. func (*WithdrawMarketRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{35} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{37} } func (x *WithdrawMarketRequest) GetMarket() *v1.Market { @@ -1880,7 +1965,7 @@ type WithdrawMarketResponse struct { func (x *WithdrawMarketResponse) Reset() { *x = WithdrawMarketResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[36] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1893,7 +1978,7 @@ func (x *WithdrawMarketResponse) String() string { func (*WithdrawMarketResponse) ProtoMessage() {} func (x *WithdrawMarketResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[36] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1906,7 +1991,7 @@ func (x *WithdrawMarketResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawMarketResponse.ProtoReflect.Descriptor instead. func (*WithdrawMarketResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{36} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{38} } func (x *WithdrawMarketResponse) GetTxid() string { @@ -1930,7 +2015,7 @@ type UpdateMarketPercentageFeeRequest struct { func (x *UpdateMarketPercentageFeeRequest) Reset() { *x = UpdateMarketPercentageFeeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[37] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1943,7 +2028,7 @@ func (x *UpdateMarketPercentageFeeRequest) String() string { func (*UpdateMarketPercentageFeeRequest) ProtoMessage() {} func (x *UpdateMarketPercentageFeeRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[37] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1956,7 +2041,7 @@ func (x *UpdateMarketPercentageFeeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketPercentageFeeRequest.ProtoReflect.Descriptor instead. func (*UpdateMarketPercentageFeeRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{37} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{39} } func (x *UpdateMarketPercentageFeeRequest) GetMarket() *v1.Market { @@ -1985,7 +2070,7 @@ type UpdateMarketPercentageFeeResponse struct { func (x *UpdateMarketPercentageFeeResponse) Reset() { *x = UpdateMarketPercentageFeeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[38] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1998,7 +2083,7 @@ func (x *UpdateMarketPercentageFeeResponse) String() string { func (*UpdateMarketPercentageFeeResponse) ProtoMessage() {} func (x *UpdateMarketPercentageFeeResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[38] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2011,7 +2096,7 @@ func (x *UpdateMarketPercentageFeeResponse) ProtoReflect() protoreflect.Message // Deprecated: Use UpdateMarketPercentageFeeResponse.ProtoReflect.Descriptor instead. func (*UpdateMarketPercentageFeeResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{38} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{40} } func (x *UpdateMarketPercentageFeeResponse) GetMarketWithFee() *v1.MarketWithFee { @@ -2035,7 +2120,7 @@ type UpdateMarketFixedFeeRequest struct { func (x *UpdateMarketFixedFeeRequest) Reset() { *x = UpdateMarketFixedFeeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[39] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2048,7 +2133,7 @@ func (x *UpdateMarketFixedFeeRequest) String() string { func (*UpdateMarketFixedFeeRequest) ProtoMessage() {} func (x *UpdateMarketFixedFeeRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[39] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2061,7 +2146,7 @@ func (x *UpdateMarketFixedFeeRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketFixedFeeRequest.ProtoReflect.Descriptor instead. func (*UpdateMarketFixedFeeRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{39} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{41} } func (x *UpdateMarketFixedFeeRequest) GetMarket() *v1.Market { @@ -2090,7 +2175,7 @@ type UpdateMarketFixedFeeResponse struct { func (x *UpdateMarketFixedFeeResponse) Reset() { *x = UpdateMarketFixedFeeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[40] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2103,7 +2188,7 @@ func (x *UpdateMarketFixedFeeResponse) String() string { func (*UpdateMarketFixedFeeResponse) ProtoMessage() {} func (x *UpdateMarketFixedFeeResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[40] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2116,7 +2201,7 @@ func (x *UpdateMarketFixedFeeResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketFixedFeeResponse.ProtoReflect.Descriptor instead. func (*UpdateMarketFixedFeeResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{40} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{42} } func (x *UpdateMarketFixedFeeResponse) GetMarketWithFee() *v1.MarketWithFee { @@ -2142,7 +2227,7 @@ type UpdateMarketAssetsPrecisionRequest struct { func (x *UpdateMarketAssetsPrecisionRequest) Reset() { *x = UpdateMarketAssetsPrecisionRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[41] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2155,7 +2240,7 @@ func (x *UpdateMarketAssetsPrecisionRequest) String() string { func (*UpdateMarketAssetsPrecisionRequest) ProtoMessage() {} func (x *UpdateMarketAssetsPrecisionRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[41] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2168,7 +2253,7 @@ func (x *UpdateMarketAssetsPrecisionRequest) ProtoReflect() protoreflect.Message // Deprecated: Use UpdateMarketAssetsPrecisionRequest.ProtoReflect.Descriptor instead. func (*UpdateMarketAssetsPrecisionRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{41} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{43} } func (x *UpdateMarketAssetsPrecisionRequest) GetMarket() *v1.Market { @@ -2201,7 +2286,7 @@ type UpdateMarketAssetsPrecisionResponse struct { func (x *UpdateMarketAssetsPrecisionResponse) Reset() { *x = UpdateMarketAssetsPrecisionResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[42] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2214,7 +2299,7 @@ func (x *UpdateMarketAssetsPrecisionResponse) String() string { func (*UpdateMarketAssetsPrecisionResponse) ProtoMessage() {} func (x *UpdateMarketAssetsPrecisionResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[42] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2227,7 +2312,7 @@ func (x *UpdateMarketAssetsPrecisionResponse) ProtoReflect() protoreflect.Messag // Deprecated: Use UpdateMarketAssetsPrecisionResponse.ProtoReflect.Descriptor instead. func (*UpdateMarketAssetsPrecisionResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{42} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{44} } type UpdateMarketPriceRequest struct { @@ -2244,7 +2329,7 @@ type UpdateMarketPriceRequest struct { func (x *UpdateMarketPriceRequest) Reset() { *x = UpdateMarketPriceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[43] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2257,7 +2342,7 @@ func (x *UpdateMarketPriceRequest) String() string { func (*UpdateMarketPriceRequest) ProtoMessage() {} func (x *UpdateMarketPriceRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[43] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2270,7 +2355,7 @@ func (x *UpdateMarketPriceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketPriceRequest.ProtoReflect.Descriptor instead. func (*UpdateMarketPriceRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{43} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{45} } func (x *UpdateMarketPriceRequest) GetMarket() *v1.Market { @@ -2296,7 +2381,7 @@ type UpdateMarketPriceResponse struct { func (x *UpdateMarketPriceResponse) Reset() { *x = UpdateMarketPriceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[44] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2309,7 +2394,7 @@ func (x *UpdateMarketPriceResponse) String() string { func (*UpdateMarketPriceResponse) ProtoMessage() {} func (x *UpdateMarketPriceResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[44] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2322,7 +2407,7 @@ func (x *UpdateMarketPriceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketPriceResponse.ProtoReflect.Descriptor instead. func (*UpdateMarketPriceResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{44} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{46} } type UpdateMarketStrategyRequest struct { @@ -2341,7 +2426,7 @@ type UpdateMarketStrategyRequest struct { func (x *UpdateMarketStrategyRequest) Reset() { *x = UpdateMarketStrategyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[45] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2354,7 +2439,7 @@ func (x *UpdateMarketStrategyRequest) String() string { func (*UpdateMarketStrategyRequest) ProtoMessage() {} func (x *UpdateMarketStrategyRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[45] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2367,7 +2452,7 @@ func (x *UpdateMarketStrategyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketStrategyRequest.ProtoReflect.Descriptor instead. func (*UpdateMarketStrategyRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{45} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{47} } func (x *UpdateMarketStrategyRequest) GetMarket() *v1.Market { @@ -2400,7 +2485,7 @@ type UpdateMarketStrategyResponse struct { func (x *UpdateMarketStrategyResponse) Reset() { *x = UpdateMarketStrategyResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[46] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2413,7 +2498,7 @@ func (x *UpdateMarketStrategyResponse) String() string { func (*UpdateMarketStrategyResponse) ProtoMessage() {} func (x *UpdateMarketStrategyResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[46] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2426,7 +2511,7 @@ func (x *UpdateMarketStrategyResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateMarketStrategyResponse.ProtoReflect.Descriptor instead. func (*UpdateMarketStrategyResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{46} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{48} } type GetFeeFragmenterAddressRequest struct { @@ -2440,7 +2525,7 @@ type GetFeeFragmenterAddressRequest struct { func (x *GetFeeFragmenterAddressRequest) Reset() { *x = GetFeeFragmenterAddressRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[47] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2453,7 +2538,7 @@ func (x *GetFeeFragmenterAddressRequest) String() string { func (*GetFeeFragmenterAddressRequest) ProtoMessage() {} func (x *GetFeeFragmenterAddressRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[47] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2466,7 +2551,7 @@ func (x *GetFeeFragmenterAddressRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeFragmenterAddressRequest.ProtoReflect.Descriptor instead. func (*GetFeeFragmenterAddressRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{47} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{49} } func (x *GetFeeFragmenterAddressRequest) GetNumOfAddresses() int64 { @@ -2487,7 +2572,7 @@ type GetFeeFragmenterAddressResponse struct { func (x *GetFeeFragmenterAddressResponse) Reset() { *x = GetFeeFragmenterAddressResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[48] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2500,7 +2585,7 @@ func (x *GetFeeFragmenterAddressResponse) String() string { func (*GetFeeFragmenterAddressResponse) ProtoMessage() {} func (x *GetFeeFragmenterAddressResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[48] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2513,7 +2598,7 @@ func (x *GetFeeFragmenterAddressResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeFragmenterAddressResponse.ProtoReflect.Descriptor instead. func (*GetFeeFragmenterAddressResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{48} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{50} } func (x *GetFeeFragmenterAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -2532,7 +2617,7 @@ type ListFeeFragmenterAddressesRequest struct { func (x *ListFeeFragmenterAddressesRequest) Reset() { *x = ListFeeFragmenterAddressesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[49] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2545,7 +2630,7 @@ func (x *ListFeeFragmenterAddressesRequest) String() string { func (*ListFeeFragmenterAddressesRequest) ProtoMessage() {} func (x *ListFeeFragmenterAddressesRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[49] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2558,7 +2643,7 @@ func (x *ListFeeFragmenterAddressesRequest) ProtoReflect() protoreflect.Message // Deprecated: Use ListFeeFragmenterAddressesRequest.ProtoReflect.Descriptor instead. func (*ListFeeFragmenterAddressesRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{49} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{51} } type ListFeeFragmenterAddressesResponse struct { @@ -2572,7 +2657,7 @@ type ListFeeFragmenterAddressesResponse struct { func (x *ListFeeFragmenterAddressesResponse) Reset() { *x = ListFeeFragmenterAddressesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[50] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2585,7 +2670,7 @@ func (x *ListFeeFragmenterAddressesResponse) String() string { func (*ListFeeFragmenterAddressesResponse) ProtoMessage() {} func (x *ListFeeFragmenterAddressesResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[50] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2598,7 +2683,7 @@ func (x *ListFeeFragmenterAddressesResponse) ProtoReflect() protoreflect.Message // Deprecated: Use ListFeeFragmenterAddressesResponse.ProtoReflect.Descriptor instead. func (*ListFeeFragmenterAddressesResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{50} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{52} } func (x *ListFeeFragmenterAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -2617,7 +2702,7 @@ type GetFeeFragmenterBalanceRequest struct { func (x *GetFeeFragmenterBalanceRequest) Reset() { *x = GetFeeFragmenterBalanceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[51] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2630,7 +2715,7 @@ func (x *GetFeeFragmenterBalanceRequest) String() string { func (*GetFeeFragmenterBalanceRequest) ProtoMessage() {} func (x *GetFeeFragmenterBalanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[51] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2643,7 +2728,7 @@ func (x *GetFeeFragmenterBalanceRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeFragmenterBalanceRequest.ProtoReflect.Descriptor instead. func (*GetFeeFragmenterBalanceRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{51} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{53} } type GetFeeFragmenterBalanceResponse struct { @@ -2659,7 +2744,7 @@ type GetFeeFragmenterBalanceResponse struct { func (x *GetFeeFragmenterBalanceResponse) Reset() { *x = GetFeeFragmenterBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[52] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2672,7 +2757,7 @@ func (x *GetFeeFragmenterBalanceResponse) String() string { func (*GetFeeFragmenterBalanceResponse) ProtoMessage() {} func (x *GetFeeFragmenterBalanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[52] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2685,7 +2770,7 @@ func (x *GetFeeFragmenterBalanceResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFeeFragmenterBalanceResponse.ProtoReflect.Descriptor instead. func (*GetFeeFragmenterBalanceResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{52} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{54} } func (x *GetFeeFragmenterBalanceResponse) GetBalance() map[string]*BalanceInfo { @@ -2709,7 +2794,7 @@ type FeeFragmenterSplitFundsRequest struct { func (x *FeeFragmenterSplitFundsRequest) Reset() { *x = FeeFragmenterSplitFundsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[53] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2722,7 +2807,7 @@ func (x *FeeFragmenterSplitFundsRequest) String() string { func (*FeeFragmenterSplitFundsRequest) ProtoMessage() {} func (x *FeeFragmenterSplitFundsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[53] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2735,7 +2820,7 @@ func (x *FeeFragmenterSplitFundsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FeeFragmenterSplitFundsRequest.ProtoReflect.Descriptor instead. func (*FeeFragmenterSplitFundsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{53} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{55} } func (x *FeeFragmenterSplitFundsRequest) GetMaxFragments() uint32 { @@ -2764,7 +2849,7 @@ type FeeFragmenterSplitFundsResponse struct { func (x *FeeFragmenterSplitFundsResponse) Reset() { *x = FeeFragmenterSplitFundsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[54] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2777,7 +2862,7 @@ func (x *FeeFragmenterSplitFundsResponse) String() string { func (*FeeFragmenterSplitFundsResponse) ProtoMessage() {} func (x *FeeFragmenterSplitFundsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[54] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2790,7 +2875,7 @@ func (x *FeeFragmenterSplitFundsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FeeFragmenterSplitFundsResponse.ProtoReflect.Descriptor instead. func (*FeeFragmenterSplitFundsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{54} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{56} } func (x *FeeFragmenterSplitFundsResponse) GetMessage() string { @@ -2816,7 +2901,7 @@ type WithdrawFeeFragmenterRequest struct { func (x *WithdrawFeeFragmenterRequest) Reset() { *x = WithdrawFeeFragmenterRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[55] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2829,7 +2914,7 @@ func (x *WithdrawFeeFragmenterRequest) String() string { func (*WithdrawFeeFragmenterRequest) ProtoMessage() {} func (x *WithdrawFeeFragmenterRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[55] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2842,7 +2927,7 @@ func (x *WithdrawFeeFragmenterRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawFeeFragmenterRequest.ProtoReflect.Descriptor instead. func (*WithdrawFeeFragmenterRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{55} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{57} } func (x *WithdrawFeeFragmenterRequest) GetAddress() string { @@ -2877,7 +2962,7 @@ type WithdrawFeeFragmenterResponse struct { func (x *WithdrawFeeFragmenterResponse) Reset() { *x = WithdrawFeeFragmenterResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[56] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2890,7 +2975,7 @@ func (x *WithdrawFeeFragmenterResponse) String() string { func (*WithdrawFeeFragmenterResponse) ProtoMessage() {} func (x *WithdrawFeeFragmenterResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[56] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2903,7 +2988,7 @@ func (x *WithdrawFeeFragmenterResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawFeeFragmenterResponse.ProtoReflect.Descriptor instead. func (*WithdrawFeeFragmenterResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{56} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{58} } func (x *WithdrawFeeFragmenterResponse) GetTxid() string { @@ -2924,7 +3009,7 @@ type GetMarketFragmenterAddressRequest struct { func (x *GetMarketFragmenterAddressRequest) Reset() { *x = GetMarketFragmenterAddressRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[57] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2937,7 +3022,7 @@ func (x *GetMarketFragmenterAddressRequest) String() string { func (*GetMarketFragmenterAddressRequest) ProtoMessage() {} func (x *GetMarketFragmenterAddressRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[57] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2950,7 +3035,7 @@ func (x *GetMarketFragmenterAddressRequest) ProtoReflect() protoreflect.Message // Deprecated: Use GetMarketFragmenterAddressRequest.ProtoReflect.Descriptor instead. func (*GetMarketFragmenterAddressRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{57} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{59} } func (x *GetMarketFragmenterAddressRequest) GetNumOfAddresses() int64 { @@ -2971,7 +3056,7 @@ type GetMarketFragmenterAddressResponse struct { func (x *GetMarketFragmenterAddressResponse) Reset() { *x = GetMarketFragmenterAddressResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[58] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2984,7 +3069,7 @@ func (x *GetMarketFragmenterAddressResponse) String() string { func (*GetMarketFragmenterAddressResponse) ProtoMessage() {} func (x *GetMarketFragmenterAddressResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[58] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2997,7 +3082,7 @@ func (x *GetMarketFragmenterAddressResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetMarketFragmenterAddressResponse.ProtoReflect.Descriptor instead. func (*GetMarketFragmenterAddressResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{58} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{60} } func (x *GetMarketFragmenterAddressResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -3016,7 +3101,7 @@ type ListMarketFragmenterAddressesRequest struct { func (x *ListMarketFragmenterAddressesRequest) Reset() { *x = ListMarketFragmenterAddressesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[59] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3029,7 +3114,7 @@ func (x *ListMarketFragmenterAddressesRequest) String() string { func (*ListMarketFragmenterAddressesRequest) ProtoMessage() {} func (x *ListMarketFragmenterAddressesRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[59] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3042,7 +3127,7 @@ func (x *ListMarketFragmenterAddressesRequest) ProtoReflect() protoreflect.Messa // Deprecated: Use ListMarketFragmenterAddressesRequest.ProtoReflect.Descriptor instead. func (*ListMarketFragmenterAddressesRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{59} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{61} } type ListMarketFragmenterAddressesResponse struct { @@ -3056,7 +3141,7 @@ type ListMarketFragmenterAddressesResponse struct { func (x *ListMarketFragmenterAddressesResponse) Reset() { *x = ListMarketFragmenterAddressesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[60] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3069,7 +3154,7 @@ func (x *ListMarketFragmenterAddressesResponse) String() string { func (*ListMarketFragmenterAddressesResponse) ProtoMessage() {} func (x *ListMarketFragmenterAddressesResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[60] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3082,7 +3167,7 @@ func (x *ListMarketFragmenterAddressesResponse) ProtoReflect() protoreflect.Mess // Deprecated: Use ListMarketFragmenterAddressesResponse.ProtoReflect.Descriptor instead. func (*ListMarketFragmenterAddressesResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{60} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{62} } func (x *ListMarketFragmenterAddressesResponse) GetAddressWithBlindingKey() []*AddressWithBlindingKey { @@ -3101,7 +3186,7 @@ type GetMarketFragmenterBalanceRequest struct { func (x *GetMarketFragmenterBalanceRequest) Reset() { *x = GetMarketFragmenterBalanceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[61] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3114,7 +3199,7 @@ func (x *GetMarketFragmenterBalanceRequest) String() string { func (*GetMarketFragmenterBalanceRequest) ProtoMessage() {} func (x *GetMarketFragmenterBalanceRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[61] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3127,7 +3212,7 @@ func (x *GetMarketFragmenterBalanceRequest) ProtoReflect() protoreflect.Message // Deprecated: Use GetMarketFragmenterBalanceRequest.ProtoReflect.Descriptor instead. func (*GetMarketFragmenterBalanceRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{61} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{63} } type GetMarketFragmenterBalanceResponse struct { @@ -3143,7 +3228,7 @@ type GetMarketFragmenterBalanceResponse struct { func (x *GetMarketFragmenterBalanceResponse) Reset() { *x = GetMarketFragmenterBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[62] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3156,7 +3241,7 @@ func (x *GetMarketFragmenterBalanceResponse) String() string { func (*GetMarketFragmenterBalanceResponse) ProtoMessage() {} func (x *GetMarketFragmenterBalanceResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[62] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3169,7 +3254,7 @@ func (x *GetMarketFragmenterBalanceResponse) ProtoReflect() protoreflect.Message // Deprecated: Use GetMarketFragmenterBalanceResponse.ProtoReflect.Descriptor instead. func (*GetMarketFragmenterBalanceResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{62} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{64} } func (x *GetMarketFragmenterBalanceResponse) GetBalance() map[string]*BalanceInfo { @@ -3193,7 +3278,7 @@ type MarketFragmenterSplitFundsRequest struct { func (x *MarketFragmenterSplitFundsRequest) Reset() { *x = MarketFragmenterSplitFundsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[63] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3206,7 +3291,7 @@ func (x *MarketFragmenterSplitFundsRequest) String() string { func (*MarketFragmenterSplitFundsRequest) ProtoMessage() {} func (x *MarketFragmenterSplitFundsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[63] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3219,7 +3304,7 @@ func (x *MarketFragmenterSplitFundsRequest) ProtoReflect() protoreflect.Message // Deprecated: Use MarketFragmenterSplitFundsRequest.ProtoReflect.Descriptor instead. func (*MarketFragmenterSplitFundsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{63} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{65} } func (x *MarketFragmenterSplitFundsRequest) GetMarket() *v1.Market { @@ -3248,7 +3333,7 @@ type MarketFragmenterSplitFundsResponse struct { func (x *MarketFragmenterSplitFundsResponse) Reset() { *x = MarketFragmenterSplitFundsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[64] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3261,7 +3346,7 @@ func (x *MarketFragmenterSplitFundsResponse) String() string { func (*MarketFragmenterSplitFundsResponse) ProtoMessage() {} func (x *MarketFragmenterSplitFundsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[64] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3274,7 +3359,7 @@ func (x *MarketFragmenterSplitFundsResponse) ProtoReflect() protoreflect.Message // Deprecated: Use MarketFragmenterSplitFundsResponse.ProtoReflect.Descriptor instead. func (*MarketFragmenterSplitFundsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{64} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{66} } func (x *MarketFragmenterSplitFundsResponse) GetMessage() string { @@ -3300,7 +3385,7 @@ type WithdrawMarketFragmenterRequest struct { func (x *WithdrawMarketFragmenterRequest) Reset() { *x = WithdrawMarketFragmenterRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[65] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3313,7 +3398,7 @@ func (x *WithdrawMarketFragmenterRequest) String() string { func (*WithdrawMarketFragmenterRequest) ProtoMessage() {} func (x *WithdrawMarketFragmenterRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[65] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3326,7 +3411,7 @@ func (x *WithdrawMarketFragmenterRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawMarketFragmenterRequest.ProtoReflect.Descriptor instead. func (*WithdrawMarketFragmenterRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{65} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{67} } func (x *WithdrawMarketFragmenterRequest) GetAddress() string { @@ -3361,7 +3446,7 @@ type WithdrawMarketFragmenterResponse struct { func (x *WithdrawMarketFragmenterResponse) Reset() { *x = WithdrawMarketFragmenterResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[66] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[68] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3374,7 +3459,7 @@ func (x *WithdrawMarketFragmenterResponse) String() string { func (*WithdrawMarketFragmenterResponse) ProtoMessage() {} func (x *WithdrawMarketFragmenterResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[66] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[68] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3387,7 +3472,7 @@ func (x *WithdrawMarketFragmenterResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use WithdrawMarketFragmenterResponse.ProtoReflect.Descriptor instead. func (*WithdrawMarketFragmenterResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{66} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{68} } func (x *WithdrawMarketFragmenterResponse) GetTxid() string { @@ -3411,7 +3496,7 @@ type ListTradesRequest struct { func (x *ListTradesRequest) Reset() { *x = ListTradesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[67] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3424,7 +3509,7 @@ func (x *ListTradesRequest) String() string { func (*ListTradesRequest) ProtoMessage() {} func (x *ListTradesRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[67] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3437,7 +3522,7 @@ func (x *ListTradesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListTradesRequest.ProtoReflect.Descriptor instead. func (*ListTradesRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{67} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{69} } func (x *ListTradesRequest) GetMarket() *v1.Market { @@ -3467,7 +3552,7 @@ type ListTradesResponse struct { func (x *ListTradesResponse) Reset() { *x = ListTradesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[68] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[70] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3480,7 +3565,7 @@ func (x *ListTradesResponse) String() string { func (*ListTradesResponse) ProtoMessage() {} func (x *ListTradesResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[68] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[70] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3493,7 +3578,7 @@ func (x *ListTradesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListTradesResponse.ProtoReflect.Descriptor instead. func (*ListTradesResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{68} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{70} } func (x *ListTradesResponse) GetTrades() []*TradeInfo { @@ -3512,7 +3597,7 @@ type ReloadUtxosRequest struct { func (x *ReloadUtxosRequest) Reset() { *x = ReloadUtxosRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[69] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[71] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3525,7 +3610,7 @@ func (x *ReloadUtxosRequest) String() string { func (*ReloadUtxosRequest) ProtoMessage() {} func (x *ReloadUtxosRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[69] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[71] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3538,7 +3623,7 @@ func (x *ReloadUtxosRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ReloadUtxosRequest.ProtoReflect.Descriptor instead. func (*ReloadUtxosRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{69} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{71} } type ReloadUtxosResponse struct { @@ -3550,7 +3635,7 @@ type ReloadUtxosResponse struct { func (x *ReloadUtxosResponse) Reset() { *x = ReloadUtxosResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[70] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[72] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3563,7 +3648,7 @@ func (x *ReloadUtxosResponse) String() string { func (*ReloadUtxosResponse) ProtoMessage() {} func (x *ReloadUtxosResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[70] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[72] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3576,7 +3661,7 @@ func (x *ReloadUtxosResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ReloadUtxosResponse.ProtoReflect.Descriptor instead. func (*ReloadUtxosResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{70} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{72} } type ListUtxosRequest struct { @@ -3593,7 +3678,7 @@ type ListUtxosRequest struct { func (x *ListUtxosRequest) Reset() { *x = ListUtxosRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[71] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[73] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3606,7 +3691,7 @@ func (x *ListUtxosRequest) String() string { func (*ListUtxosRequest) ProtoMessage() {} func (x *ListUtxosRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[71] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[73] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3619,7 +3704,7 @@ func (x *ListUtxosRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUtxosRequest.ProtoReflect.Descriptor instead. func (*ListUtxosRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{71} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{73} } func (x *ListUtxosRequest) GetAccountIndex() uint64 { @@ -3652,7 +3737,7 @@ type ListUtxosResponse struct { func (x *ListUtxosResponse) Reset() { *x = ListUtxosResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[72] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[74] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3665,7 +3750,7 @@ func (x *ListUtxosResponse) String() string { func (*ListUtxosResponse) ProtoMessage() {} func (x *ListUtxosResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[72] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[74] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3678,7 +3763,7 @@ func (x *ListUtxosResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListUtxosResponse.ProtoReflect.Descriptor instead. func (*ListUtxosResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{72} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{74} } func (x *ListUtxosResponse) GetUnspents() []*UtxoInfo { @@ -3719,7 +3804,7 @@ type AddWebhookRequest struct { func (x *AddWebhookRequest) Reset() { *x = AddWebhookRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[73] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[75] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3732,7 +3817,7 @@ func (x *AddWebhookRequest) String() string { func (*AddWebhookRequest) ProtoMessage() {} func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[73] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[75] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3745,7 +3830,7 @@ func (x *AddWebhookRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use AddWebhookRequest.ProtoReflect.Descriptor instead. func (*AddWebhookRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{73} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{75} } func (x *AddWebhookRequest) GetEndpoint() string { @@ -3781,7 +3866,7 @@ type AddWebhookResponse struct { func (x *AddWebhookResponse) Reset() { *x = AddWebhookResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[74] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[76] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3794,7 +3879,7 @@ func (x *AddWebhookResponse) String() string { func (*AddWebhookResponse) ProtoMessage() {} func (x *AddWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[74] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[76] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3807,7 +3892,7 @@ func (x *AddWebhookResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use AddWebhookResponse.ProtoReflect.Descriptor instead. func (*AddWebhookResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{74} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{76} } func (x *AddWebhookResponse) GetId() string { @@ -3829,7 +3914,7 @@ type RemoveWebhookRequest struct { func (x *RemoveWebhookRequest) Reset() { *x = RemoveWebhookRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[75] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[77] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3842,7 +3927,7 @@ func (x *RemoveWebhookRequest) String() string { func (*RemoveWebhookRequest) ProtoMessage() {} func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[75] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[77] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3855,7 +3940,7 @@ func (x *RemoveWebhookRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveWebhookRequest.ProtoReflect.Descriptor instead. func (*RemoveWebhookRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{75} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{77} } func (x *RemoveWebhookRequest) GetId() string { @@ -3874,7 +3959,7 @@ type RemoveWebhookResponse struct { func (x *RemoveWebhookResponse) Reset() { *x = RemoveWebhookResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[76] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[78] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3887,7 +3972,7 @@ func (x *RemoveWebhookResponse) String() string { func (*RemoveWebhookResponse) ProtoMessage() {} func (x *RemoveWebhookResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[76] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[78] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3900,7 +3985,7 @@ func (x *RemoveWebhookResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use RemoveWebhookResponse.ProtoReflect.Descriptor instead. func (*RemoveWebhookResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{76} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{78} } type ListWebhooksRequest struct { @@ -3915,7 +4000,7 @@ type ListWebhooksRequest struct { func (x *ListWebhooksRequest) Reset() { *x = ListWebhooksRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[77] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[79] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3928,7 +4013,7 @@ func (x *ListWebhooksRequest) String() string { func (*ListWebhooksRequest) ProtoMessage() {} func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[77] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[79] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3941,7 +4026,7 @@ func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead. func (*ListWebhooksRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{77} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{79} } func (x *ListWebhooksRequest) GetAction() ActionType { @@ -3963,7 +4048,7 @@ type ListWebhooksResponse struct { func (x *ListWebhooksResponse) Reset() { *x = ListWebhooksResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[78] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[80] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3976,7 +4061,7 @@ func (x *ListWebhooksResponse) String() string { func (*ListWebhooksResponse) ProtoMessage() {} func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[78] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[80] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3989,7 +4074,7 @@ func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead. func (*ListWebhooksResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{78} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{80} } func (x *ListWebhooksResponse) GetWebhookInfo() []*WebhookInfo { @@ -4013,7 +4098,7 @@ type ListDepositsRequest struct { func (x *ListDepositsRequest) Reset() { *x = ListDepositsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[79] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[81] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4026,7 +4111,7 @@ func (x *ListDepositsRequest) String() string { func (*ListDepositsRequest) ProtoMessage() {} func (x *ListDepositsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[79] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[81] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4039,7 +4124,7 @@ func (x *ListDepositsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDepositsRequest.ProtoReflect.Descriptor instead. func (*ListDepositsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{79} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{81} } func (x *ListDepositsRequest) GetAccountIndex() int64 { @@ -4070,7 +4155,7 @@ type ListDepositsResponse struct { func (x *ListDepositsResponse) Reset() { *x = ListDepositsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[80] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[82] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4083,7 +4168,7 @@ func (x *ListDepositsResponse) String() string { func (*ListDepositsResponse) ProtoMessage() {} func (x *ListDepositsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[80] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[82] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4096,7 +4181,7 @@ func (x *ListDepositsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDepositsResponse.ProtoReflect.Descriptor instead. func (*ListDepositsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{80} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{82} } func (x *ListDepositsResponse) GetAccountIndex() int64 { @@ -4127,7 +4212,7 @@ type ListWithdrawalsRequest struct { func (x *ListWithdrawalsRequest) Reset() { *x = ListWithdrawalsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[81] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[83] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4140,7 +4225,7 @@ func (x *ListWithdrawalsRequest) String() string { func (*ListWithdrawalsRequest) ProtoMessage() {} func (x *ListWithdrawalsRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[81] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[83] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4153,7 +4238,7 @@ func (x *ListWithdrawalsRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListWithdrawalsRequest.ProtoReflect.Descriptor instead. func (*ListWithdrawalsRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{81} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{83} } func (x *ListWithdrawalsRequest) GetAccountIndex() int64 { @@ -4184,7 +4269,7 @@ type ListWithdrawalsResponse struct { func (x *ListWithdrawalsResponse) Reset() { *x = ListWithdrawalsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[82] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[84] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4197,7 +4282,7 @@ func (x *ListWithdrawalsResponse) String() string { func (*ListWithdrawalsResponse) ProtoMessage() {} func (x *ListWithdrawalsResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[82] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[84] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4210,7 +4295,7 @@ func (x *ListWithdrawalsResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListWithdrawalsResponse.ProtoReflect.Descriptor instead. func (*ListWithdrawalsResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{82} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{84} } func (x *ListWithdrawalsResponse) GetAccountIndex() int64 { @@ -4243,7 +4328,7 @@ type GetMarketReportRequest struct { func (x *GetMarketReportRequest) Reset() { *x = GetMarketReportRequest{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[83] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[85] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4256,7 +4341,7 @@ func (x *GetMarketReportRequest) String() string { func (*GetMarketReportRequest) ProtoMessage() {} func (x *GetMarketReportRequest) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[83] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[85] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4269,7 +4354,7 @@ func (x *GetMarketReportRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketReportRequest.ProtoReflect.Descriptor instead. func (*GetMarketReportRequest) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{83} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{85} } func (x *GetMarketReportRequest) GetMarket() *v1.Market { @@ -4305,7 +4390,7 @@ type GetMarketReportResponse struct { func (x *GetMarketReportResponse) Reset() { *x = GetMarketReportResponse{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[84] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[86] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -4318,7 +4403,7 @@ func (x *GetMarketReportResponse) String() string { func (*GetMarketReportResponse) ProtoMessage() {} func (x *GetMarketReportResponse) ProtoReflect() protoreflect.Message { - mi := &file_tdex_daemon_v1_operator_proto_msgTypes[84] + mi := &file_tdex_daemon_v1_operator_proto_msgTypes[86] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4331,7 +4416,7 @@ func (x *GetMarketReportResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMarketReportResponse.ProtoReflect.Descriptor instead. func (*GetMarketReportResponse) Descriptor() ([]byte, []int) { - return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{84} + return file_tdex_daemon_v1_operator_proto_rawDescGZIP(), []int{86} } func (x *GetMarketReportResponse) GetReport() *MarketReport { @@ -4350,38 +4435,295 @@ var file_tdex_daemon_v1_operator_proto_rawDesc = []byte{ 0x1a, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0xc8, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x50, - 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x62, 0x6c, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x11, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, - 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x38, 0x0a, - 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x78, 0x65, 0x64, - 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x42, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x65, - 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x69, - 0x78, 0x65, 0x64, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x22, 0x51, 0x0a, - 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, - 0x22, 0x44, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x5f, - 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x7a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, + 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x19, + 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc8, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, + 0x6f, 0x6f, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x72, 0x6f, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x6d, 0x61, 0x73, 0x74, + 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x42, 0x6c, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x12, 0x38, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x28, 0x0a, 0x10, + 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x78, 0x65, 0x64, 0x42, 0x61, 0x73, + 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, + 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x22, 0x51, 0x0a, 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x65, 0x22, 0x44, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, + 0x10, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, 0x6d, + 0x4f, 0x66, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x7a, 0x0a, 0x15, 0x47, + 0x65, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, + 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, + 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x7d, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, + 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, + 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x69, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x61, + 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x22, 0x51, 0x0a, 0x17, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, + 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x36, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, + 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x6c, 0x61, 0x69, 0x6d, + 0x46, 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, + 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x29, 0x0a, 0x13, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x12, 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, + 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x71, 0x75, 0x6f, 0x74, 0x65, + 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x4e, + 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x3f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x22, 0x47, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, + 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x70, 0x0a, 0x17, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x2c, + 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, + 0x6d, 0x4f, 0x66, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x7d, 0x0a, 0x18, + 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, + 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x45, 0x0a, 0x1a, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x22, 0x80, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, + 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, + 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x42, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x18, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, + 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0c, + 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x1a, + 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x0a, 0x11, 0x4f, 0x70, + 0x65, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x6e, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, + 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x15, 0x0a, + 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x13, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x34, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x11, 0x44, 0x72, 0x6f, 0x70, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x21, 0x47, + 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, + 0x61, 0x67, 0x65, 0x22, 0xcc, 0x02, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x63, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x46, 0x65, 0x65, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x1e, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x66, + 0x65, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x52, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x46, 0x65, 0x65, 0x73, 0x50, 0x65, 0x72, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x1a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, + 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x46, 0x65, 0x65, 0x73, 0x50, 0x65, 0x72, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x1a, 0x4d, 0x0a, 0x1f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x65, 0x64, 0x46, 0x65, 0x65, 0x73, 0x50, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0xe6, 0x01, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x40, 0x0a, 0x13, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x5f, 0x74, 0x6f, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x52, 0x11, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, + 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, + 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x2c, 0x0a, 0x16, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0x70, 0x0a, 0x20, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, + 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, + 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x69, 0x73, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, + 0x0a, 0x62, 0x61, 0x73, 0x69, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x63, 0x0a, 0x21, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, + 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3e, 0x0a, 0x0f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, + 0x65, 0x52, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, + 0x22, 0x6c, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x66, 0x69, 0x78, 0x65, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x22, 0x5e, + 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, + 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, + 0x0a, 0x0f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x66, 0x65, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x52, + 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x22, 0xb3, + 0x01, 0x0a, 0x22, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x30, + 0x0a, 0x14, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, + 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x62, 0x61, + 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x32, 0x0a, 0x15, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, + 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x13, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x25, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, 0x18, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x12, 0x24, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, + 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x41, 0x0a, 0x0d, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x0a, 0x1c, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, + 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x1e, 0x47, + 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, + 0x10, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, 0x6d, + 0x4f, 0x66, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x1f, + 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, @@ -4389,772 +4731,528 @@ var file_tdex_daemon_v1_operator_proto_rawDesc = []byte{ 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, - 0x65, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x7d, 0x0a, - 0x18, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x16, 0x0a, 0x14, - 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x69, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, - 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, - 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, - 0x51, 0x0a, 0x17, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x6f, 0x75, - 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa6, - 0x01, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, - 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, - 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, - 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, - 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x29, 0x0a, 0x13, 0x57, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, - 0x69, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x12, 0x30, 0x0a, 0x14, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, - 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, - 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x13, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x65, - 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x0a, 0x14, 0x47, - 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x47, 0x0a, 0x15, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x70, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x10, 0x6e, 0x75, 0x6d, - 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x65, 0x79, 0x22, 0x23, 0x0a, 0x21, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, + 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, + 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, + 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x22, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0xd2, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, + 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, + 0x57, 0x0a, 0x0c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x73, 0x0a, 0x1e, 0x46, 0x65, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, + 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, + 0x78, 0x5f, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, + 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, + 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, + 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x22, 0x3b, 0x0a, + 0x1f, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, + 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x1c, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, + 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, + 0x79, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, + 0x33, 0x0a, 0x1d, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x78, 0x69, 0x64, 0x22, 0x51, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x10, 0x6e, 0x75, 0x6d, + 0x5f, 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x7d, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, + 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, + 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x22, 0x26, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x25, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, - 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x45, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x80, 0x01, - 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, - 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, - 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, - 0x22, 0x42, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x22, 0x90, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x3d, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x10, - 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x12, 0x35, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, - 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x7d, 0x0a, 0x1a, 0x43, 0x6c, 0x61, 0x69, 0x6d, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x36, - 0x0a, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f, 0x75, 0x74, - 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x6e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 0x12, 0x43, 0x6c, 0x6f, - 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, - 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x07, - 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x73, 0x22, 0x3c, 0x0a, 0x11, 0x44, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x22, 0x14, 0x0a, 0x12, 0x44, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, - 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd8, 0x01, 0x0a, 0x22, + 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x59, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x57, 0x0a, + 0x0c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7a, 0x0a, 0x21, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, + 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xcc, - 0x02, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, - 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, - 0x65, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x46, 0x65, 0x65, 0x73, 0x12, 0x96, 0x01, 0x0a, 0x1e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, - 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x73, 0x5f, 0x70, - 0x65, 0x72, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x52, - 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, - 0x64, 0x46, 0x65, 0x65, 0x73, 0x50, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x1a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x65, 0x64, 0x46, 0x65, 0x65, 0x73, 0x50, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x1a, 0x4d, - 0x0a, 0x1f, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, - 0x46, 0x65, 0x65, 0x73, 0x50, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe6, 0x01, - 0x0a, 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x12, 0x40, 0x0a, 0x13, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x77, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, - 0x11, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x6f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, - 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, - 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x2c, 0x0a, 0x16, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x78, 0x69, 0x64, 0x22, 0x70, 0x0a, 0x20, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x69, 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x69, - 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x63, 0x0a, 0x21, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, - 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0f, 0x6d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x52, 0x0d, 0x6d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x22, 0x6c, 0x0a, 0x1b, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, - 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x78, - 0x65, 0x64, 0x52, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x22, 0x5e, 0x0a, 0x1c, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0f, 0x6d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x52, 0x0d, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x22, 0xb3, 0x01, 0x0a, 0x22, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, - 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x61, 0x73, - 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x71, - 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x71, 0x75, 0x6f, 0x74, - 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x25, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x70, - 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, - 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa5, - 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, - 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, - 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x41, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, - 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x5f, - 0x6f, 0x66, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x46, 0x65, - 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, - 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, - 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x23, 0x0a, - 0x21, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x22, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x20, 0x0a, 0x1e, - 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, - 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd2, - 0x01, 0x0a, 0x1f, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x56, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x57, 0x0a, 0x0c, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x73, 0x0a, 0x1e, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x72, 0x61, - 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x61, - 0x78, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, - 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, - 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x22, 0x3b, 0x0a, 0x1f, 0x46, 0x65, 0x65, 0x46, - 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, - 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x1c, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, + 0x72, 0x6b, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, + 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, + 0x74, 0x65, 0x22, 0x3e, 0x0a, 0x22, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x22, 0x85, 0x01, 0x0a, 0x1f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x33, 0x0a, 0x1d, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, - 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, - 0x51, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x10, 0x6e, 0x75, 0x6d, 0x5f, 0x6f, 0x66, 0x5f, 0x61, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, - 0x30, 0x02, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x4f, 0x66, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x19, 0x61, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x22, 0x26, 0x0a, 0x24, - 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x25, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, - 0x0a, 0x19, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x62, - 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x52, 0x16, 0x61, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x57, 0x69, 0x74, 0x68, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, - 0x79, 0x22, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, - 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd8, 0x01, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, - 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, - 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x57, 0x0a, 0x0c, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x22, 0x7a, 0x0a, 0x21, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, - 0x2c, 0x0a, 0x12, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, - 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, - 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x22, 0x3e, 0x0a, - 0x22, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x85, 0x01, - 0x0a, 0x1f, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6d, - 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x61, - 0x74, 0x73, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, - 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, - 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x36, 0x0a, 0x20, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22, 0x66, 0x0a, - 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x70, - 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0x47, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, - 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x74, - 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, - 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x22, 0x14, - 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, - 0x78, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0x0a, 0x10, 0x4c, - 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, - 0x67, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x08, 0x75, 0x6e, 0x73, 0x70, - 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x74, 0x78, 0x6f, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x30, - 0x0a, 0x06, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, + 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x36, 0x0a, 0x20, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x22, 0x66, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x12, 0x28, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x55, 0x74, 0x78, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x2e, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0x47, 0x0a, 0x12, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x31, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x74, 0x72, 0x61, + 0x64, 0x65, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, + 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x6c, + 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x65, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x02, 0x52, + 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, + 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, + 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, + 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, + 0x08, 0x75, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x6c, 0x6f, 0x63, 0x6b, 0x73, - 0x22, 0x7b, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, - 0x74, 0x12, 0x32, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x24, 0x0a, - 0x12, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, - 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x56, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0b, 0x77, 0x65, 0x62, 0x68, - 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x68, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, + 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x6e, 0x73, 0x70, 0x65, + 0x6e, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x06, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x73, + 0x70, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, + 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x7b, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, + 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x22, 0x24, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, + 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x49, 0x0a, 0x13, 0x4c, 0x69, 0x73, + 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x32, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x56, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, + 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0c, + 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x0b, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x68, 0x0a, 0x13, + 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0c, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x04, + 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, + 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0x74, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x22, 0x74, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x42, 0x02, 0x30, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, - 0x65, 0x78, 0x12, 0x33, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x08, 0x64, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x22, 0x6b, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x57, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0c, 0x61, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x28, 0x0a, 0x04, 0x70, 0x61, - 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, - 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, - 0x70, 0x61, 0x67, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3c, 0x0a, 0x0b, 0x77, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x33, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x22, 0x6b, 0x0a, 0x16, + 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, + 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x28, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x17, 0x4c, 0x69, + 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x30, 0x02, + 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3c, + 0x0a, 0x0b, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x52, + 0x0b, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x22, 0xb5, 0x01, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x52, 0x0b, 0x77, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x22, - 0x4f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x72, 0x65, - 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x32, 0xd2, 0x23, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x1e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, - 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x67, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x47, - 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x10, 0x43, - 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, - 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, - 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, - 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x46, 0x65, 0x65, 0x12, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, - 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, - 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x20, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4e, - 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x12, 0x67, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x13, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, + 0x54, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x34, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x32, 0xbe, 0x24, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x6f, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x46, 0x65, + 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, + 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, - 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x13, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x2a, 0x2e, + 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, + 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x5e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x67, 0x0a, 0x10, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x73, 0x12, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6c, 0x61, 0x69, 0x6d, 0x46, 0x65, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x57, 0x69, 0x74, + 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x12, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, + 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, + 0x61, 0x77, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, + 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x09, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x12, 0x20, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x65, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, + 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x27, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x70, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x67, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x13, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0a, 0x4f, 0x70, 0x65, 0x6e, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x58, 0x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x22, + 0x74, 0x73, 0x12, 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0a, 0x44, 0x72, 0x6f, - 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, - 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, + 0x43, 0x6c, 0x61, 0x69, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, + 0x0a, 0x4f, 0x70, 0x65, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, + 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x70, 0x65, 0x6e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x12, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, + 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x21, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, + 0x6f, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, + 0x46, 0x65, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, + 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, + 0x65, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, + 0x0e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, + 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x85, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, - 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x12, - 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x43, 0x6f, 0x6c, - 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x0e, 0x57, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x25, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x19, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, - 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x12, 0x30, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, - 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, - 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x73, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, 0x12, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, - 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, 0x63, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, 0x65, - 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x6a, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x29, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, - 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x14, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x12, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, - 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x12, 0x7c, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2e, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x85, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x31, + 0x12, 0x82, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x12, 0x30, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x65, - 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, - 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7e, 0x0a, 0x17, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, - 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, - 0x12, 0x2e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, - 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, - 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x76, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, - 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x2c, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x65, + 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, 0x12, 0x2b, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, + 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x88, 0x01, 0x0a, 0x1b, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x73, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x50, 0x72, + 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x73, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x73, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x2e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x65, 0x73, 0x12, 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x17, + 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x65, 0x65, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7e, 0x0a, 0x17, 0x46, 0x65, + 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, + 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x2e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x76, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, - 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x31, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, - 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x34, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, - 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x74, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x8e, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, - 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, - 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, - 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x87, - 0x01, 0x0a, 0x1a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x31, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, - 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x18, 0x57, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x4c, 0x69, 0x73, - 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, - 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, - 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, + 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x34, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, - 0x73, 0x12, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x52, 0x65, - 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x12, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, - 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, - 0x73, 0x12, 0x20, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, - 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5e, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, - 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, - 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x5b, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, - 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, + 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x1a, + 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1a, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, + 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, + 0x64, 0x73, 0x12, 0x31, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x46, 0x75, 0x6e, 0x64, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x7f, 0x0a, + 0x18, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, + 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x2f, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, 0x64, + 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x72, 0x61, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, + 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x22, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, + 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, + 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x58, 0x0a, 0x0b, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x12, 0x22, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x09, 0x4c, 0x69, 0x73, + 0x74, 0x55, 0x74, 0x78, 0x6f, 0x73, 0x12, 0x20, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, 0x78, 0x6f, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, + 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x74, + 0x78, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, + 0x0a, 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x21, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, + 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x64, 0x64, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, + 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, + 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, + 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, - 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x0c, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, + 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x12, 0x5b, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x73, 0x12, 0x23, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0f, 0x4c, 0x69, 0x73, - 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x12, 0x26, 0x2e, 0x74, - 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, - 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, - 0x64, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x12, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, - 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd0, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4f, 0x70, - 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, - 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, - 0x6d, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x0d, 0x54, 0x64, - 0x65, 0x78, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x54, 0x64, - 0x65, 0x78, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x54, 0x64, - 0x65, 0x78, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x54, 0x64, 0x65, 0x78, 0x44, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, + 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, + 0x73, 0x12, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, + 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x64, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x27, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6a, 0x0a, 0x11, 0x4c, 0x69, + 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, + 0x28, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xd0, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, + 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, + 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x64, 0x65, 0x78, 0x5f, 0x64, 0x61, + 0x65, 0x6d, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x0d, 0x54, + 0x64, 0x65, 0x78, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x54, + 0x64, 0x65, 0x78, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x54, + 0x64, 0x65, 0x78, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x54, 0x64, 0x65, 0x78, 0x44, + 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -5169,270 +5267,274 @@ func file_tdex_daemon_v1_operator_proto_rawDescGZIP() []byte { return file_tdex_daemon_v1_operator_proto_rawDescData } -var file_tdex_daemon_v1_operator_proto_msgTypes = make([]protoimpl.MessageInfo, 88) +var file_tdex_daemon_v1_operator_proto_msgTypes = make([]protoimpl.MessageInfo, 90) var file_tdex_daemon_v1_operator_proto_goTypes = []interface{}{ - (*GetInfoRequest)(nil), // 0: tdex_daemon.v1.GetInfoRequest - (*GetInfoResponse)(nil), // 1: tdex_daemon.v1.GetInfoResponse - (*BuildInfo)(nil), // 2: tdex_daemon.v1.BuildInfo - (*GetFeeAddressRequest)(nil), // 3: tdex_daemon.v1.GetFeeAddressRequest - (*GetFeeAddressResponse)(nil), // 4: tdex_daemon.v1.GetFeeAddressResponse - (*ListFeeAddressesRequest)(nil), // 5: tdex_daemon.v1.ListFeeAddressesRequest - (*ListFeeAddressesResponse)(nil), // 6: tdex_daemon.v1.ListFeeAddressesResponse - (*GetFeeBalanceRequest)(nil), // 7: tdex_daemon.v1.GetFeeBalanceRequest - (*GetFeeBalanceResponse)(nil), // 8: tdex_daemon.v1.GetFeeBalanceResponse - (*ClaimFeeDepositsRequest)(nil), // 9: tdex_daemon.v1.ClaimFeeDepositsRequest - (*ClaimFeeDepositsResponse)(nil), // 10: tdex_daemon.v1.ClaimFeeDepositsResponse - (*WithdrawFeeRequest)(nil), // 11: tdex_daemon.v1.WithdrawFeeRequest - (*WithdrawFeeResponse)(nil), // 12: tdex_daemon.v1.WithdrawFeeResponse - (*NewMarketRequest)(nil), // 13: tdex_daemon.v1.NewMarketRequest - (*NewMarketResponse)(nil), // 14: tdex_daemon.v1.NewMarketResponse - (*GetMarketInfoRequest)(nil), // 15: tdex_daemon.v1.GetMarketInfoRequest - (*GetMarketInfoResponse)(nil), // 16: tdex_daemon.v1.GetMarketInfoResponse - (*GetMarketAddressRequest)(nil), // 17: tdex_daemon.v1.GetMarketAddressRequest - (*GetMarketAddressResponse)(nil), // 18: tdex_daemon.v1.GetMarketAddressResponse - (*ListMarketAddressesRequest)(nil), // 19: tdex_daemon.v1.ListMarketAddressesRequest - (*ListMarketAddressesResponse)(nil), // 20: tdex_daemon.v1.ListMarketAddressesResponse - (*GetMarketBalanceRequest)(nil), // 21: tdex_daemon.v1.GetMarketBalanceRequest - (*GetMarketBalanceResponse)(nil), // 22: tdex_daemon.v1.GetMarketBalanceResponse - (*ClaimMarketDepositsRequest)(nil), // 23: tdex_daemon.v1.ClaimMarketDepositsRequest - (*ClaimMarketDepositsResponse)(nil), // 24: tdex_daemon.v1.ClaimMarketDepositsResponse - (*OpenMarketRequest)(nil), // 25: tdex_daemon.v1.OpenMarketRequest - (*OpenMarketResponse)(nil), // 26: tdex_daemon.v1.OpenMarketResponse - (*CloseMarketRequest)(nil), // 27: tdex_daemon.v1.CloseMarketRequest - (*CloseMarketResponse)(nil), // 28: tdex_daemon.v1.CloseMarketResponse - (*ListMarketsRequest)(nil), // 29: tdex_daemon.v1.ListMarketsRequest - (*ListMarketsResponse)(nil), // 30: tdex_daemon.v1.ListMarketsResponse - (*DropMarketRequest)(nil), // 31: tdex_daemon.v1.DropMarketRequest - (*DropMarketResponse)(nil), // 32: tdex_daemon.v1.DropMarketResponse - (*GetMarketCollectedSwapFeesRequest)(nil), // 33: tdex_daemon.v1.GetMarketCollectedSwapFeesRequest - (*GetMarketCollectedSwapFeesResponse)(nil), // 34: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse - (*WithdrawMarketRequest)(nil), // 35: tdex_daemon.v1.WithdrawMarketRequest - (*WithdrawMarketResponse)(nil), // 36: tdex_daemon.v1.WithdrawMarketResponse - (*UpdateMarketPercentageFeeRequest)(nil), // 37: tdex_daemon.v1.UpdateMarketPercentageFeeRequest - (*UpdateMarketPercentageFeeResponse)(nil), // 38: tdex_daemon.v1.UpdateMarketPercentageFeeResponse - (*UpdateMarketFixedFeeRequest)(nil), // 39: tdex_daemon.v1.UpdateMarketFixedFeeRequest - (*UpdateMarketFixedFeeResponse)(nil), // 40: tdex_daemon.v1.UpdateMarketFixedFeeResponse - (*UpdateMarketAssetsPrecisionRequest)(nil), // 41: tdex_daemon.v1.UpdateMarketAssetsPrecisionRequest - (*UpdateMarketAssetsPrecisionResponse)(nil), // 42: tdex_daemon.v1.UpdateMarketAssetsPrecisionResponse - (*UpdateMarketPriceRequest)(nil), // 43: tdex_daemon.v1.UpdateMarketPriceRequest - (*UpdateMarketPriceResponse)(nil), // 44: tdex_daemon.v1.UpdateMarketPriceResponse - (*UpdateMarketStrategyRequest)(nil), // 45: tdex_daemon.v1.UpdateMarketStrategyRequest - (*UpdateMarketStrategyResponse)(nil), // 46: tdex_daemon.v1.UpdateMarketStrategyResponse - (*GetFeeFragmenterAddressRequest)(nil), // 47: tdex_daemon.v1.GetFeeFragmenterAddressRequest - (*GetFeeFragmenterAddressResponse)(nil), // 48: tdex_daemon.v1.GetFeeFragmenterAddressResponse - (*ListFeeFragmenterAddressesRequest)(nil), // 49: tdex_daemon.v1.ListFeeFragmenterAddressesRequest - (*ListFeeFragmenterAddressesResponse)(nil), // 50: tdex_daemon.v1.ListFeeFragmenterAddressesResponse - (*GetFeeFragmenterBalanceRequest)(nil), // 51: tdex_daemon.v1.GetFeeFragmenterBalanceRequest - (*GetFeeFragmenterBalanceResponse)(nil), // 52: tdex_daemon.v1.GetFeeFragmenterBalanceResponse - (*FeeFragmenterSplitFundsRequest)(nil), // 53: tdex_daemon.v1.FeeFragmenterSplitFundsRequest - (*FeeFragmenterSplitFundsResponse)(nil), // 54: tdex_daemon.v1.FeeFragmenterSplitFundsResponse - (*WithdrawFeeFragmenterRequest)(nil), // 55: tdex_daemon.v1.WithdrawFeeFragmenterRequest - (*WithdrawFeeFragmenterResponse)(nil), // 56: tdex_daemon.v1.WithdrawFeeFragmenterResponse - (*GetMarketFragmenterAddressRequest)(nil), // 57: tdex_daemon.v1.GetMarketFragmenterAddressRequest - (*GetMarketFragmenterAddressResponse)(nil), // 58: tdex_daemon.v1.GetMarketFragmenterAddressResponse - (*ListMarketFragmenterAddressesRequest)(nil), // 59: tdex_daemon.v1.ListMarketFragmenterAddressesRequest - (*ListMarketFragmenterAddressesResponse)(nil), // 60: tdex_daemon.v1.ListMarketFragmenterAddressesResponse - (*GetMarketFragmenterBalanceRequest)(nil), // 61: tdex_daemon.v1.GetMarketFragmenterBalanceRequest - (*GetMarketFragmenterBalanceResponse)(nil), // 62: tdex_daemon.v1.GetMarketFragmenterBalanceResponse - (*MarketFragmenterSplitFundsRequest)(nil), // 63: tdex_daemon.v1.MarketFragmenterSplitFundsRequest - (*MarketFragmenterSplitFundsResponse)(nil), // 64: tdex_daemon.v1.MarketFragmenterSplitFundsResponse - (*WithdrawMarketFragmenterRequest)(nil), // 65: tdex_daemon.v1.WithdrawMarketFragmenterRequest - (*WithdrawMarketFragmenterResponse)(nil), // 66: tdex_daemon.v1.WithdrawMarketFragmenterResponse - (*ListTradesRequest)(nil), // 67: tdex_daemon.v1.ListTradesRequest - (*ListTradesResponse)(nil), // 68: tdex_daemon.v1.ListTradesResponse - (*ReloadUtxosRequest)(nil), // 69: tdex_daemon.v1.ReloadUtxosRequest - (*ReloadUtxosResponse)(nil), // 70: tdex_daemon.v1.ReloadUtxosResponse - (*ListUtxosRequest)(nil), // 71: tdex_daemon.v1.ListUtxosRequest - (*ListUtxosResponse)(nil), // 72: tdex_daemon.v1.ListUtxosResponse - (*AddWebhookRequest)(nil), // 73: tdex_daemon.v1.AddWebhookRequest - (*AddWebhookResponse)(nil), // 74: tdex_daemon.v1.AddWebhookResponse - (*RemoveWebhookRequest)(nil), // 75: tdex_daemon.v1.RemoveWebhookRequest - (*RemoveWebhookResponse)(nil), // 76: tdex_daemon.v1.RemoveWebhookResponse - (*ListWebhooksRequest)(nil), // 77: tdex_daemon.v1.ListWebhooksRequest - (*ListWebhooksResponse)(nil), // 78: tdex_daemon.v1.ListWebhooksResponse - (*ListDepositsRequest)(nil), // 79: tdex_daemon.v1.ListDepositsRequest - (*ListDepositsResponse)(nil), // 80: tdex_daemon.v1.ListDepositsResponse - (*ListWithdrawalsRequest)(nil), // 81: tdex_daemon.v1.ListWithdrawalsRequest - (*ListWithdrawalsResponse)(nil), // 82: tdex_daemon.v1.ListWithdrawalsResponse - (*GetMarketReportRequest)(nil), // 83: tdex_daemon.v1.GetMarketReportRequest - (*GetMarketReportResponse)(nil), // 84: tdex_daemon.v1.GetMarketReportResponse - nil, // 85: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.TotalCollectedFeesPerAssetEntry - nil, // 86: tdex_daemon.v1.GetFeeFragmenterBalanceResponse.BalanceEntry - nil, // 87: tdex_daemon.v1.GetMarketFragmenterBalanceResponse.BalanceEntry - (*AccountInfo)(nil), // 88: tdex_daemon.v1.AccountInfo - (*AddressWithBlindingKey)(nil), // 89: tdex_daemon.v1.AddressWithBlindingKey - (*Outpoint)(nil), // 90: tdex_daemon.v1.Outpoint - (*v1.Market)(nil), // 91: tdex.v1.Market - (*MarketInfo)(nil), // 92: tdex_daemon.v1.MarketInfo - (*v1.Balance)(nil), // 93: tdex.v1.Balance - (*Page)(nil), // 94: tdex_daemon.v1.Page - (*FeeInfo)(nil), // 95: tdex_daemon.v1.FeeInfo - (*v1.MarketWithFee)(nil), // 96: tdex.v1.MarketWithFee - (*v1.Fixed)(nil), // 97: tdex.v1.Fixed - (*v1.Price)(nil), // 98: tdex.v1.Price - (StrategyType)(0), // 99: tdex_daemon.v1.StrategyType - (*TradeInfo)(nil), // 100: tdex_daemon.v1.TradeInfo - (*UtxoInfo)(nil), // 101: tdex_daemon.v1.UtxoInfo - (ActionType)(0), // 102: tdex_daemon.v1.ActionType - (*WebhookInfo)(nil), // 103: tdex_daemon.v1.WebhookInfo - (*Deposit)(nil), // 104: tdex_daemon.v1.Deposit - (*Withdrawal)(nil), // 105: tdex_daemon.v1.Withdrawal - (*TimeRange)(nil), // 106: tdex_daemon.v1.TimeRange - (TimeFrame)(0), // 107: tdex_daemon.v1.TimeFrame - (*MarketReport)(nil), // 108: tdex_daemon.v1.MarketReport - (*BalanceInfo)(nil), // 109: tdex_daemon.v1.BalanceInfo + (*ListProtoServicesRequest)(nil), // 0: tdex_daemon.v1.ListProtoServicesRequest + (*ListProtoServicesResponse)(nil), // 1: tdex_daemon.v1.ListProtoServicesResponse + (*GetInfoRequest)(nil), // 2: tdex_daemon.v1.GetInfoRequest + (*GetInfoResponse)(nil), // 3: tdex_daemon.v1.GetInfoResponse + (*BuildInfo)(nil), // 4: tdex_daemon.v1.BuildInfo + (*GetFeeAddressRequest)(nil), // 5: tdex_daemon.v1.GetFeeAddressRequest + (*GetFeeAddressResponse)(nil), // 6: tdex_daemon.v1.GetFeeAddressResponse + (*ListFeeAddressesRequest)(nil), // 7: tdex_daemon.v1.ListFeeAddressesRequest + (*ListFeeAddressesResponse)(nil), // 8: tdex_daemon.v1.ListFeeAddressesResponse + (*GetFeeBalanceRequest)(nil), // 9: tdex_daemon.v1.GetFeeBalanceRequest + (*GetFeeBalanceResponse)(nil), // 10: tdex_daemon.v1.GetFeeBalanceResponse + (*ClaimFeeDepositsRequest)(nil), // 11: tdex_daemon.v1.ClaimFeeDepositsRequest + (*ClaimFeeDepositsResponse)(nil), // 12: tdex_daemon.v1.ClaimFeeDepositsResponse + (*WithdrawFeeRequest)(nil), // 13: tdex_daemon.v1.WithdrawFeeRequest + (*WithdrawFeeResponse)(nil), // 14: tdex_daemon.v1.WithdrawFeeResponse + (*NewMarketRequest)(nil), // 15: tdex_daemon.v1.NewMarketRequest + (*NewMarketResponse)(nil), // 16: tdex_daemon.v1.NewMarketResponse + (*GetMarketInfoRequest)(nil), // 17: tdex_daemon.v1.GetMarketInfoRequest + (*GetMarketInfoResponse)(nil), // 18: tdex_daemon.v1.GetMarketInfoResponse + (*GetMarketAddressRequest)(nil), // 19: tdex_daemon.v1.GetMarketAddressRequest + (*GetMarketAddressResponse)(nil), // 20: tdex_daemon.v1.GetMarketAddressResponse + (*ListMarketAddressesRequest)(nil), // 21: tdex_daemon.v1.ListMarketAddressesRequest + (*ListMarketAddressesResponse)(nil), // 22: tdex_daemon.v1.ListMarketAddressesResponse + (*GetMarketBalanceRequest)(nil), // 23: tdex_daemon.v1.GetMarketBalanceRequest + (*GetMarketBalanceResponse)(nil), // 24: tdex_daemon.v1.GetMarketBalanceResponse + (*ClaimMarketDepositsRequest)(nil), // 25: tdex_daemon.v1.ClaimMarketDepositsRequest + (*ClaimMarketDepositsResponse)(nil), // 26: tdex_daemon.v1.ClaimMarketDepositsResponse + (*OpenMarketRequest)(nil), // 27: tdex_daemon.v1.OpenMarketRequest + (*OpenMarketResponse)(nil), // 28: tdex_daemon.v1.OpenMarketResponse + (*CloseMarketRequest)(nil), // 29: tdex_daemon.v1.CloseMarketRequest + (*CloseMarketResponse)(nil), // 30: tdex_daemon.v1.CloseMarketResponse + (*ListMarketsRequest)(nil), // 31: tdex_daemon.v1.ListMarketsRequest + (*ListMarketsResponse)(nil), // 32: tdex_daemon.v1.ListMarketsResponse + (*DropMarketRequest)(nil), // 33: tdex_daemon.v1.DropMarketRequest + (*DropMarketResponse)(nil), // 34: tdex_daemon.v1.DropMarketResponse + (*GetMarketCollectedSwapFeesRequest)(nil), // 35: tdex_daemon.v1.GetMarketCollectedSwapFeesRequest + (*GetMarketCollectedSwapFeesResponse)(nil), // 36: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse + (*WithdrawMarketRequest)(nil), // 37: tdex_daemon.v1.WithdrawMarketRequest + (*WithdrawMarketResponse)(nil), // 38: tdex_daemon.v1.WithdrawMarketResponse + (*UpdateMarketPercentageFeeRequest)(nil), // 39: tdex_daemon.v1.UpdateMarketPercentageFeeRequest + (*UpdateMarketPercentageFeeResponse)(nil), // 40: tdex_daemon.v1.UpdateMarketPercentageFeeResponse + (*UpdateMarketFixedFeeRequest)(nil), // 41: tdex_daemon.v1.UpdateMarketFixedFeeRequest + (*UpdateMarketFixedFeeResponse)(nil), // 42: tdex_daemon.v1.UpdateMarketFixedFeeResponse + (*UpdateMarketAssetsPrecisionRequest)(nil), // 43: tdex_daemon.v1.UpdateMarketAssetsPrecisionRequest + (*UpdateMarketAssetsPrecisionResponse)(nil), // 44: tdex_daemon.v1.UpdateMarketAssetsPrecisionResponse + (*UpdateMarketPriceRequest)(nil), // 45: tdex_daemon.v1.UpdateMarketPriceRequest + (*UpdateMarketPriceResponse)(nil), // 46: tdex_daemon.v1.UpdateMarketPriceResponse + (*UpdateMarketStrategyRequest)(nil), // 47: tdex_daemon.v1.UpdateMarketStrategyRequest + (*UpdateMarketStrategyResponse)(nil), // 48: tdex_daemon.v1.UpdateMarketStrategyResponse + (*GetFeeFragmenterAddressRequest)(nil), // 49: tdex_daemon.v1.GetFeeFragmenterAddressRequest + (*GetFeeFragmenterAddressResponse)(nil), // 50: tdex_daemon.v1.GetFeeFragmenterAddressResponse + (*ListFeeFragmenterAddressesRequest)(nil), // 51: tdex_daemon.v1.ListFeeFragmenterAddressesRequest + (*ListFeeFragmenterAddressesResponse)(nil), // 52: tdex_daemon.v1.ListFeeFragmenterAddressesResponse + (*GetFeeFragmenterBalanceRequest)(nil), // 53: tdex_daemon.v1.GetFeeFragmenterBalanceRequest + (*GetFeeFragmenterBalanceResponse)(nil), // 54: tdex_daemon.v1.GetFeeFragmenterBalanceResponse + (*FeeFragmenterSplitFundsRequest)(nil), // 55: tdex_daemon.v1.FeeFragmenterSplitFundsRequest + (*FeeFragmenterSplitFundsResponse)(nil), // 56: tdex_daemon.v1.FeeFragmenterSplitFundsResponse + (*WithdrawFeeFragmenterRequest)(nil), // 57: tdex_daemon.v1.WithdrawFeeFragmenterRequest + (*WithdrawFeeFragmenterResponse)(nil), // 58: tdex_daemon.v1.WithdrawFeeFragmenterResponse + (*GetMarketFragmenterAddressRequest)(nil), // 59: tdex_daemon.v1.GetMarketFragmenterAddressRequest + (*GetMarketFragmenterAddressResponse)(nil), // 60: tdex_daemon.v1.GetMarketFragmenterAddressResponse + (*ListMarketFragmenterAddressesRequest)(nil), // 61: tdex_daemon.v1.ListMarketFragmenterAddressesRequest + (*ListMarketFragmenterAddressesResponse)(nil), // 62: tdex_daemon.v1.ListMarketFragmenterAddressesResponse + (*GetMarketFragmenterBalanceRequest)(nil), // 63: tdex_daemon.v1.GetMarketFragmenterBalanceRequest + (*GetMarketFragmenterBalanceResponse)(nil), // 64: tdex_daemon.v1.GetMarketFragmenterBalanceResponse + (*MarketFragmenterSplitFundsRequest)(nil), // 65: tdex_daemon.v1.MarketFragmenterSplitFundsRequest + (*MarketFragmenterSplitFundsResponse)(nil), // 66: tdex_daemon.v1.MarketFragmenterSplitFundsResponse + (*WithdrawMarketFragmenterRequest)(nil), // 67: tdex_daemon.v1.WithdrawMarketFragmenterRequest + (*WithdrawMarketFragmenterResponse)(nil), // 68: tdex_daemon.v1.WithdrawMarketFragmenterResponse + (*ListTradesRequest)(nil), // 69: tdex_daemon.v1.ListTradesRequest + (*ListTradesResponse)(nil), // 70: tdex_daemon.v1.ListTradesResponse + (*ReloadUtxosRequest)(nil), // 71: tdex_daemon.v1.ReloadUtxosRequest + (*ReloadUtxosResponse)(nil), // 72: tdex_daemon.v1.ReloadUtxosResponse + (*ListUtxosRequest)(nil), // 73: tdex_daemon.v1.ListUtxosRequest + (*ListUtxosResponse)(nil), // 74: tdex_daemon.v1.ListUtxosResponse + (*AddWebhookRequest)(nil), // 75: tdex_daemon.v1.AddWebhookRequest + (*AddWebhookResponse)(nil), // 76: tdex_daemon.v1.AddWebhookResponse + (*RemoveWebhookRequest)(nil), // 77: tdex_daemon.v1.RemoveWebhookRequest + (*RemoveWebhookResponse)(nil), // 78: tdex_daemon.v1.RemoveWebhookResponse + (*ListWebhooksRequest)(nil), // 79: tdex_daemon.v1.ListWebhooksRequest + (*ListWebhooksResponse)(nil), // 80: tdex_daemon.v1.ListWebhooksResponse + (*ListDepositsRequest)(nil), // 81: tdex_daemon.v1.ListDepositsRequest + (*ListDepositsResponse)(nil), // 82: tdex_daemon.v1.ListDepositsResponse + (*ListWithdrawalsRequest)(nil), // 83: tdex_daemon.v1.ListWithdrawalsRequest + (*ListWithdrawalsResponse)(nil), // 84: tdex_daemon.v1.ListWithdrawalsResponse + (*GetMarketReportRequest)(nil), // 85: tdex_daemon.v1.GetMarketReportRequest + (*GetMarketReportResponse)(nil), // 86: tdex_daemon.v1.GetMarketReportResponse + nil, // 87: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.TotalCollectedFeesPerAssetEntry + nil, // 88: tdex_daemon.v1.GetFeeFragmenterBalanceResponse.BalanceEntry + nil, // 89: tdex_daemon.v1.GetMarketFragmenterBalanceResponse.BalanceEntry + (*AccountInfo)(nil), // 90: tdex_daemon.v1.AccountInfo + (*AddressWithBlindingKey)(nil), // 91: tdex_daemon.v1.AddressWithBlindingKey + (*Outpoint)(nil), // 92: tdex_daemon.v1.Outpoint + (*v1.Market)(nil), // 93: tdex.v1.Market + (*MarketInfo)(nil), // 94: tdex_daemon.v1.MarketInfo + (*v1.Balance)(nil), // 95: tdex.v1.Balance + (*Page)(nil), // 96: tdex_daemon.v1.Page + (*FeeInfo)(nil), // 97: tdex_daemon.v1.FeeInfo + (*v1.MarketWithFee)(nil), // 98: tdex.v1.MarketWithFee + (*v1.Fixed)(nil), // 99: tdex.v1.Fixed + (*v1.Price)(nil), // 100: tdex.v1.Price + (StrategyType)(0), // 101: tdex_daemon.v1.StrategyType + (*TradeInfo)(nil), // 102: tdex_daemon.v1.TradeInfo + (*UtxoInfo)(nil), // 103: tdex_daemon.v1.UtxoInfo + (ActionType)(0), // 104: tdex_daemon.v1.ActionType + (*WebhookInfo)(nil), // 105: tdex_daemon.v1.WebhookInfo + (*Deposit)(nil), // 106: tdex_daemon.v1.Deposit + (*Withdrawal)(nil), // 107: tdex_daemon.v1.Withdrawal + (*TimeRange)(nil), // 108: tdex_daemon.v1.TimeRange + (TimeFrame)(0), // 109: tdex_daemon.v1.TimeFrame + (*MarketReport)(nil), // 110: tdex_daemon.v1.MarketReport + (*BalanceInfo)(nil), // 111: tdex_daemon.v1.BalanceInfo } var file_tdex_daemon_v1_operator_proto_depIdxs = []int32{ - 88, // 0: tdex_daemon.v1.GetInfoResponse.account_info:type_name -> tdex_daemon.v1.AccountInfo - 2, // 1: tdex_daemon.v1.GetInfoResponse.build_data:type_name -> tdex_daemon.v1.BuildInfo - 89, // 2: tdex_daemon.v1.GetFeeAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 89, // 3: tdex_daemon.v1.ListFeeAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 90, // 4: tdex_daemon.v1.ClaimFeeDepositsRequest.outpoints:type_name -> tdex_daemon.v1.Outpoint - 91, // 5: tdex_daemon.v1.NewMarketRequest.market:type_name -> tdex.v1.Market - 91, // 6: tdex_daemon.v1.GetMarketInfoRequest.market:type_name -> tdex.v1.Market - 92, // 7: tdex_daemon.v1.GetMarketInfoResponse.info:type_name -> tdex_daemon.v1.MarketInfo - 91, // 8: tdex_daemon.v1.GetMarketAddressRequest.market:type_name -> tdex.v1.Market - 89, // 9: tdex_daemon.v1.GetMarketAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 91, // 10: tdex_daemon.v1.ListMarketAddressesRequest.market:type_name -> tdex.v1.Market - 89, // 11: tdex_daemon.v1.ListMarketAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 91, // 12: tdex_daemon.v1.GetMarketBalanceRequest.market:type_name -> tdex.v1.Market - 93, // 13: tdex_daemon.v1.GetMarketBalanceResponse.available_balance:type_name -> tdex.v1.Balance - 93, // 14: tdex_daemon.v1.GetMarketBalanceResponse.total_balance:type_name -> tdex.v1.Balance - 91, // 15: tdex_daemon.v1.ClaimMarketDepositsRequest.market:type_name -> tdex.v1.Market - 90, // 16: tdex_daemon.v1.ClaimMarketDepositsRequest.outpoints:type_name -> tdex_daemon.v1.Outpoint - 91, // 17: tdex_daemon.v1.OpenMarketRequest.market:type_name -> tdex.v1.Market - 91, // 18: tdex_daemon.v1.CloseMarketRequest.market:type_name -> tdex.v1.Market - 92, // 19: tdex_daemon.v1.ListMarketsResponse.markets:type_name -> tdex_daemon.v1.MarketInfo - 91, // 20: tdex_daemon.v1.DropMarketRequest.market:type_name -> tdex.v1.Market - 91, // 21: tdex_daemon.v1.GetMarketCollectedSwapFeesRequest.market:type_name -> tdex.v1.Market - 94, // 22: tdex_daemon.v1.GetMarketCollectedSwapFeesRequest.page:type_name -> tdex_daemon.v1.Page - 95, // 23: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.collected_fees:type_name -> tdex_daemon.v1.FeeInfo - 85, // 24: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.total_collected_fees_per_asset:type_name -> tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.TotalCollectedFeesPerAssetEntry - 91, // 25: tdex_daemon.v1.WithdrawMarketRequest.market:type_name -> tdex.v1.Market - 93, // 26: tdex_daemon.v1.WithdrawMarketRequest.balance_to_withdraw:type_name -> tdex.v1.Balance - 91, // 27: tdex_daemon.v1.UpdateMarketPercentageFeeRequest.market:type_name -> tdex.v1.Market - 96, // 28: tdex_daemon.v1.UpdateMarketPercentageFeeResponse.market_with_fee:type_name -> tdex.v1.MarketWithFee - 91, // 29: tdex_daemon.v1.UpdateMarketFixedFeeRequest.market:type_name -> tdex.v1.Market - 97, // 30: tdex_daemon.v1.UpdateMarketFixedFeeRequest.fixed:type_name -> tdex.v1.Fixed - 96, // 31: tdex_daemon.v1.UpdateMarketFixedFeeResponse.market_with_fee:type_name -> tdex.v1.MarketWithFee - 91, // 32: tdex_daemon.v1.UpdateMarketAssetsPrecisionRequest.market:type_name -> tdex.v1.Market - 91, // 33: tdex_daemon.v1.UpdateMarketPriceRequest.market:type_name -> tdex.v1.Market - 98, // 34: tdex_daemon.v1.UpdateMarketPriceRequest.price:type_name -> tdex.v1.Price - 91, // 35: tdex_daemon.v1.UpdateMarketStrategyRequest.market:type_name -> tdex.v1.Market - 99, // 36: tdex_daemon.v1.UpdateMarketStrategyRequest.strategy_type:type_name -> tdex_daemon.v1.StrategyType - 89, // 37: tdex_daemon.v1.GetFeeFragmenterAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 89, // 38: tdex_daemon.v1.ListFeeFragmenterAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 86, // 39: tdex_daemon.v1.GetFeeFragmenterBalanceResponse.balance:type_name -> tdex_daemon.v1.GetFeeFragmenterBalanceResponse.BalanceEntry - 89, // 40: tdex_daemon.v1.GetMarketFragmenterAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 89, // 41: tdex_daemon.v1.ListMarketFragmenterAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey - 87, // 42: tdex_daemon.v1.GetMarketFragmenterBalanceResponse.balance:type_name -> tdex_daemon.v1.GetMarketFragmenterBalanceResponse.BalanceEntry - 91, // 43: tdex_daemon.v1.MarketFragmenterSplitFundsRequest.market:type_name -> tdex.v1.Market - 91, // 44: tdex_daemon.v1.ListTradesRequest.market:type_name -> tdex.v1.Market - 94, // 45: tdex_daemon.v1.ListTradesRequest.page:type_name -> tdex_daemon.v1.Page - 100, // 46: tdex_daemon.v1.ListTradesResponse.trades:type_name -> tdex_daemon.v1.TradeInfo - 94, // 47: tdex_daemon.v1.ListUtxosRequest.page:type_name -> tdex_daemon.v1.Page - 101, // 48: tdex_daemon.v1.ListUtxosResponse.unspents:type_name -> tdex_daemon.v1.UtxoInfo - 101, // 49: tdex_daemon.v1.ListUtxosResponse.spents:type_name -> tdex_daemon.v1.UtxoInfo - 101, // 50: tdex_daemon.v1.ListUtxosResponse.locks:type_name -> tdex_daemon.v1.UtxoInfo - 102, // 51: tdex_daemon.v1.AddWebhookRequest.action:type_name -> tdex_daemon.v1.ActionType - 102, // 52: tdex_daemon.v1.ListWebhooksRequest.action:type_name -> tdex_daemon.v1.ActionType - 103, // 53: tdex_daemon.v1.ListWebhooksResponse.webhook_info:type_name -> tdex_daemon.v1.WebhookInfo - 94, // 54: tdex_daemon.v1.ListDepositsRequest.page:type_name -> tdex_daemon.v1.Page - 104, // 55: tdex_daemon.v1.ListDepositsResponse.deposits:type_name -> tdex_daemon.v1.Deposit - 94, // 56: tdex_daemon.v1.ListWithdrawalsRequest.page:type_name -> tdex_daemon.v1.Page - 105, // 57: tdex_daemon.v1.ListWithdrawalsResponse.withdrawals:type_name -> tdex_daemon.v1.Withdrawal - 91, // 58: tdex_daemon.v1.GetMarketReportRequest.market:type_name -> tdex.v1.Market - 106, // 59: tdex_daemon.v1.GetMarketReportRequest.time_range:type_name -> tdex_daemon.v1.TimeRange - 107, // 60: tdex_daemon.v1.GetMarketReportRequest.time_frame:type_name -> tdex_daemon.v1.TimeFrame - 108, // 61: tdex_daemon.v1.GetMarketReportResponse.report:type_name -> tdex_daemon.v1.MarketReport - 109, // 62: tdex_daemon.v1.GetFeeFragmenterBalanceResponse.BalanceEntry.value:type_name -> tdex_daemon.v1.BalanceInfo - 109, // 63: tdex_daemon.v1.GetMarketFragmenterBalanceResponse.BalanceEntry.value:type_name -> tdex_daemon.v1.BalanceInfo - 0, // 64: tdex_daemon.v1.OperatorService.GetInfo:input_type -> tdex_daemon.v1.GetInfoRequest - 3, // 65: tdex_daemon.v1.OperatorService.GetFeeAddress:input_type -> tdex_daemon.v1.GetFeeAddressRequest - 5, // 66: tdex_daemon.v1.OperatorService.ListFeeAddresses:input_type -> tdex_daemon.v1.ListFeeAddressesRequest - 7, // 67: tdex_daemon.v1.OperatorService.GetFeeBalance:input_type -> tdex_daemon.v1.GetFeeBalanceRequest - 9, // 68: tdex_daemon.v1.OperatorService.ClaimFeeDeposits:input_type -> tdex_daemon.v1.ClaimFeeDepositsRequest - 11, // 69: tdex_daemon.v1.OperatorService.WithdrawFee:input_type -> tdex_daemon.v1.WithdrawFeeRequest - 13, // 70: tdex_daemon.v1.OperatorService.NewMarket:input_type -> tdex_daemon.v1.NewMarketRequest - 15, // 71: tdex_daemon.v1.OperatorService.GetMarketInfo:input_type -> tdex_daemon.v1.GetMarketInfoRequest - 17, // 72: tdex_daemon.v1.OperatorService.GetMarketAddress:input_type -> tdex_daemon.v1.GetMarketAddressRequest - 19, // 73: tdex_daemon.v1.OperatorService.ListMarketAddresses:input_type -> tdex_daemon.v1.ListMarketAddressesRequest - 21, // 74: tdex_daemon.v1.OperatorService.GetMarketBalance:input_type -> tdex_daemon.v1.GetMarketBalanceRequest - 23, // 75: tdex_daemon.v1.OperatorService.ClaimMarketDeposits:input_type -> tdex_daemon.v1.ClaimMarketDepositsRequest - 25, // 76: tdex_daemon.v1.OperatorService.OpenMarket:input_type -> tdex_daemon.v1.OpenMarketRequest - 27, // 77: tdex_daemon.v1.OperatorService.CloseMarket:input_type -> tdex_daemon.v1.CloseMarketRequest - 31, // 78: tdex_daemon.v1.OperatorService.DropMarket:input_type -> tdex_daemon.v1.DropMarketRequest - 33, // 79: tdex_daemon.v1.OperatorService.GetMarketCollectedSwapFees:input_type -> tdex_daemon.v1.GetMarketCollectedSwapFeesRequest - 35, // 80: tdex_daemon.v1.OperatorService.WithdrawMarket:input_type -> tdex_daemon.v1.WithdrawMarketRequest - 37, // 81: tdex_daemon.v1.OperatorService.UpdateMarketPercentageFee:input_type -> tdex_daemon.v1.UpdateMarketPercentageFeeRequest - 39, // 82: tdex_daemon.v1.OperatorService.UpdateMarketFixedFee:input_type -> tdex_daemon.v1.UpdateMarketFixedFeeRequest - 41, // 83: tdex_daemon.v1.OperatorService.UpdateMarketAssetsPrecision:input_type -> tdex_daemon.v1.UpdateMarketAssetsPrecisionRequest - 43, // 84: tdex_daemon.v1.OperatorService.UpdateMarketPrice:input_type -> tdex_daemon.v1.UpdateMarketPriceRequest - 45, // 85: tdex_daemon.v1.OperatorService.UpdateMarketStrategy:input_type -> tdex_daemon.v1.UpdateMarketStrategyRequest - 47, // 86: tdex_daemon.v1.OperatorService.GetFeeFragmenterAddress:input_type -> tdex_daemon.v1.GetFeeFragmenterAddressRequest - 49, // 87: tdex_daemon.v1.OperatorService.ListFeeFragmenterAddresses:input_type -> tdex_daemon.v1.ListFeeFragmenterAddressesRequest - 51, // 88: tdex_daemon.v1.OperatorService.GetFeeFragmenterBalance:input_type -> tdex_daemon.v1.GetFeeFragmenterBalanceRequest - 53, // 89: tdex_daemon.v1.OperatorService.FeeFragmenterSplitFunds:input_type -> tdex_daemon.v1.FeeFragmenterSplitFundsRequest - 55, // 90: tdex_daemon.v1.OperatorService.WithdrawFeeFragmenter:input_type -> tdex_daemon.v1.WithdrawFeeFragmenterRequest - 57, // 91: tdex_daemon.v1.OperatorService.GetMarketFragmenterAddress:input_type -> tdex_daemon.v1.GetMarketFragmenterAddressRequest - 59, // 92: tdex_daemon.v1.OperatorService.ListMarketFragmenterAddresses:input_type -> tdex_daemon.v1.ListMarketFragmenterAddressesRequest - 61, // 93: tdex_daemon.v1.OperatorService.GetMarketFragmenterBalance:input_type -> tdex_daemon.v1.GetMarketFragmenterBalanceRequest - 63, // 94: tdex_daemon.v1.OperatorService.MarketFragmenterSplitFunds:input_type -> tdex_daemon.v1.MarketFragmenterSplitFundsRequest - 65, // 95: tdex_daemon.v1.OperatorService.WithdrawMarketFragmenter:input_type -> tdex_daemon.v1.WithdrawMarketFragmenterRequest - 29, // 96: tdex_daemon.v1.OperatorService.ListMarkets:input_type -> tdex_daemon.v1.ListMarketsRequest - 67, // 97: tdex_daemon.v1.OperatorService.ListTrades:input_type -> tdex_daemon.v1.ListTradesRequest - 69, // 98: tdex_daemon.v1.OperatorService.ReloadUtxos:input_type -> tdex_daemon.v1.ReloadUtxosRequest - 71, // 99: tdex_daemon.v1.OperatorService.ListUtxos:input_type -> tdex_daemon.v1.ListUtxosRequest - 73, // 100: tdex_daemon.v1.OperatorService.AddWebhook:input_type -> tdex_daemon.v1.AddWebhookRequest - 75, // 101: tdex_daemon.v1.OperatorService.RemoveWebhook:input_type -> tdex_daemon.v1.RemoveWebhookRequest - 77, // 102: tdex_daemon.v1.OperatorService.ListWebhooks:input_type -> tdex_daemon.v1.ListWebhooksRequest - 79, // 103: tdex_daemon.v1.OperatorService.ListDeposits:input_type -> tdex_daemon.v1.ListDepositsRequest - 81, // 104: tdex_daemon.v1.OperatorService.ListWithdrawals:input_type -> tdex_daemon.v1.ListWithdrawalsRequest - 83, // 105: tdex_daemon.v1.OperatorService.GetMarketReport:input_type -> tdex_daemon.v1.GetMarketReportRequest - 1, // 106: tdex_daemon.v1.OperatorService.GetInfo:output_type -> tdex_daemon.v1.GetInfoResponse - 4, // 107: tdex_daemon.v1.OperatorService.GetFeeAddress:output_type -> tdex_daemon.v1.GetFeeAddressResponse - 6, // 108: tdex_daemon.v1.OperatorService.ListFeeAddresses:output_type -> tdex_daemon.v1.ListFeeAddressesResponse - 8, // 109: tdex_daemon.v1.OperatorService.GetFeeBalance:output_type -> tdex_daemon.v1.GetFeeBalanceResponse - 10, // 110: tdex_daemon.v1.OperatorService.ClaimFeeDeposits:output_type -> tdex_daemon.v1.ClaimFeeDepositsResponse - 12, // 111: tdex_daemon.v1.OperatorService.WithdrawFee:output_type -> tdex_daemon.v1.WithdrawFeeResponse - 14, // 112: tdex_daemon.v1.OperatorService.NewMarket:output_type -> tdex_daemon.v1.NewMarketResponse - 16, // 113: tdex_daemon.v1.OperatorService.GetMarketInfo:output_type -> tdex_daemon.v1.GetMarketInfoResponse - 18, // 114: tdex_daemon.v1.OperatorService.GetMarketAddress:output_type -> tdex_daemon.v1.GetMarketAddressResponse - 20, // 115: tdex_daemon.v1.OperatorService.ListMarketAddresses:output_type -> tdex_daemon.v1.ListMarketAddressesResponse - 22, // 116: tdex_daemon.v1.OperatorService.GetMarketBalance:output_type -> tdex_daemon.v1.GetMarketBalanceResponse - 24, // 117: tdex_daemon.v1.OperatorService.ClaimMarketDeposits:output_type -> tdex_daemon.v1.ClaimMarketDepositsResponse - 26, // 118: tdex_daemon.v1.OperatorService.OpenMarket:output_type -> tdex_daemon.v1.OpenMarketResponse - 28, // 119: tdex_daemon.v1.OperatorService.CloseMarket:output_type -> tdex_daemon.v1.CloseMarketResponse - 32, // 120: tdex_daemon.v1.OperatorService.DropMarket:output_type -> tdex_daemon.v1.DropMarketResponse - 34, // 121: tdex_daemon.v1.OperatorService.GetMarketCollectedSwapFees:output_type -> tdex_daemon.v1.GetMarketCollectedSwapFeesResponse - 36, // 122: tdex_daemon.v1.OperatorService.WithdrawMarket:output_type -> tdex_daemon.v1.WithdrawMarketResponse - 38, // 123: tdex_daemon.v1.OperatorService.UpdateMarketPercentageFee:output_type -> tdex_daemon.v1.UpdateMarketPercentageFeeResponse - 40, // 124: tdex_daemon.v1.OperatorService.UpdateMarketFixedFee:output_type -> tdex_daemon.v1.UpdateMarketFixedFeeResponse - 42, // 125: tdex_daemon.v1.OperatorService.UpdateMarketAssetsPrecision:output_type -> tdex_daemon.v1.UpdateMarketAssetsPrecisionResponse - 44, // 126: tdex_daemon.v1.OperatorService.UpdateMarketPrice:output_type -> tdex_daemon.v1.UpdateMarketPriceResponse - 46, // 127: tdex_daemon.v1.OperatorService.UpdateMarketStrategy:output_type -> tdex_daemon.v1.UpdateMarketStrategyResponse - 48, // 128: tdex_daemon.v1.OperatorService.GetFeeFragmenterAddress:output_type -> tdex_daemon.v1.GetFeeFragmenterAddressResponse - 50, // 129: tdex_daemon.v1.OperatorService.ListFeeFragmenterAddresses:output_type -> tdex_daemon.v1.ListFeeFragmenterAddressesResponse - 52, // 130: tdex_daemon.v1.OperatorService.GetFeeFragmenterBalance:output_type -> tdex_daemon.v1.GetFeeFragmenterBalanceResponse - 54, // 131: tdex_daemon.v1.OperatorService.FeeFragmenterSplitFunds:output_type -> tdex_daemon.v1.FeeFragmenterSplitFundsResponse - 56, // 132: tdex_daemon.v1.OperatorService.WithdrawFeeFragmenter:output_type -> tdex_daemon.v1.WithdrawFeeFragmenterResponse - 58, // 133: tdex_daemon.v1.OperatorService.GetMarketFragmenterAddress:output_type -> tdex_daemon.v1.GetMarketFragmenterAddressResponse - 60, // 134: tdex_daemon.v1.OperatorService.ListMarketFragmenterAddresses:output_type -> tdex_daemon.v1.ListMarketFragmenterAddressesResponse - 62, // 135: tdex_daemon.v1.OperatorService.GetMarketFragmenterBalance:output_type -> tdex_daemon.v1.GetMarketFragmenterBalanceResponse - 64, // 136: tdex_daemon.v1.OperatorService.MarketFragmenterSplitFunds:output_type -> tdex_daemon.v1.MarketFragmenterSplitFundsResponse - 66, // 137: tdex_daemon.v1.OperatorService.WithdrawMarketFragmenter:output_type -> tdex_daemon.v1.WithdrawMarketFragmenterResponse - 30, // 138: tdex_daemon.v1.OperatorService.ListMarkets:output_type -> tdex_daemon.v1.ListMarketsResponse - 68, // 139: tdex_daemon.v1.OperatorService.ListTrades:output_type -> tdex_daemon.v1.ListTradesResponse - 70, // 140: tdex_daemon.v1.OperatorService.ReloadUtxos:output_type -> tdex_daemon.v1.ReloadUtxosResponse - 72, // 141: tdex_daemon.v1.OperatorService.ListUtxos:output_type -> tdex_daemon.v1.ListUtxosResponse - 74, // 142: tdex_daemon.v1.OperatorService.AddWebhook:output_type -> tdex_daemon.v1.AddWebhookResponse - 76, // 143: tdex_daemon.v1.OperatorService.RemoveWebhook:output_type -> tdex_daemon.v1.RemoveWebhookResponse - 78, // 144: tdex_daemon.v1.OperatorService.ListWebhooks:output_type -> tdex_daemon.v1.ListWebhooksResponse - 80, // 145: tdex_daemon.v1.OperatorService.ListDeposits:output_type -> tdex_daemon.v1.ListDepositsResponse - 82, // 146: tdex_daemon.v1.OperatorService.ListWithdrawals:output_type -> tdex_daemon.v1.ListWithdrawalsResponse - 84, // 147: tdex_daemon.v1.OperatorService.GetMarketReport:output_type -> tdex_daemon.v1.GetMarketReportResponse - 106, // [106:148] is the sub-list for method output_type - 64, // [64:106] is the sub-list for method input_type + 90, // 0: tdex_daemon.v1.GetInfoResponse.account_info:type_name -> tdex_daemon.v1.AccountInfo + 4, // 1: tdex_daemon.v1.GetInfoResponse.build_data:type_name -> tdex_daemon.v1.BuildInfo + 91, // 2: tdex_daemon.v1.GetFeeAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 91, // 3: tdex_daemon.v1.ListFeeAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 92, // 4: tdex_daemon.v1.ClaimFeeDepositsRequest.outpoints:type_name -> tdex_daemon.v1.Outpoint + 93, // 5: tdex_daemon.v1.NewMarketRequest.market:type_name -> tdex.v1.Market + 93, // 6: tdex_daemon.v1.GetMarketInfoRequest.market:type_name -> tdex.v1.Market + 94, // 7: tdex_daemon.v1.GetMarketInfoResponse.info:type_name -> tdex_daemon.v1.MarketInfo + 93, // 8: tdex_daemon.v1.GetMarketAddressRequest.market:type_name -> tdex.v1.Market + 91, // 9: tdex_daemon.v1.GetMarketAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 93, // 10: tdex_daemon.v1.ListMarketAddressesRequest.market:type_name -> tdex.v1.Market + 91, // 11: tdex_daemon.v1.ListMarketAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 93, // 12: tdex_daemon.v1.GetMarketBalanceRequest.market:type_name -> tdex.v1.Market + 95, // 13: tdex_daemon.v1.GetMarketBalanceResponse.available_balance:type_name -> tdex.v1.Balance + 95, // 14: tdex_daemon.v1.GetMarketBalanceResponse.total_balance:type_name -> tdex.v1.Balance + 93, // 15: tdex_daemon.v1.ClaimMarketDepositsRequest.market:type_name -> tdex.v1.Market + 92, // 16: tdex_daemon.v1.ClaimMarketDepositsRequest.outpoints:type_name -> tdex_daemon.v1.Outpoint + 93, // 17: tdex_daemon.v1.OpenMarketRequest.market:type_name -> tdex.v1.Market + 93, // 18: tdex_daemon.v1.CloseMarketRequest.market:type_name -> tdex.v1.Market + 94, // 19: tdex_daemon.v1.ListMarketsResponse.markets:type_name -> tdex_daemon.v1.MarketInfo + 93, // 20: tdex_daemon.v1.DropMarketRequest.market:type_name -> tdex.v1.Market + 93, // 21: tdex_daemon.v1.GetMarketCollectedSwapFeesRequest.market:type_name -> tdex.v1.Market + 96, // 22: tdex_daemon.v1.GetMarketCollectedSwapFeesRequest.page:type_name -> tdex_daemon.v1.Page + 97, // 23: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.collected_fees:type_name -> tdex_daemon.v1.FeeInfo + 87, // 24: tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.total_collected_fees_per_asset:type_name -> tdex_daemon.v1.GetMarketCollectedSwapFeesResponse.TotalCollectedFeesPerAssetEntry + 93, // 25: tdex_daemon.v1.WithdrawMarketRequest.market:type_name -> tdex.v1.Market + 95, // 26: tdex_daemon.v1.WithdrawMarketRequest.balance_to_withdraw:type_name -> tdex.v1.Balance + 93, // 27: tdex_daemon.v1.UpdateMarketPercentageFeeRequest.market:type_name -> tdex.v1.Market + 98, // 28: tdex_daemon.v1.UpdateMarketPercentageFeeResponse.market_with_fee:type_name -> tdex.v1.MarketWithFee + 93, // 29: tdex_daemon.v1.UpdateMarketFixedFeeRequest.market:type_name -> tdex.v1.Market + 99, // 30: tdex_daemon.v1.UpdateMarketFixedFeeRequest.fixed:type_name -> tdex.v1.Fixed + 98, // 31: tdex_daemon.v1.UpdateMarketFixedFeeResponse.market_with_fee:type_name -> tdex.v1.MarketWithFee + 93, // 32: tdex_daemon.v1.UpdateMarketAssetsPrecisionRequest.market:type_name -> tdex.v1.Market + 93, // 33: tdex_daemon.v1.UpdateMarketPriceRequest.market:type_name -> tdex.v1.Market + 100, // 34: tdex_daemon.v1.UpdateMarketPriceRequest.price:type_name -> tdex.v1.Price + 93, // 35: tdex_daemon.v1.UpdateMarketStrategyRequest.market:type_name -> tdex.v1.Market + 101, // 36: tdex_daemon.v1.UpdateMarketStrategyRequest.strategy_type:type_name -> tdex_daemon.v1.StrategyType + 91, // 37: tdex_daemon.v1.GetFeeFragmenterAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 91, // 38: tdex_daemon.v1.ListFeeFragmenterAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 88, // 39: tdex_daemon.v1.GetFeeFragmenterBalanceResponse.balance:type_name -> tdex_daemon.v1.GetFeeFragmenterBalanceResponse.BalanceEntry + 91, // 40: tdex_daemon.v1.GetMarketFragmenterAddressResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 91, // 41: tdex_daemon.v1.ListMarketFragmenterAddressesResponse.address_with_blinding_key:type_name -> tdex_daemon.v1.AddressWithBlindingKey + 89, // 42: tdex_daemon.v1.GetMarketFragmenterBalanceResponse.balance:type_name -> tdex_daemon.v1.GetMarketFragmenterBalanceResponse.BalanceEntry + 93, // 43: tdex_daemon.v1.MarketFragmenterSplitFundsRequest.market:type_name -> tdex.v1.Market + 93, // 44: tdex_daemon.v1.ListTradesRequest.market:type_name -> tdex.v1.Market + 96, // 45: tdex_daemon.v1.ListTradesRequest.page:type_name -> tdex_daemon.v1.Page + 102, // 46: tdex_daemon.v1.ListTradesResponse.trades:type_name -> tdex_daemon.v1.TradeInfo + 96, // 47: tdex_daemon.v1.ListUtxosRequest.page:type_name -> tdex_daemon.v1.Page + 103, // 48: tdex_daemon.v1.ListUtxosResponse.unspents:type_name -> tdex_daemon.v1.UtxoInfo + 103, // 49: tdex_daemon.v1.ListUtxosResponse.spents:type_name -> tdex_daemon.v1.UtxoInfo + 103, // 50: tdex_daemon.v1.ListUtxosResponse.locks:type_name -> tdex_daemon.v1.UtxoInfo + 104, // 51: tdex_daemon.v1.AddWebhookRequest.action:type_name -> tdex_daemon.v1.ActionType + 104, // 52: tdex_daemon.v1.ListWebhooksRequest.action:type_name -> tdex_daemon.v1.ActionType + 105, // 53: tdex_daemon.v1.ListWebhooksResponse.webhook_info:type_name -> tdex_daemon.v1.WebhookInfo + 96, // 54: tdex_daemon.v1.ListDepositsRequest.page:type_name -> tdex_daemon.v1.Page + 106, // 55: tdex_daemon.v1.ListDepositsResponse.deposits:type_name -> tdex_daemon.v1.Deposit + 96, // 56: tdex_daemon.v1.ListWithdrawalsRequest.page:type_name -> tdex_daemon.v1.Page + 107, // 57: tdex_daemon.v1.ListWithdrawalsResponse.withdrawals:type_name -> tdex_daemon.v1.Withdrawal + 93, // 58: tdex_daemon.v1.GetMarketReportRequest.market:type_name -> tdex.v1.Market + 108, // 59: tdex_daemon.v1.GetMarketReportRequest.time_range:type_name -> tdex_daemon.v1.TimeRange + 109, // 60: tdex_daemon.v1.GetMarketReportRequest.time_frame:type_name -> tdex_daemon.v1.TimeFrame + 110, // 61: tdex_daemon.v1.GetMarketReportResponse.report:type_name -> tdex_daemon.v1.MarketReport + 111, // 62: tdex_daemon.v1.GetFeeFragmenterBalanceResponse.BalanceEntry.value:type_name -> tdex_daemon.v1.BalanceInfo + 111, // 63: tdex_daemon.v1.GetMarketFragmenterBalanceResponse.BalanceEntry.value:type_name -> tdex_daemon.v1.BalanceInfo + 2, // 64: tdex_daemon.v1.OperatorService.GetInfo:input_type -> tdex_daemon.v1.GetInfoRequest + 5, // 65: tdex_daemon.v1.OperatorService.GetFeeAddress:input_type -> tdex_daemon.v1.GetFeeAddressRequest + 7, // 66: tdex_daemon.v1.OperatorService.ListFeeAddresses:input_type -> tdex_daemon.v1.ListFeeAddressesRequest + 9, // 67: tdex_daemon.v1.OperatorService.GetFeeBalance:input_type -> tdex_daemon.v1.GetFeeBalanceRequest + 11, // 68: tdex_daemon.v1.OperatorService.ClaimFeeDeposits:input_type -> tdex_daemon.v1.ClaimFeeDepositsRequest + 13, // 69: tdex_daemon.v1.OperatorService.WithdrawFee:input_type -> tdex_daemon.v1.WithdrawFeeRequest + 15, // 70: tdex_daemon.v1.OperatorService.NewMarket:input_type -> tdex_daemon.v1.NewMarketRequest + 17, // 71: tdex_daemon.v1.OperatorService.GetMarketInfo:input_type -> tdex_daemon.v1.GetMarketInfoRequest + 19, // 72: tdex_daemon.v1.OperatorService.GetMarketAddress:input_type -> tdex_daemon.v1.GetMarketAddressRequest + 21, // 73: tdex_daemon.v1.OperatorService.ListMarketAddresses:input_type -> tdex_daemon.v1.ListMarketAddressesRequest + 23, // 74: tdex_daemon.v1.OperatorService.GetMarketBalance:input_type -> tdex_daemon.v1.GetMarketBalanceRequest + 25, // 75: tdex_daemon.v1.OperatorService.ClaimMarketDeposits:input_type -> tdex_daemon.v1.ClaimMarketDepositsRequest + 27, // 76: tdex_daemon.v1.OperatorService.OpenMarket:input_type -> tdex_daemon.v1.OpenMarketRequest + 29, // 77: tdex_daemon.v1.OperatorService.CloseMarket:input_type -> tdex_daemon.v1.CloseMarketRequest + 33, // 78: tdex_daemon.v1.OperatorService.DropMarket:input_type -> tdex_daemon.v1.DropMarketRequest + 35, // 79: tdex_daemon.v1.OperatorService.GetMarketCollectedSwapFees:input_type -> tdex_daemon.v1.GetMarketCollectedSwapFeesRequest + 37, // 80: tdex_daemon.v1.OperatorService.WithdrawMarket:input_type -> tdex_daemon.v1.WithdrawMarketRequest + 39, // 81: tdex_daemon.v1.OperatorService.UpdateMarketPercentageFee:input_type -> tdex_daemon.v1.UpdateMarketPercentageFeeRequest + 41, // 82: tdex_daemon.v1.OperatorService.UpdateMarketFixedFee:input_type -> tdex_daemon.v1.UpdateMarketFixedFeeRequest + 43, // 83: tdex_daemon.v1.OperatorService.UpdateMarketAssetsPrecision:input_type -> tdex_daemon.v1.UpdateMarketAssetsPrecisionRequest + 45, // 84: tdex_daemon.v1.OperatorService.UpdateMarketPrice:input_type -> tdex_daemon.v1.UpdateMarketPriceRequest + 47, // 85: tdex_daemon.v1.OperatorService.UpdateMarketStrategy:input_type -> tdex_daemon.v1.UpdateMarketStrategyRequest + 49, // 86: tdex_daemon.v1.OperatorService.GetFeeFragmenterAddress:input_type -> tdex_daemon.v1.GetFeeFragmenterAddressRequest + 51, // 87: tdex_daemon.v1.OperatorService.ListFeeFragmenterAddresses:input_type -> tdex_daemon.v1.ListFeeFragmenterAddressesRequest + 53, // 88: tdex_daemon.v1.OperatorService.GetFeeFragmenterBalance:input_type -> tdex_daemon.v1.GetFeeFragmenterBalanceRequest + 55, // 89: tdex_daemon.v1.OperatorService.FeeFragmenterSplitFunds:input_type -> tdex_daemon.v1.FeeFragmenterSplitFundsRequest + 57, // 90: tdex_daemon.v1.OperatorService.WithdrawFeeFragmenter:input_type -> tdex_daemon.v1.WithdrawFeeFragmenterRequest + 59, // 91: tdex_daemon.v1.OperatorService.GetMarketFragmenterAddress:input_type -> tdex_daemon.v1.GetMarketFragmenterAddressRequest + 61, // 92: tdex_daemon.v1.OperatorService.ListMarketFragmenterAddresses:input_type -> tdex_daemon.v1.ListMarketFragmenterAddressesRequest + 63, // 93: tdex_daemon.v1.OperatorService.GetMarketFragmenterBalance:input_type -> tdex_daemon.v1.GetMarketFragmenterBalanceRequest + 65, // 94: tdex_daemon.v1.OperatorService.MarketFragmenterSplitFunds:input_type -> tdex_daemon.v1.MarketFragmenterSplitFundsRequest + 67, // 95: tdex_daemon.v1.OperatorService.WithdrawMarketFragmenter:input_type -> tdex_daemon.v1.WithdrawMarketFragmenterRequest + 31, // 96: tdex_daemon.v1.OperatorService.ListMarkets:input_type -> tdex_daemon.v1.ListMarketsRequest + 69, // 97: tdex_daemon.v1.OperatorService.ListTrades:input_type -> tdex_daemon.v1.ListTradesRequest + 71, // 98: tdex_daemon.v1.OperatorService.ReloadUtxos:input_type -> tdex_daemon.v1.ReloadUtxosRequest + 73, // 99: tdex_daemon.v1.OperatorService.ListUtxos:input_type -> tdex_daemon.v1.ListUtxosRequest + 75, // 100: tdex_daemon.v1.OperatorService.AddWebhook:input_type -> tdex_daemon.v1.AddWebhookRequest + 77, // 101: tdex_daemon.v1.OperatorService.RemoveWebhook:input_type -> tdex_daemon.v1.RemoveWebhookRequest + 79, // 102: tdex_daemon.v1.OperatorService.ListWebhooks:input_type -> tdex_daemon.v1.ListWebhooksRequest + 81, // 103: tdex_daemon.v1.OperatorService.ListDeposits:input_type -> tdex_daemon.v1.ListDepositsRequest + 83, // 104: tdex_daemon.v1.OperatorService.ListWithdrawals:input_type -> tdex_daemon.v1.ListWithdrawalsRequest + 85, // 105: tdex_daemon.v1.OperatorService.GetMarketReport:input_type -> tdex_daemon.v1.GetMarketReportRequest + 0, // 106: tdex_daemon.v1.OperatorService.ListProtoServices:input_type -> tdex_daemon.v1.ListProtoServicesRequest + 3, // 107: tdex_daemon.v1.OperatorService.GetInfo:output_type -> tdex_daemon.v1.GetInfoResponse + 6, // 108: tdex_daemon.v1.OperatorService.GetFeeAddress:output_type -> tdex_daemon.v1.GetFeeAddressResponse + 8, // 109: tdex_daemon.v1.OperatorService.ListFeeAddresses:output_type -> tdex_daemon.v1.ListFeeAddressesResponse + 10, // 110: tdex_daemon.v1.OperatorService.GetFeeBalance:output_type -> tdex_daemon.v1.GetFeeBalanceResponse + 12, // 111: tdex_daemon.v1.OperatorService.ClaimFeeDeposits:output_type -> tdex_daemon.v1.ClaimFeeDepositsResponse + 14, // 112: tdex_daemon.v1.OperatorService.WithdrawFee:output_type -> tdex_daemon.v1.WithdrawFeeResponse + 16, // 113: tdex_daemon.v1.OperatorService.NewMarket:output_type -> tdex_daemon.v1.NewMarketResponse + 18, // 114: tdex_daemon.v1.OperatorService.GetMarketInfo:output_type -> tdex_daemon.v1.GetMarketInfoResponse + 20, // 115: tdex_daemon.v1.OperatorService.GetMarketAddress:output_type -> tdex_daemon.v1.GetMarketAddressResponse + 22, // 116: tdex_daemon.v1.OperatorService.ListMarketAddresses:output_type -> tdex_daemon.v1.ListMarketAddressesResponse + 24, // 117: tdex_daemon.v1.OperatorService.GetMarketBalance:output_type -> tdex_daemon.v1.GetMarketBalanceResponse + 26, // 118: tdex_daemon.v1.OperatorService.ClaimMarketDeposits:output_type -> tdex_daemon.v1.ClaimMarketDepositsResponse + 28, // 119: tdex_daemon.v1.OperatorService.OpenMarket:output_type -> tdex_daemon.v1.OpenMarketResponse + 30, // 120: tdex_daemon.v1.OperatorService.CloseMarket:output_type -> tdex_daemon.v1.CloseMarketResponse + 34, // 121: tdex_daemon.v1.OperatorService.DropMarket:output_type -> tdex_daemon.v1.DropMarketResponse + 36, // 122: tdex_daemon.v1.OperatorService.GetMarketCollectedSwapFees:output_type -> tdex_daemon.v1.GetMarketCollectedSwapFeesResponse + 38, // 123: tdex_daemon.v1.OperatorService.WithdrawMarket:output_type -> tdex_daemon.v1.WithdrawMarketResponse + 40, // 124: tdex_daemon.v1.OperatorService.UpdateMarketPercentageFee:output_type -> tdex_daemon.v1.UpdateMarketPercentageFeeResponse + 42, // 125: tdex_daemon.v1.OperatorService.UpdateMarketFixedFee:output_type -> tdex_daemon.v1.UpdateMarketFixedFeeResponse + 44, // 126: tdex_daemon.v1.OperatorService.UpdateMarketAssetsPrecision:output_type -> tdex_daemon.v1.UpdateMarketAssetsPrecisionResponse + 46, // 127: tdex_daemon.v1.OperatorService.UpdateMarketPrice:output_type -> tdex_daemon.v1.UpdateMarketPriceResponse + 48, // 128: tdex_daemon.v1.OperatorService.UpdateMarketStrategy:output_type -> tdex_daemon.v1.UpdateMarketStrategyResponse + 50, // 129: tdex_daemon.v1.OperatorService.GetFeeFragmenterAddress:output_type -> tdex_daemon.v1.GetFeeFragmenterAddressResponse + 52, // 130: tdex_daemon.v1.OperatorService.ListFeeFragmenterAddresses:output_type -> tdex_daemon.v1.ListFeeFragmenterAddressesResponse + 54, // 131: tdex_daemon.v1.OperatorService.GetFeeFragmenterBalance:output_type -> tdex_daemon.v1.GetFeeFragmenterBalanceResponse + 56, // 132: tdex_daemon.v1.OperatorService.FeeFragmenterSplitFunds:output_type -> tdex_daemon.v1.FeeFragmenterSplitFundsResponse + 58, // 133: tdex_daemon.v1.OperatorService.WithdrawFeeFragmenter:output_type -> tdex_daemon.v1.WithdrawFeeFragmenterResponse + 60, // 134: tdex_daemon.v1.OperatorService.GetMarketFragmenterAddress:output_type -> tdex_daemon.v1.GetMarketFragmenterAddressResponse + 62, // 135: tdex_daemon.v1.OperatorService.ListMarketFragmenterAddresses:output_type -> tdex_daemon.v1.ListMarketFragmenterAddressesResponse + 64, // 136: tdex_daemon.v1.OperatorService.GetMarketFragmenterBalance:output_type -> tdex_daemon.v1.GetMarketFragmenterBalanceResponse + 66, // 137: tdex_daemon.v1.OperatorService.MarketFragmenterSplitFunds:output_type -> tdex_daemon.v1.MarketFragmenterSplitFundsResponse + 68, // 138: tdex_daemon.v1.OperatorService.WithdrawMarketFragmenter:output_type -> tdex_daemon.v1.WithdrawMarketFragmenterResponse + 32, // 139: tdex_daemon.v1.OperatorService.ListMarkets:output_type -> tdex_daemon.v1.ListMarketsResponse + 70, // 140: tdex_daemon.v1.OperatorService.ListTrades:output_type -> tdex_daemon.v1.ListTradesResponse + 72, // 141: tdex_daemon.v1.OperatorService.ReloadUtxos:output_type -> tdex_daemon.v1.ReloadUtxosResponse + 74, // 142: tdex_daemon.v1.OperatorService.ListUtxos:output_type -> tdex_daemon.v1.ListUtxosResponse + 76, // 143: tdex_daemon.v1.OperatorService.AddWebhook:output_type -> tdex_daemon.v1.AddWebhookResponse + 78, // 144: tdex_daemon.v1.OperatorService.RemoveWebhook:output_type -> tdex_daemon.v1.RemoveWebhookResponse + 80, // 145: tdex_daemon.v1.OperatorService.ListWebhooks:output_type -> tdex_daemon.v1.ListWebhooksResponse + 82, // 146: tdex_daemon.v1.OperatorService.ListDeposits:output_type -> tdex_daemon.v1.ListDepositsResponse + 84, // 147: tdex_daemon.v1.OperatorService.ListWithdrawals:output_type -> tdex_daemon.v1.ListWithdrawalsResponse + 86, // 148: tdex_daemon.v1.OperatorService.GetMarketReport:output_type -> tdex_daemon.v1.GetMarketReportResponse + 1, // 149: tdex_daemon.v1.OperatorService.ListProtoServices:output_type -> tdex_daemon.v1.ListProtoServicesResponse + 107, // [107:150] is the sub-list for method output_type + 64, // [64:107] is the sub-list for method input_type 64, // [64:64] is the sub-list for extension type_name 64, // [64:64] is the sub-list for extension extendee 0, // [0:64] is the sub-list for field type_name @@ -5446,7 +5548,7 @@ func file_tdex_daemon_v1_operator_proto_init() { file_tdex_daemon_v1_types_proto_init() if !protoimpl.UnsafeEnabled { file_tdex_daemon_v1_operator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInfoRequest); i { + switch v := v.(*ListProtoServicesRequest); i { case 0: return &v.state case 1: @@ -5458,7 +5560,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInfoResponse); i { + switch v := v.(*ListProtoServicesResponse); i { case 0: return &v.state case 1: @@ -5470,7 +5572,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BuildInfo); i { + switch v := v.(*GetInfoRequest); i { case 0: return &v.state case 1: @@ -5482,7 +5584,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeAddressRequest); i { + switch v := v.(*GetInfoResponse); i { case 0: return &v.state case 1: @@ -5494,7 +5596,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeAddressResponse); i { + switch v := v.(*BuildInfo); i { case 0: return &v.state case 1: @@ -5506,7 +5608,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFeeAddressesRequest); i { + switch v := v.(*GetFeeAddressRequest); i { case 0: return &v.state case 1: @@ -5518,7 +5620,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFeeAddressesResponse); i { + switch v := v.(*GetFeeAddressResponse); i { case 0: return &v.state case 1: @@ -5530,7 +5632,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeBalanceRequest); i { + switch v := v.(*ListFeeAddressesRequest); i { case 0: return &v.state case 1: @@ -5542,7 +5644,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeBalanceResponse); i { + switch v := v.(*ListFeeAddressesResponse); i { case 0: return &v.state case 1: @@ -5554,7 +5656,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClaimFeeDepositsRequest); i { + switch v := v.(*GetFeeBalanceRequest); i { case 0: return &v.state case 1: @@ -5566,7 +5668,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClaimFeeDepositsResponse); i { + switch v := v.(*GetFeeBalanceResponse); i { case 0: return &v.state case 1: @@ -5578,7 +5680,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawFeeRequest); i { + switch v := v.(*ClaimFeeDepositsRequest); i { case 0: return &v.state case 1: @@ -5590,7 +5692,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawFeeResponse); i { + switch v := v.(*ClaimFeeDepositsResponse); i { case 0: return &v.state case 1: @@ -5602,7 +5704,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewMarketRequest); i { + switch v := v.(*WithdrawFeeRequest); i { case 0: return &v.state case 1: @@ -5614,7 +5716,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewMarketResponse); i { + switch v := v.(*WithdrawFeeResponse); i { case 0: return &v.state case 1: @@ -5626,7 +5728,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketInfoRequest); i { + switch v := v.(*NewMarketRequest); i { case 0: return &v.state case 1: @@ -5638,7 +5740,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketInfoResponse); i { + switch v := v.(*NewMarketResponse); i { case 0: return &v.state case 1: @@ -5650,7 +5752,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketAddressRequest); i { + switch v := v.(*GetMarketInfoRequest); i { case 0: return &v.state case 1: @@ -5662,7 +5764,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketAddressResponse); i { + switch v := v.(*GetMarketInfoResponse); i { case 0: return &v.state case 1: @@ -5674,7 +5776,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMarketAddressesRequest); i { + switch v := v.(*GetMarketAddressRequest); i { case 0: return &v.state case 1: @@ -5686,7 +5788,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMarketAddressesResponse); i { + switch v := v.(*GetMarketAddressResponse); i { case 0: return &v.state case 1: @@ -5698,7 +5800,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketBalanceRequest); i { + switch v := v.(*ListMarketAddressesRequest); i { case 0: return &v.state case 1: @@ -5710,7 +5812,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketBalanceResponse); i { + switch v := v.(*ListMarketAddressesResponse); i { case 0: return &v.state case 1: @@ -5722,7 +5824,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClaimMarketDepositsRequest); i { + switch v := v.(*GetMarketBalanceRequest); i { case 0: return &v.state case 1: @@ -5734,7 +5836,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClaimMarketDepositsResponse); i { + switch v := v.(*GetMarketBalanceResponse); i { case 0: return &v.state case 1: @@ -5746,7 +5848,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenMarketRequest); i { + switch v := v.(*ClaimMarketDepositsRequest); i { case 0: return &v.state case 1: @@ -5758,7 +5860,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OpenMarketResponse); i { + switch v := v.(*ClaimMarketDepositsResponse); i { case 0: return &v.state case 1: @@ -5770,7 +5872,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CloseMarketRequest); i { + switch v := v.(*OpenMarketRequest); i { case 0: return &v.state case 1: @@ -5782,7 +5884,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CloseMarketResponse); i { + switch v := v.(*OpenMarketResponse); i { case 0: return &v.state case 1: @@ -5794,7 +5896,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMarketsRequest); i { + switch v := v.(*CloseMarketRequest); i { case 0: return &v.state case 1: @@ -5806,7 +5908,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMarketsResponse); i { + switch v := v.(*CloseMarketResponse); i { case 0: return &v.state case 1: @@ -5818,7 +5920,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropMarketRequest); i { + switch v := v.(*ListMarketsRequest); i { case 0: return &v.state case 1: @@ -5830,7 +5932,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropMarketResponse); i { + switch v := v.(*ListMarketsResponse); i { case 0: return &v.state case 1: @@ -5842,7 +5944,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketCollectedSwapFeesRequest); i { + switch v := v.(*DropMarketRequest); i { case 0: return &v.state case 1: @@ -5854,7 +5956,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketCollectedSwapFeesResponse); i { + switch v := v.(*DropMarketResponse); i { case 0: return &v.state case 1: @@ -5866,7 +5968,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawMarketRequest); i { + switch v := v.(*GetMarketCollectedSwapFeesRequest); i { case 0: return &v.state case 1: @@ -5878,7 +5980,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawMarketResponse); i { + switch v := v.(*GetMarketCollectedSwapFeesResponse); i { case 0: return &v.state case 1: @@ -5890,7 +5992,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketPercentageFeeRequest); i { + switch v := v.(*WithdrawMarketRequest); i { case 0: return &v.state case 1: @@ -5902,7 +6004,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketPercentageFeeResponse); i { + switch v := v.(*WithdrawMarketResponse); i { case 0: return &v.state case 1: @@ -5914,7 +6016,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketFixedFeeRequest); i { + switch v := v.(*UpdateMarketPercentageFeeRequest); i { case 0: return &v.state case 1: @@ -5926,7 +6028,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketFixedFeeResponse); i { + switch v := v.(*UpdateMarketPercentageFeeResponse); i { case 0: return &v.state case 1: @@ -5938,7 +6040,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketAssetsPrecisionRequest); i { + switch v := v.(*UpdateMarketFixedFeeRequest); i { case 0: return &v.state case 1: @@ -5950,7 +6052,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketAssetsPrecisionResponse); i { + switch v := v.(*UpdateMarketFixedFeeResponse); i { case 0: return &v.state case 1: @@ -5962,7 +6064,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketPriceRequest); i { + switch v := v.(*UpdateMarketAssetsPrecisionRequest); i { case 0: return &v.state case 1: @@ -5974,7 +6076,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketPriceResponse); i { + switch v := v.(*UpdateMarketAssetsPrecisionResponse); i { case 0: return &v.state case 1: @@ -5986,7 +6088,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketStrategyRequest); i { + switch v := v.(*UpdateMarketPriceRequest); i { case 0: return &v.state case 1: @@ -5998,7 +6100,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateMarketStrategyResponse); i { + switch v := v.(*UpdateMarketPriceResponse); i { case 0: return &v.state case 1: @@ -6010,7 +6112,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeFragmenterAddressRequest); i { + switch v := v.(*UpdateMarketStrategyRequest); i { case 0: return &v.state case 1: @@ -6022,7 +6124,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeFragmenterAddressResponse); i { + switch v := v.(*UpdateMarketStrategyResponse); i { case 0: return &v.state case 1: @@ -6034,7 +6136,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFeeFragmenterAddressesRequest); i { + switch v := v.(*GetFeeFragmenterAddressRequest); i { case 0: return &v.state case 1: @@ -6046,7 +6148,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFeeFragmenterAddressesResponse); i { + switch v := v.(*GetFeeFragmenterAddressResponse); i { case 0: return &v.state case 1: @@ -6058,7 +6160,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeFragmenterBalanceRequest); i { + switch v := v.(*ListFeeFragmenterAddressesRequest); i { case 0: return &v.state case 1: @@ -6070,7 +6172,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFeeFragmenterBalanceResponse); i { + switch v := v.(*ListFeeFragmenterAddressesResponse); i { case 0: return &v.state case 1: @@ -6082,7 +6184,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeeFragmenterSplitFundsRequest); i { + switch v := v.(*GetFeeFragmenterBalanceRequest); i { case 0: return &v.state case 1: @@ -6094,7 +6196,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FeeFragmenterSplitFundsResponse); i { + switch v := v.(*GetFeeFragmenterBalanceResponse); i { case 0: return &v.state case 1: @@ -6106,7 +6208,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawFeeFragmenterRequest); i { + switch v := v.(*FeeFragmenterSplitFundsRequest); i { case 0: return &v.state case 1: @@ -6118,7 +6220,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawFeeFragmenterResponse); i { + switch v := v.(*FeeFragmenterSplitFundsResponse); i { case 0: return &v.state case 1: @@ -6130,7 +6232,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketFragmenterAddressRequest); i { + switch v := v.(*WithdrawFeeFragmenterRequest); i { case 0: return &v.state case 1: @@ -6142,7 +6244,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketFragmenterAddressResponse); i { + switch v := v.(*WithdrawFeeFragmenterResponse); i { case 0: return &v.state case 1: @@ -6154,7 +6256,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMarketFragmenterAddressesRequest); i { + switch v := v.(*GetMarketFragmenterAddressRequest); i { case 0: return &v.state case 1: @@ -6166,7 +6268,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMarketFragmenterAddressesResponse); i { + switch v := v.(*GetMarketFragmenterAddressResponse); i { case 0: return &v.state case 1: @@ -6178,7 +6280,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketFragmenterBalanceRequest); i { + switch v := v.(*ListMarketFragmenterAddressesRequest); i { case 0: return &v.state case 1: @@ -6190,7 +6292,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketFragmenterBalanceResponse); i { + switch v := v.(*ListMarketFragmenterAddressesResponse); i { case 0: return &v.state case 1: @@ -6202,7 +6304,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketFragmenterSplitFundsRequest); i { + switch v := v.(*GetMarketFragmenterBalanceRequest); i { case 0: return &v.state case 1: @@ -6214,7 +6316,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarketFragmenterSplitFundsResponse); i { + switch v := v.(*GetMarketFragmenterBalanceResponse); i { case 0: return &v.state case 1: @@ -6226,7 +6328,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawMarketFragmenterRequest); i { + switch v := v.(*MarketFragmenterSplitFundsRequest); i { case 0: return &v.state case 1: @@ -6238,7 +6340,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WithdrawMarketFragmenterResponse); i { + switch v := v.(*MarketFragmenterSplitFundsResponse); i { case 0: return &v.state case 1: @@ -6250,7 +6352,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTradesRequest); i { + switch v := v.(*WithdrawMarketFragmenterRequest); i { case 0: return &v.state case 1: @@ -6262,7 +6364,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTradesResponse); i { + switch v := v.(*WithdrawMarketFragmenterResponse); i { case 0: return &v.state case 1: @@ -6274,7 +6376,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReloadUtxosRequest); i { + switch v := v.(*ListTradesRequest); i { case 0: return &v.state case 1: @@ -6286,7 +6388,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReloadUtxosResponse); i { + switch v := v.(*ListTradesResponse); i { case 0: return &v.state case 1: @@ -6298,7 +6400,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUtxosRequest); i { + switch v := v.(*ReloadUtxosRequest); i { case 0: return &v.state case 1: @@ -6310,7 +6412,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListUtxosResponse); i { + switch v := v.(*ReloadUtxosResponse); i { case 0: return &v.state case 1: @@ -6322,7 +6424,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddWebhookRequest); i { + switch v := v.(*ListUtxosRequest); i { case 0: return &v.state case 1: @@ -6334,7 +6436,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddWebhookResponse); i { + switch v := v.(*ListUtxosResponse); i { case 0: return &v.state case 1: @@ -6346,7 +6448,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveWebhookRequest); i { + switch v := v.(*AddWebhookRequest); i { case 0: return &v.state case 1: @@ -6358,7 +6460,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveWebhookResponse); i { + switch v := v.(*AddWebhookResponse); i { case 0: return &v.state case 1: @@ -6370,7 +6472,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWebhooksRequest); i { + switch v := v.(*RemoveWebhookRequest); i { case 0: return &v.state case 1: @@ -6382,7 +6484,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWebhooksResponse); i { + switch v := v.(*RemoveWebhookResponse); i { case 0: return &v.state case 1: @@ -6394,7 +6496,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDepositsRequest); i { + switch v := v.(*ListWebhooksRequest); i { case 0: return &v.state case 1: @@ -6406,7 +6508,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDepositsResponse); i { + switch v := v.(*ListWebhooksResponse); i { case 0: return &v.state case 1: @@ -6418,7 +6520,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWithdrawalsRequest); i { + switch v := v.(*ListDepositsRequest); i { case 0: return &v.state case 1: @@ -6430,7 +6532,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListWithdrawalsResponse); i { + switch v := v.(*ListDepositsResponse); i { case 0: return &v.state case 1: @@ -6442,7 +6544,7 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetMarketReportRequest); i { + switch v := v.(*ListWithdrawalsRequest); i { case 0: return &v.state case 1: @@ -6454,6 +6556,30 @@ func file_tdex_daemon_v1_operator_proto_init() { } } file_tdex_daemon_v1_operator_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListWithdrawalsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_daemon_v1_operator_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMarketReportRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_daemon_v1_operator_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMarketReportResponse); i { case 0: return &v.state @@ -6472,7 +6598,7 @@ func file_tdex_daemon_v1_operator_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_tdex_daemon_v1_operator_proto_rawDesc, NumEnums: 0, - NumMessages: 88, + NumMessages: 90, NumExtensions: 0, NumServices: 1, }, diff --git a/api-spec/protobuf/gen/tdex-daemon/v1/operator_grpc.pb.go b/api-spec/protobuf/gen/tdex-daemon/v1/operator_grpc.pb.go index c1bcaa89..0cc74623 100644 --- a/api-spec/protobuf/gen/tdex-daemon/v1/operator_grpc.pb.go +++ b/api-spec/protobuf/gen/tdex-daemon/v1/operator_grpc.pb.go @@ -112,6 +112,8 @@ type OperatorServiceClient interface { ListWithdrawals(ctx context.Context, in *ListWithdrawalsRequest, opts ...grpc.CallOption) (*ListWithdrawalsResponse, error) // Returns info about volume and collected fees for specific time range GetMarketReport(ctx context.Context, in *GetMarketReportRequest, opts ...grpc.CallOption) (*GetMarketReportResponse, error) + // Returns the list of all available proto services + ListProtoServices(ctx context.Context, in *ListProtoServicesRequest, opts ...grpc.CallOption) (*ListProtoServicesResponse, error) } type operatorServiceClient struct { @@ -546,6 +548,15 @@ func (c *operatorServiceClient) GetMarketReport(ctx context.Context, in *GetMark return out, nil } +func (c *operatorServiceClient) ListProtoServices(ctx context.Context, in *ListProtoServicesRequest, opts ...grpc.CallOption) (*ListProtoServicesResponse, error) { + out := new(ListProtoServicesResponse) + err := c.cc.Invoke(ctx, "/tdex_daemon.v1.OperatorService/ListProtoServices", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // OperatorServiceServer is the server API for OperatorService service. // All implementations should embed UnimplementedOperatorServiceServer // for forward compatibility @@ -640,6 +651,8 @@ type OperatorServiceServer interface { ListWithdrawals(context.Context, *ListWithdrawalsRequest) (*ListWithdrawalsResponse, error) // Returns info about volume and collected fees for specific time range GetMarketReport(context.Context, *GetMarketReportRequest) (*GetMarketReportResponse, error) + // Returns the list of all available proto services + ListProtoServices(context.Context, *ListProtoServicesRequest) (*ListProtoServicesResponse, error) } // UnimplementedOperatorServiceServer should be embedded to have forward compatible implementations. @@ -772,6 +785,9 @@ func (UnimplementedOperatorServiceServer) ListWithdrawals(context.Context, *List func (UnimplementedOperatorServiceServer) GetMarketReport(context.Context, *GetMarketReportRequest) (*GetMarketReportResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMarketReport not implemented") } +func (UnimplementedOperatorServiceServer) ListProtoServices(context.Context, *ListProtoServicesRequest) (*ListProtoServicesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListProtoServices not implemented") +} // UnsafeOperatorServiceServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to OperatorServiceServer will @@ -1546,6 +1562,24 @@ func _OperatorService_GetMarketReport_Handler(srv interface{}, ctx context.Conte return interceptor(ctx, in, info, handler) } +func _OperatorService_ListProtoServices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListProtoServicesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperatorServiceServer).ListProtoServices(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex_daemon.v1.OperatorService/ListProtoServices", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperatorServiceServer).ListProtoServices(ctx, req.(*ListProtoServicesRequest)) + } + return interceptor(ctx, in, info, handler) +} + // OperatorService_ServiceDesc is the grpc.ServiceDesc for OperatorService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -1713,6 +1747,10 @@ var OperatorService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetMarketReport", Handler: _OperatorService_GetMarketReport_Handler, }, + { + MethodName: "ListProtoServices", + Handler: _OperatorService_ListProtoServices_Handler, + }, }, Streams: []grpc.StreamDesc{ { diff --git a/api-spec/protobuf/gen/tdex/v1/swap.pb.go b/api-spec/protobuf/gen/tdex/v1/swap.pb.go index 18ebf947..65457e67 100644 --- a/api-spec/protobuf/gen/tdex/v1/swap.pb.go +++ b/api-spec/protobuf/gen/tdex/v1/swap.pb.go @@ -45,9 +45,6 @@ type SwapRequest struct { // confidential output is included. Each blinding key is identified by the // output script hex encoded. OutputBlindingKey map[string][]byte `protobuf:"bytes,8,rep,name=output_blinding_key,json=outputBlindingKey,proto3" json:"output_blinding_key,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // In case of psetv2 transaction, the list of trader's unblinded inputs data, - // even in case they are unconfidential. - UnblindedInputs []*UnblindedInput `protobuf:"bytes,9,rep,name=unblinded_inputs,json=unblindedInputs,proto3" json:"unblinded_inputs,omitempty"` } func (x *SwapRequest) Reset() { @@ -138,13 +135,6 @@ func (x *SwapRequest) GetOutputBlindingKey() map[string][]byte { return nil } -func (x *SwapRequest) GetUnblindedInputs() []*UnblindedInput { - if x != nil { - return x.UnblindedInputs - } - return nil -} - type SwapAccept struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -165,9 +155,6 @@ type SwapAccept struct { // output is included. Each blinding key is identified by the output script // hex encoded. OutputBlindingKey map[string][]byte `protobuf:"bytes,5,rep,name=output_blinding_key,json=outputBlindingKey,proto3" json:"output_blinding_key,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // In case of psetv2 transaction, the original list of trader's unblinded inputs, - // including also those of the inputs added by the provider. - UnblindedInputs []*UnblindedInput `protobuf:"bytes,6,rep,name=unblinded_inputs,json=unblindedInputs,proto3" json:"unblinded_inputs,omitempty"` } func (x *SwapAccept) Reset() { @@ -237,13 +224,6 @@ func (x *SwapAccept) GetOutputBlindingKey() map[string][]byte { return nil } -func (x *SwapAccept) GetUnblindedInputs() []*UnblindedInput { - if x != nil { - return x.UnblindedInputs - } - return nil -} - type SwapComplete struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -390,99 +370,89 @@ var File_tdex_v1_swap_proto protoreflect.FileDescriptor var file_tdex_v1_swap_proto_rawDesc = []byte{ 0x0a, 0x12, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x1a, 0x13, 0x74, - 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xad, 0x04, 0x0a, 0x0b, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x12, 0x17, 0x0a, - 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x50, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, - 0x52, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x52, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x12, - 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, - 0x65, 0x79, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, - 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, - 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x5b, 0x0a, 0x13, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, - 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x4b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x10, 0x75, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, - 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, - 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, - 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x0f, 0x75, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, - 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x49, 0x6e, 0x70, 0x75, 0x74, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x22, 0xe9, 0x03, + 0x0a, 0x0b, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, + 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x5f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x50, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x12, 0x17, 0x0a, 0x07, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x52, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x58, 0x0a, 0x12, 0x69, 0x6e, 0x70, 0x75, 0x74, + 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, + 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, + 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, + 0x79, 0x12, 0x5b, 0x0a, 0x13, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x1a, 0x43, + 0x0a, 0x15, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9d, 0x03, 0x0a, 0x0a, 0x53, 0x77, + 0x61, 0x70, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x12, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, - 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, - 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0xe1, 0x03, 0x0a, 0x0a, 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, 0x63, 0x65, 0x70, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, - 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x12, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, - 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, 0x63, - 0x65, 0x70, 0x74, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, - 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x5a, 0x0a, 0x13, 0x6f, - 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, - 0x65, 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x2e, 0x4f, 0x75, - 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x12, 0x42, 0x0a, 0x10, 0x75, 0x6e, 0x62, 0x6c, 0x69, - 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x62, 0x6c, - 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x0f, 0x75, 0x6e, 0x62, 0x6c, - 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x49, - 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x44, 0x0a, 0x16, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5d, 0x0a, 0x0c, 0x53, 0x77, 0x61, 0x70, 0x43, 0x6f, - 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, - 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x08, 0x53, 0x77, 0x61, 0x70, 0x46, 0x61, - 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, - 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x64, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, - 0x43, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, - 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x9f, 0x01, - 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x53, - 0x77, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, - 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, 0x3b, 0x74, 0x64, - 0x65, 0x78, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x54, 0x64, 0x65, - 0x78, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x64, 0x65, 0x78, 0x3a, 0x3a, 0x56, 0x31, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x12, 0x5a, 0x0a, 0x13, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x62, 0x6c, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x1a, 0x43, + 0x0a, 0x15, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, + 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a, 0x16, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x42, 0x6c, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4b, 0x65, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5d, 0x0a, 0x0c, 0x53, 0x77, 0x61, + 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x63, + 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x01, 0x0a, 0x08, 0x53, 0x77, 0x61, + 0x70, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, + 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x75, + 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x42, 0x9f, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, + 0x42, 0x09, 0x53, 0x77, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, + 0x3b, 0x74, 0x64, 0x65, 0x78, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, + 0x54, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x64, 0x65, 0x78, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -499,28 +469,25 @@ func file_tdex_v1_swap_proto_rawDescGZIP() []byte { var file_tdex_v1_swap_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_tdex_v1_swap_proto_goTypes = []interface{}{ - (*SwapRequest)(nil), // 0: tdex.v1.SwapRequest - (*SwapAccept)(nil), // 1: tdex.v1.SwapAccept - (*SwapComplete)(nil), // 2: tdex.v1.SwapComplete - (*SwapFail)(nil), // 3: tdex.v1.SwapFail - nil, // 4: tdex.v1.SwapRequest.InputBlindingKeyEntry - nil, // 5: tdex.v1.SwapRequest.OutputBlindingKeyEntry - nil, // 6: tdex.v1.SwapAccept.InputBlindingKeyEntry - nil, // 7: tdex.v1.SwapAccept.OutputBlindingKeyEntry - (*UnblindedInput)(nil), // 8: tdex.v1.UnblindedInput + (*SwapRequest)(nil), // 0: tdex.v1.SwapRequest + (*SwapAccept)(nil), // 1: tdex.v1.SwapAccept + (*SwapComplete)(nil), // 2: tdex.v1.SwapComplete + (*SwapFail)(nil), // 3: tdex.v1.SwapFail + nil, // 4: tdex.v1.SwapRequest.InputBlindingKeyEntry + nil, // 5: tdex.v1.SwapRequest.OutputBlindingKeyEntry + nil, // 6: tdex.v1.SwapAccept.InputBlindingKeyEntry + nil, // 7: tdex.v1.SwapAccept.OutputBlindingKeyEntry } var file_tdex_v1_swap_proto_depIdxs = []int32{ 4, // 0: tdex.v1.SwapRequest.input_blinding_key:type_name -> tdex.v1.SwapRequest.InputBlindingKeyEntry 5, // 1: tdex.v1.SwapRequest.output_blinding_key:type_name -> tdex.v1.SwapRequest.OutputBlindingKeyEntry - 8, // 2: tdex.v1.SwapRequest.unblinded_inputs:type_name -> tdex.v1.UnblindedInput - 6, // 3: tdex.v1.SwapAccept.input_blinding_key:type_name -> tdex.v1.SwapAccept.InputBlindingKeyEntry - 7, // 4: tdex.v1.SwapAccept.output_blinding_key:type_name -> tdex.v1.SwapAccept.OutputBlindingKeyEntry - 8, // 5: tdex.v1.SwapAccept.unblinded_inputs:type_name -> tdex.v1.UnblindedInput - 6, // [6:6] is the sub-list for method output_type - 6, // [6:6] is the sub-list for method input_type - 6, // [6:6] is the sub-list for extension type_name - 6, // [6:6] is the sub-list for extension extendee - 0, // [0:6] is the sub-list for field type_name + 6, // 2: tdex.v1.SwapAccept.input_blinding_key:type_name -> tdex.v1.SwapAccept.InputBlindingKeyEntry + 7, // 3: tdex.v1.SwapAccept.output_blinding_key:type_name -> tdex.v1.SwapAccept.OutputBlindingKeyEntry + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_tdex_v1_swap_proto_init() } @@ -528,7 +495,6 @@ func file_tdex_v1_swap_proto_init() { if File_tdex_v1_swap_proto != nil { return } - file_tdex_v1_types_proto_init() if !protoimpl.UnsafeEnabled { file_tdex_v1_swap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*SwapRequest); i { diff --git a/api-spec/protobuf/gen/tdex/v1/types.pb.go b/api-spec/protobuf/gen/tdex/v1/types.pb.go index 536bced9..41cf8234 100644 --- a/api-spec/protobuf/gen/tdex/v1/types.pb.go +++ b/api-spec/protobuf/gen/tdex/v1/types.pb.go @@ -119,85 +119,6 @@ func (ContentType) EnumDescriptor() ([]byte, []int) { } // Custom Types -type UnblindedInput struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` - Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` - Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` - AssetBlinder string `protobuf:"bytes,4,opt,name=asset_blinder,json=assetBlinder,proto3" json:"asset_blinder,omitempty"` - AmountBlinder string `protobuf:"bytes,5,opt,name=amount_blinder,json=amountBlinder,proto3" json:"amount_blinder,omitempty"` -} - -func (x *UnblindedInput) Reset() { - *x = UnblindedInput{} - if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UnblindedInput) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UnblindedInput) ProtoMessage() {} - -func (x *UnblindedInput) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UnblindedInput.ProtoReflect.Descriptor instead. -func (*UnblindedInput) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{0} -} - -func (x *UnblindedInput) GetIndex() uint32 { - if x != nil { - return x.Index - } - return 0 -} - -func (x *UnblindedInput) GetAsset() string { - if x != nil { - return x.Asset - } - return "" -} - -func (x *UnblindedInput) GetAmount() uint64 { - if x != nil { - return x.Amount - } - return 0 -} - -func (x *UnblindedInput) GetAssetBlinder() string { - if x != nil { - return x.AssetBlinder - } - return "" -} - -func (x *UnblindedInput) GetAmountBlinder() string { - if x != nil { - return x.AmountBlinder - } - return "" -} - type Fee struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -210,7 +131,7 @@ type Fee struct { func (x *Fee) Reset() { *x = Fee{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[1] + mi := &file_tdex_v1_types_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -223,7 +144,7 @@ func (x *Fee) String() string { func (*Fee) ProtoMessage() {} func (x *Fee) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[1] + mi := &file_tdex_v1_types_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -236,7 +157,7 @@ func (x *Fee) ProtoReflect() protoreflect.Message { // Deprecated: Use Fee.ProtoReflect.Descriptor instead. func (*Fee) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{1} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{0} } func (x *Fee) GetBasisPoint() int64 { @@ -265,7 +186,7 @@ type Fixed struct { func (x *Fixed) Reset() { *x = Fixed{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[2] + mi := &file_tdex_v1_types_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -278,7 +199,7 @@ func (x *Fixed) String() string { func (*Fixed) ProtoMessage() {} func (x *Fixed) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[2] + mi := &file_tdex_v1_types_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -291,7 +212,7 @@ func (x *Fixed) ProtoReflect() protoreflect.Message { // Deprecated: Use Fixed.ProtoReflect.Descriptor instead. func (*Fixed) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{2} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{1} } func (x *Fixed) GetBaseFee() int64 { @@ -320,7 +241,7 @@ type Balance struct { func (x *Balance) Reset() { *x = Balance{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[3] + mi := &file_tdex_v1_types_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -333,7 +254,7 @@ func (x *Balance) String() string { func (*Balance) ProtoMessage() {} func (x *Balance) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[3] + mi := &file_tdex_v1_types_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -346,7 +267,7 @@ func (x *Balance) ProtoReflect() protoreflect.Message { // Deprecated: Use Balance.ProtoReflect.Descriptor instead. func (*Balance) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{3} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{2} } func (x *Balance) GetBaseAmount() uint64 { @@ -375,7 +296,7 @@ type BalanceWithFee struct { func (x *BalanceWithFee) Reset() { *x = BalanceWithFee{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[4] + mi := &file_tdex_v1_types_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -388,7 +309,7 @@ func (x *BalanceWithFee) String() string { func (*BalanceWithFee) ProtoMessage() {} func (x *BalanceWithFee) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[4] + mi := &file_tdex_v1_types_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -401,7 +322,7 @@ func (x *BalanceWithFee) ProtoReflect() protoreflect.Message { // Deprecated: Use BalanceWithFee.ProtoReflect.Descriptor instead. func (*BalanceWithFee) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{4} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{3} } func (x *BalanceWithFee) GetBalance() *Balance { @@ -430,7 +351,7 @@ type Market struct { func (x *Market) Reset() { *x = Market{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[5] + mi := &file_tdex_v1_types_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -443,7 +364,7 @@ func (x *Market) String() string { func (*Market) ProtoMessage() {} func (x *Market) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[5] + mi := &file_tdex_v1_types_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -456,7 +377,7 @@ func (x *Market) ProtoReflect() protoreflect.Message { // Deprecated: Use Market.ProtoReflect.Descriptor instead. func (*Market) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{5} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{4} } func (x *Market) GetBaseAsset() string { @@ -485,7 +406,7 @@ type MarketWithFee struct { func (x *MarketWithFee) Reset() { *x = MarketWithFee{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[6] + mi := &file_tdex_v1_types_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -498,7 +419,7 @@ func (x *MarketWithFee) String() string { func (*MarketWithFee) ProtoMessage() {} func (x *MarketWithFee) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[6] + mi := &file_tdex_v1_types_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -511,7 +432,7 @@ func (x *MarketWithFee) ProtoReflect() protoreflect.Message { // Deprecated: Use MarketWithFee.ProtoReflect.Descriptor instead. func (*MarketWithFee) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{6} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{5} } func (x *MarketWithFee) GetMarket() *Market { @@ -540,7 +461,7 @@ type Price struct { func (x *Price) Reset() { *x = Price{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[7] + mi := &file_tdex_v1_types_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -553,7 +474,7 @@ func (x *Price) String() string { func (*Price) ProtoMessage() {} func (x *Price) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[7] + mi := &file_tdex_v1_types_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -566,7 +487,7 @@ func (x *Price) ProtoReflect() protoreflect.Message { // Deprecated: Use Price.ProtoReflect.Descriptor instead. func (*Price) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{7} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{6} } func (x *Price) GetBasePrice() float64 { @@ -598,7 +519,7 @@ type Preview struct { func (x *Preview) Reset() { *x = Preview{} if protoimpl.UnsafeEnabled { - mi := &file_tdex_v1_types_proto_msgTypes[8] + mi := &file_tdex_v1_types_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -611,7 +532,7 @@ func (x *Preview) String() string { func (*Preview) ProtoMessage() {} func (x *Preview) ProtoReflect() protoreflect.Message { - mi := &file_tdex_v1_types_proto_msgTypes[8] + mi := &file_tdex_v1_types_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -624,7 +545,7 @@ func (x *Preview) ProtoReflect() protoreflect.Message { // Deprecated: Use Preview.ProtoReflect.Descriptor instead. func (*Preview) Descriptor() ([]byte, []int) { - return file_tdex_v1_types_proto_rawDescGZIP(), []int{8} + return file_tdex_v1_types_proto_rawDescGZIP(), []int{7} } func (x *Preview) GetPrice() *Price { @@ -666,84 +587,74 @@ var File_tdex_v1_types_proto protoreflect.FileDescriptor var file_tdex_v1_types_proto_rawDesc = []byte{ 0x0a, 0x13, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x22, 0xa0, - 0x01, 0x0a, 0x0e, 0x55, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, - 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x62, - 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, - 0x72, 0x22, 0x4c, 0x0a, 0x03, 0x46, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x69, - 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, - 0x61, 0x73, 0x69, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x66, 0x69, 0x78, - 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x22, - 0x3f, 0x0a, 0x05, 0x46, 0x69, 0x78, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, - 0x5f, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, - 0x46, 0x65, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x65, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x46, 0x65, 0x65, - 0x22, 0x4d, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, - 0x61, 0x73, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, - 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, - 0x5c, 0x0a, 0x0e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, - 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, - 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, - 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x65, - 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, 0x22, 0x48, 0x0a, - 0x06, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x73, - 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, - 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x22, 0x58, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, - 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, - 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, - 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, - 0x65, 0x22, 0x47, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, - 0x73, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, - 0x62, 0x61, 0x73, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, - 0x74, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, - 0x71, 0x75, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x07, 0x50, - 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x24, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x03, - 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x65, 0x78, - 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, - 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x07, 0x62, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, - 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, - 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2a, 0x34, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x52, 0x41, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x42, 0x55, 0x59, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x44, 0x45, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x2a, 0x73, 0x0a, 0x0b, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x43, - 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, - 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4e, - 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x57, 0x45, - 0x42, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x57, 0x45, 0x42, 0x54, 0x45, 0x58, 0x54, 0x10, - 0x03, 0x42, 0xa0, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, - 0x31, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, - 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, - 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2f, - 0x76, 0x31, 0x3b, 0x74, 0x64, 0x65, 0x78, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, - 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, - 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x64, 0x65, 0x78, - 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x22, 0x4c, + 0x0a, 0x03, 0x46, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x69, 0x73, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x69, + 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x69, 0x78, 0x65, 0x64, 0x52, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x22, 0x3f, 0x0a, 0x05, + 0x46, 0x69, 0x78, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x08, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x46, 0x65, 0x65, 0x22, 0x4d, 0x0a, + 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, + 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x62, + 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x6f, + 0x74, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x5c, 0x0a, 0x0e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x12, 0x2a, + 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x03, 0x66, 0x65, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, + 0x31, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, 0x22, 0x48, 0x0a, 0x06, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, + 0x73, 0x73, 0x65, 0x74, 0x22, 0x58, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, + 0x74, 0x68, 0x46, 0x65, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, + 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x1e, + 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, 0x22, 0x47, + 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x62, 0x61, 0x73, + 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, + 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x71, 0x75, 0x6f, + 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0xa9, 0x01, 0x0a, 0x07, 0x50, 0x72, 0x65, 0x76, + 0x69, 0x65, 0x77, 0x12, 0x24, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x03, 0x66, 0x65, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, + 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x31, 0x2e, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x2a, 0x34, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x52, 0x41, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, + 0x55, 0x59, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, 0x41, 0x44, 0x45, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x2a, 0x73, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, + 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x00, 0x12, + 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x47, 0x52, 0x50, 0x43, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x57, 0x45, 0x42, 0x10, 0x02, + 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x47, 0x52, 0x50, 0x43, 0x57, 0x45, 0x42, 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x42, 0xa0, + 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x31, 0x42, 0x0a, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, + 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, 0x65, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, + 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x31, 0x3b, + 0x74, 0x64, 0x65, 0x78, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x54, + 0x64, 0x65, 0x78, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x64, 0x65, 0x78, 0x3a, 0x3a, 0x56, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -759,29 +670,28 @@ func file_tdex_v1_types_proto_rawDescGZIP() []byte { } var file_tdex_v1_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_tdex_v1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_tdex_v1_types_proto_msgTypes = make([]protoimpl.MessageInfo, 8) var file_tdex_v1_types_proto_goTypes = []interface{}{ (TradeType)(0), // 0: tdex.v1.TradeType (ContentType)(0), // 1: tdex.v1.ContentType - (*UnblindedInput)(nil), // 2: tdex.v1.UnblindedInput - (*Fee)(nil), // 3: tdex.v1.Fee - (*Fixed)(nil), // 4: tdex.v1.Fixed - (*Balance)(nil), // 5: tdex.v1.Balance - (*BalanceWithFee)(nil), // 6: tdex.v1.BalanceWithFee - (*Market)(nil), // 7: tdex.v1.Market - (*MarketWithFee)(nil), // 8: tdex.v1.MarketWithFee - (*Price)(nil), // 9: tdex.v1.Price - (*Preview)(nil), // 10: tdex.v1.Preview + (*Fee)(nil), // 2: tdex.v1.Fee + (*Fixed)(nil), // 3: tdex.v1.Fixed + (*Balance)(nil), // 4: tdex.v1.Balance + (*BalanceWithFee)(nil), // 5: tdex.v1.BalanceWithFee + (*Market)(nil), // 6: tdex.v1.Market + (*MarketWithFee)(nil), // 7: tdex.v1.MarketWithFee + (*Price)(nil), // 8: tdex.v1.Price + (*Preview)(nil), // 9: tdex.v1.Preview } var file_tdex_v1_types_proto_depIdxs = []int32{ - 4, // 0: tdex.v1.Fee.fixed:type_name -> tdex.v1.Fixed - 5, // 1: tdex.v1.BalanceWithFee.balance:type_name -> tdex.v1.Balance - 3, // 2: tdex.v1.BalanceWithFee.fee:type_name -> tdex.v1.Fee - 7, // 3: tdex.v1.MarketWithFee.market:type_name -> tdex.v1.Market - 3, // 4: tdex.v1.MarketWithFee.fee:type_name -> tdex.v1.Fee - 9, // 5: tdex.v1.Preview.price:type_name -> tdex.v1.Price - 3, // 6: tdex.v1.Preview.fee:type_name -> tdex.v1.Fee - 5, // 7: tdex.v1.Preview.balance:type_name -> tdex.v1.Balance + 3, // 0: tdex.v1.Fee.fixed:type_name -> tdex.v1.Fixed + 4, // 1: tdex.v1.BalanceWithFee.balance:type_name -> tdex.v1.Balance + 2, // 2: tdex.v1.BalanceWithFee.fee:type_name -> tdex.v1.Fee + 6, // 3: tdex.v1.MarketWithFee.market:type_name -> tdex.v1.Market + 2, // 4: tdex.v1.MarketWithFee.fee:type_name -> tdex.v1.Fee + 8, // 5: tdex.v1.Preview.price:type_name -> tdex.v1.Price + 2, // 6: tdex.v1.Preview.fee:type_name -> tdex.v1.Fee + 4, // 7: tdex.v1.Preview.balance:type_name -> tdex.v1.Balance 8, // [8:8] is the sub-list for method output_type 8, // [8:8] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name @@ -796,18 +706,6 @@ func file_tdex_v1_types_proto_init() { } if !protoimpl.UnsafeEnabled { file_tdex_v1_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnblindedInput); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_tdex_v1_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Fee); i { case 0: return &v.state @@ -819,7 +717,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Fixed); i { case 0: return &v.state @@ -831,7 +729,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Balance); i { case 0: return &v.state @@ -843,7 +741,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BalanceWithFee); i { case 0: return &v.state @@ -855,7 +753,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Market); i { case 0: return &v.state @@ -867,7 +765,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MarketWithFee); i { case 0: return &v.state @@ -879,7 +777,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Price); i { case 0: return &v.state @@ -891,7 +789,7 @@ func file_tdex_v1_types_proto_init() { return nil } } - file_tdex_v1_types_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_tdex_v1_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Preview); i { case 0: return &v.state @@ -910,7 +808,7 @@ func file_tdex_v1_types_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_tdex_v1_types_proto_rawDesc, NumEnums: 2, - NumMessages: 9, + NumMessages: 8, NumExtensions: 0, NumServices: 0, }, diff --git a/api-spec/protobuf/gen/tdex/v2/swap.pb.go b/api-spec/protobuf/gen/tdex/v2/swap.pb.go new file mode 100644 index 00000000..3fad4787 --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/swap.pb.go @@ -0,0 +1,530 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc (unknown) +// source: tdex/v2/swap.proto + +package tdexv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SwapRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Random unique identifier for the current message + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The proposer's quantity + AmountP uint64 `protobuf:"varint,2,opt,name=amount_p,json=amountP,proto3" json:"amount_p,omitempty"` + // The proposer's asset hash + AssetP string `protobuf:"bytes,3,opt,name=asset_p,json=assetP,proto3" json:"asset_p,omitempty"` + // The responder's quantity + AmountR uint64 `protobuf:"varint,4,opt,name=amount_r,json=amountR,proto3" json:"amount_r,omitempty"` + // The responder's asset hash + AssetR string `protobuf:"bytes,5,opt,name=asset_r,json=assetR,proto3" json:"asset_r,omitempty"` + // The proposer's unsigned transaction in PSET v2 format (base64 string) + Transaction string `protobuf:"bytes,6,opt,name=transaction,proto3" json:"transaction,omitempty"` + // The fee amount charged to the proposer by the provider. + FeeAmount uint64 `protobuf:"varint,7,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"` + // The asset hash of the fee charged to the proposer. + FeeAsset string `protobuf:"bytes,8,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"` + // The list of trader's unblinded inputs data, even in case they are + // unconfidential. + UnblindedInputs []*UnblindedInput `protobuf:"bytes,9,rep,name=unblinded_inputs,json=unblindedInputs,proto3" json:"unblinded_inputs,omitempty"` +} + +func (x *SwapRequest) Reset() { + *x = SwapRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_swap_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SwapRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SwapRequest) ProtoMessage() {} + +func (x *SwapRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_swap_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SwapRequest.ProtoReflect.Descriptor instead. +func (*SwapRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_swap_proto_rawDescGZIP(), []int{0} +} + +func (x *SwapRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *SwapRequest) GetAmountP() uint64 { + if x != nil { + return x.AmountP + } + return 0 +} + +func (x *SwapRequest) GetAssetP() string { + if x != nil { + return x.AssetP + } + return "" +} + +func (x *SwapRequest) GetAmountR() uint64 { + if x != nil { + return x.AmountR + } + return 0 +} + +func (x *SwapRequest) GetAssetR() string { + if x != nil { + return x.AssetR + } + return "" +} + +func (x *SwapRequest) GetTransaction() string { + if x != nil { + return x.Transaction + } + return "" +} + +func (x *SwapRequest) GetFeeAmount() uint64 { + if x != nil { + return x.FeeAmount + } + return 0 +} + +func (x *SwapRequest) GetFeeAsset() string { + if x != nil { + return x.FeeAsset + } + return "" +} + +func (x *SwapRequest) GetUnblindedInputs() []*UnblindedInput { + if x != nil { + return x.UnblindedInputs + } + return nil +} + +type SwapAccept struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Random unique identifier for the current message + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // indetifier of the SwapRequest message + RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + // The partial signed transaction base64 encoded containing the Responder's + // signed inputs in a PSBT format + Transaction string `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` + // In case of psetv2 transaction, the original list of trader's unblinded inputs, + // including also those of the inputs added by the provider. + UnblindedInputs []*UnblindedInput `protobuf:"bytes,4,rep,name=unblinded_inputs,json=unblindedInputs,proto3" json:"unblinded_inputs,omitempty"` +} + +func (x *SwapAccept) Reset() { + *x = SwapAccept{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_swap_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SwapAccept) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SwapAccept) ProtoMessage() {} + +func (x *SwapAccept) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_swap_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SwapAccept.ProtoReflect.Descriptor instead. +func (*SwapAccept) Descriptor() ([]byte, []int) { + return file_tdex_v2_swap_proto_rawDescGZIP(), []int{1} +} + +func (x *SwapAccept) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *SwapAccept) GetRequestId() string { + if x != nil { + return x.RequestId + } + return "" +} + +func (x *SwapAccept) GetTransaction() string { + if x != nil { + return x.Transaction + } + return "" +} + +func (x *SwapAccept) GetUnblindedInputs() []*UnblindedInput { + if x != nil { + return x.UnblindedInputs + } + return nil +} + +type SwapComplete struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Random unique identifier for the current message + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // indetifier of the SwapAccept message + AcceptId string `protobuf:"bytes,2,opt,name=accept_id,json=acceptId,proto3" json:"accept_id,omitempty"` + // The signed transaction base64 encoded containing the Proposers's signed + // inputs in a PSBT format + Transaction string `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"` +} + +func (x *SwapComplete) Reset() { + *x = SwapComplete{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_swap_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SwapComplete) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SwapComplete) ProtoMessage() {} + +func (x *SwapComplete) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_swap_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SwapComplete.ProtoReflect.Descriptor instead. +func (*SwapComplete) Descriptor() ([]byte, []int) { + return file_tdex_v2_swap_proto_rawDescGZIP(), []int{2} +} + +func (x *SwapComplete) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *SwapComplete) GetAcceptId() string { + if x != nil { + return x.AcceptId + } + return "" +} + +func (x *SwapComplete) GetTransaction() string { + if x != nil { + return x.Transaction + } + return "" +} + +type SwapFail struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Random unique identifier for the current message + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // indetifier of either SwapRequest or SwapAccept message. It can be empty + MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` + // The failure code. It can be empty + FailureCode uint32 `protobuf:"varint,3,opt,name=failure_code,json=failureCode,proto3" json:"failure_code,omitempty"` + // The failure reason messaged + FailureMessage string `protobuf:"bytes,4,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"` +} + +func (x *SwapFail) Reset() { + *x = SwapFail{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_swap_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SwapFail) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SwapFail) ProtoMessage() {} + +func (x *SwapFail) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_swap_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SwapFail.ProtoReflect.Descriptor instead. +func (*SwapFail) Descriptor() ([]byte, []int) { + return file_tdex_v2_swap_proto_rawDescGZIP(), []int{3} +} + +func (x *SwapFail) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *SwapFail) GetMessageId() string { + if x != nil { + return x.MessageId + } + return "" +} + +func (x *SwapFail) GetFailureCode() uint32 { + if x != nil { + return x.FailureCode + } + return 0 +} + +func (x *SwapFail) GetFailureMessage() string { + if x != nil { + return x.FailureMessage + } + return "" +} + +var File_tdex_v2_swap_proto protoreflect.FileDescriptor + +var file_tdex_v2_swap_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x1a, 0x13, 0x74, + 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xa7, 0x02, 0x0a, 0x0b, 0x53, 0x77, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x12, 0x17, 0x0a, + 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x50, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x5f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x72, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x52, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, + 0x66, 0x65, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x09, 0x66, 0x65, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, + 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x66, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x42, 0x0a, 0x10, 0x75, 0x6e, 0x62, 0x6c, + 0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x6e, 0x62, + 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x0f, 0x75, 0x6e, 0x62, + 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0xa1, 0x01, 0x0a, + 0x0a, 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x10, + 0x75, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, + 0x2e, 0x55, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, + 0x0f, 0x75, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x22, 0x5d, 0x0a, 0x0c, 0x53, 0x77, 0x61, 0x70, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x49, 0x64, 0x12, 0x20, 0x0a, + 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x85, 0x01, 0x0a, 0x08, 0x53, 0x77, 0x61, 0x70, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x27, + 0x0a, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x9f, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x42, 0x09, 0x53, 0x77, 0x61, 0x70, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, + 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, + 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x64, 0x65, 0x78, 0x76, 0x32, 0xa2, 0x02, + 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x32, 0xca, 0x02, + 0x07, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, + 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x08, 0x54, 0x64, 0x65, 0x78, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_tdex_v2_swap_proto_rawDescOnce sync.Once + file_tdex_v2_swap_proto_rawDescData = file_tdex_v2_swap_proto_rawDesc +) + +func file_tdex_v2_swap_proto_rawDescGZIP() []byte { + file_tdex_v2_swap_proto_rawDescOnce.Do(func() { + file_tdex_v2_swap_proto_rawDescData = protoimpl.X.CompressGZIP(file_tdex_v2_swap_proto_rawDescData) + }) + return file_tdex_v2_swap_proto_rawDescData +} + +var file_tdex_v2_swap_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_tdex_v2_swap_proto_goTypes = []interface{}{ + (*SwapRequest)(nil), // 0: tdex.v2.SwapRequest + (*SwapAccept)(nil), // 1: tdex.v2.SwapAccept + (*SwapComplete)(nil), // 2: tdex.v2.SwapComplete + (*SwapFail)(nil), // 3: tdex.v2.SwapFail + (*UnblindedInput)(nil), // 4: tdex.v2.UnblindedInput +} +var file_tdex_v2_swap_proto_depIdxs = []int32{ + 4, // 0: tdex.v2.SwapRequest.unblinded_inputs:type_name -> tdex.v2.UnblindedInput + 4, // 1: tdex.v2.SwapAccept.unblinded_inputs:type_name -> tdex.v2.UnblindedInput + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_tdex_v2_swap_proto_init() } +func file_tdex_v2_swap_proto_init() { + if File_tdex_v2_swap_proto != nil { + return + } + file_tdex_v2_types_proto_init() + if !protoimpl.UnsafeEnabled { + file_tdex_v2_swap_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SwapRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_swap_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SwapAccept); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_swap_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SwapComplete); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_swap_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SwapFail); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_tdex_v2_swap_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_tdex_v2_swap_proto_goTypes, + DependencyIndexes: file_tdex_v2_swap_proto_depIdxs, + MessageInfos: file_tdex_v2_swap_proto_msgTypes, + }.Build() + File_tdex_v2_swap_proto = out.File + file_tdex_v2_swap_proto_rawDesc = nil + file_tdex_v2_swap_proto_goTypes = nil + file_tdex_v2_swap_proto_depIdxs = nil +} diff --git a/api-spec/protobuf/gen/tdex/v2/trade.pb.go b/api-spec/protobuf/gen/tdex/v2/trade.pb.go new file mode 100644 index 00000000..7ba25481 --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/trade.pb.go @@ -0,0 +1,1062 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc (unknown) +// source: tdex/v2/trade.proto + +package tdexv2 + +import ( + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// BOTD#4 Service's messages +type ListMarketsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ListMarketsRequest) Reset() { + *x = ListMarketsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMarketsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMarketsRequest) ProtoMessage() {} + +func (x *ListMarketsRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMarketsRequest.ProtoReflect.Descriptor instead. +func (*ListMarketsRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{0} +} + +type ListMarketsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Markets []*MarketWithFee `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"` +} + +func (x *ListMarketsResponse) Reset() { + *x = ListMarketsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListMarketsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListMarketsResponse) ProtoMessage() {} + +func (x *ListMarketsResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListMarketsResponse.ProtoReflect.Descriptor instead. +func (*ListMarketsResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{1} +} + +func (x *ListMarketsResponse) GetMarkets() []*MarketWithFee { + if x != nil { + return x.Markets + } + return nil +} + +type GetMarketBalanceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` +} + +func (x *GetMarketBalanceRequest) Reset() { + *x = GetMarketBalanceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMarketBalanceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMarketBalanceRequest) ProtoMessage() {} + +func (x *GetMarketBalanceRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMarketBalanceRequest.ProtoReflect.Descriptor instead. +func (*GetMarketBalanceRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{2} +} + +func (x *GetMarketBalanceRequest) GetMarket() *Market { + if x != nil { + return x.Market + } + return nil +} + +type GetMarketBalanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Balance *Balance `protobuf:"bytes,1,opt,name=balance,proto3" json:"balance,omitempty"` + Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` +} + +func (x *GetMarketBalanceResponse) Reset() { + *x = GetMarketBalanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMarketBalanceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMarketBalanceResponse) ProtoMessage() {} + +func (x *GetMarketBalanceResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMarketBalanceResponse.ProtoReflect.Descriptor instead. +func (*GetMarketBalanceResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{3} +} + +func (x *GetMarketBalanceResponse) GetBalance() *Balance { + if x != nil { + return x.Balance + } + return nil +} + +func (x *GetMarketBalanceResponse) GetFee() *Fee { + if x != nil { + return x.Fee + } + return nil +} + +type GetMarketPriceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` +} + +func (x *GetMarketPriceRequest) Reset() { + *x = GetMarketPriceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMarketPriceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMarketPriceRequest) ProtoMessage() {} + +func (x *GetMarketPriceRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMarketPriceRequest.ProtoReflect.Descriptor instead. +func (*GetMarketPriceRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{4} +} + +func (x *GetMarketPriceRequest) GetMarket() *Market { + if x != nil { + return x.Market + } + return nil +} + +type GetMarketPriceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SpotPrice float64 `protobuf:"fixed64,1,opt,name=spot_price,json=spotPrice,proto3" json:"spot_price,omitempty"` + MinTradableAmount uint64 `protobuf:"varint,2,opt,name=min_tradable_amount,json=minTradableAmount,proto3" json:"min_tradable_amount,omitempty"` +} + +func (x *GetMarketPriceResponse) Reset() { + *x = GetMarketPriceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMarketPriceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMarketPriceResponse) ProtoMessage() {} + +func (x *GetMarketPriceResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMarketPriceResponse.ProtoReflect.Descriptor instead. +func (*GetMarketPriceResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{5} +} + +func (x *GetMarketPriceResponse) GetSpotPrice() float64 { + if x != nil { + return x.SpotPrice + } + return 0 +} + +func (x *GetMarketPriceResponse) GetMinTradableAmount() uint64 { + if x != nil { + return x.MinTradableAmount + } + return 0 +} + +type PreviewTradeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` + Type TradeType `protobuf:"varint,2,opt,name=type,proto3,enum=tdex.v2.TradeType" json:"type,omitempty"` + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` + FeeAsset string `protobuf:"bytes,5,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"` +} + +func (x *PreviewTradeRequest) Reset() { + *x = PreviewTradeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreviewTradeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreviewTradeRequest) ProtoMessage() {} + +func (x *PreviewTradeRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreviewTradeRequest.ProtoReflect.Descriptor instead. +func (*PreviewTradeRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{6} +} + +func (x *PreviewTradeRequest) GetMarket() *Market { + if x != nil { + return x.Market + } + return nil +} + +func (x *PreviewTradeRequest) GetType() TradeType { + if x != nil { + return x.Type + } + return TradeType_TRADE_TYPE_BUY +} + +func (x *PreviewTradeRequest) GetAmount() uint64 { + if x != nil { + return x.Amount + } + return 0 +} + +func (x *PreviewTradeRequest) GetAsset() string { + if x != nil { + return x.Asset + } + return "" +} + +func (x *PreviewTradeRequest) GetFeeAsset() string { + if x != nil { + return x.FeeAsset + } + return "" +} + +type PreviewTradeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Previews []*Preview `protobuf:"bytes,1,rep,name=previews,proto3" json:"previews,omitempty"` +} + +func (x *PreviewTradeResponse) Reset() { + *x = PreviewTradeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreviewTradeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreviewTradeResponse) ProtoMessage() {} + +func (x *PreviewTradeResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreviewTradeResponse.ProtoReflect.Descriptor instead. +func (*PreviewTradeResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{7} +} + +func (x *PreviewTradeResponse) GetPreviews() []*Preview { + if x != nil { + return x.Previews + } + return nil +} + +type ProposeTradeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` + Type TradeType `protobuf:"varint,2,opt,name=type,proto3,enum=tdex.v2.TradeType" json:"type,omitempty"` + SwapRequest *SwapRequest `protobuf:"bytes,3,opt,name=swap_request,json=swapRequest,proto3" json:"swap_request,omitempty"` +} + +func (x *ProposeTradeRequest) Reset() { + *x = ProposeTradeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposeTradeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposeTradeRequest) ProtoMessage() {} + +func (x *ProposeTradeRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposeTradeRequest.ProtoReflect.Descriptor instead. +func (*ProposeTradeRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{8} +} + +func (x *ProposeTradeRequest) GetMarket() *Market { + if x != nil { + return x.Market + } + return nil +} + +func (x *ProposeTradeRequest) GetType() TradeType { + if x != nil { + return x.Type + } + return TradeType_TRADE_TYPE_BUY +} + +func (x *ProposeTradeRequest) GetSwapRequest() *SwapRequest { + if x != nil { + return x.SwapRequest + } + return nil +} + +type ProposeTradeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SwapAccept *SwapAccept `protobuf:"bytes,1,opt,name=swap_accept,json=swapAccept,proto3" json:"swap_accept,omitempty"` + SwapFail *SwapFail `protobuf:"bytes,2,opt,name=swap_fail,json=swapFail,proto3" json:"swap_fail,omitempty"` + ExpiryTimeUnix uint64 `protobuf:"varint,3,opt,name=expiry_time_unix,json=expiryTimeUnix,proto3" json:"expiry_time_unix,omitempty"` +} + +func (x *ProposeTradeResponse) Reset() { + *x = ProposeTradeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProposeTradeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProposeTradeResponse) ProtoMessage() {} + +func (x *ProposeTradeResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProposeTradeResponse.ProtoReflect.Descriptor instead. +func (*ProposeTradeResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{9} +} + +func (x *ProposeTradeResponse) GetSwapAccept() *SwapAccept { + if x != nil { + return x.SwapAccept + } + return nil +} + +func (x *ProposeTradeResponse) GetSwapFail() *SwapFail { + if x != nil { + return x.SwapFail + } + return nil +} + +func (x *ProposeTradeResponse) GetExpiryTimeUnix() uint64 { + if x != nil { + return x.ExpiryTimeUnix + } + return 0 +} + +type CompleteTradeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + SwapComplete *SwapComplete `protobuf:"bytes,1,opt,name=swap_complete,json=swapComplete,proto3" json:"swap_complete,omitempty"` + SwapFail *SwapFail `protobuf:"bytes,2,opt,name=swap_fail,json=swapFail,proto3" json:"swap_fail,omitempty"` +} + +func (x *CompleteTradeRequest) Reset() { + *x = CompleteTradeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompleteTradeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompleteTradeRequest) ProtoMessage() {} + +func (x *CompleteTradeRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompleteTradeRequest.ProtoReflect.Descriptor instead. +func (*CompleteTradeRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{10} +} + +func (x *CompleteTradeRequest) GetSwapComplete() *SwapComplete { + if x != nil { + return x.SwapComplete + } + return nil +} + +func (x *CompleteTradeRequest) GetSwapFail() *SwapFail { + if x != nil { + return x.SwapFail + } + return nil +} + +type CompleteTradeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` + SwapFail *SwapFail `protobuf:"bytes,2,opt,name=swap_fail,json=swapFail,proto3" json:"swap_fail,omitempty"` +} + +func (x *CompleteTradeResponse) Reset() { + *x = CompleteTradeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_trade_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CompleteTradeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CompleteTradeResponse) ProtoMessage() {} + +func (x *CompleteTradeResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_trade_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CompleteTradeResponse.ProtoReflect.Descriptor instead. +func (*CompleteTradeResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_trade_proto_rawDescGZIP(), []int{11} +} + +func (x *CompleteTradeResponse) GetTxid() string { + if x != nil { + return x.Txid + } + return "" +} + +func (x *CompleteTradeResponse) GetSwapFail() *SwapFail { + if x != nil { + return x.SwapFail + } + return nil +} + +var File_tdex_v2_trade_proto protoreflect.FileDescriptor + +var file_tdex_v2_trade_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x1a, 0x12, + 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x13, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x47, 0x0a, 0x13, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x52, 0x07, 0x6d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x73, 0x22, 0x42, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x66, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, + 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x1e, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, + 0x22, 0x40, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, + 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x22, 0x67, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, + 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x09, 0x73, 0x70, 0x6f, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6d, + 0x69, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x69, 0x6e, 0x54, 0x72, 0x61, + 0x64, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb1, 0x01, 0x0a, 0x13, + 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x22, + 0x44, 0x0a, 0x14, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x76, 0x69, + 0x65, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x08, 0x70, 0x72, 0x65, + 0x76, 0x69, 0x65, 0x77, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, + 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, + 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, + 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x54, + 0x72, 0x61, 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x37, + 0x0a, 0x0c, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x53, + 0x77, 0x61, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x73, 0x77, 0x61, 0x70, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x70, + 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x34, 0x0a, 0x0b, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, + 0x53, 0x77, 0x61, 0x70, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x0a, 0x73, 0x77, 0x61, 0x70, + 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x64, 0x65, 0x78, + 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x46, 0x61, 0x69, 0x6c, 0x52, 0x08, 0x73, 0x77, + 0x61, 0x70, 0x46, 0x61, 0x69, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, + 0x22, 0x82, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, + 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0d, 0x73, 0x77, 0x61, + 0x70, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x43, + 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x0c, 0x73, 0x77, 0x61, 0x70, 0x43, 0x6f, 0x6d, + 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x09, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x61, + 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x32, 0x2e, 0x53, 0x77, 0x61, 0x70, 0x46, 0x61, 0x69, 0x6c, 0x52, 0x08, 0x73, 0x77, 0x61, + 0x70, 0x46, 0x61, 0x69, 0x6c, 0x22, 0x5b, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x09, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, + 0x53, 0x77, 0x61, 0x70, 0x46, 0x61, 0x69, 0x6c, 0x52, 0x08, 0x73, 0x77, 0x61, 0x70, 0x46, 0x61, + 0x69, 0x6c, 0x32, 0x9a, 0x05, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x64, 0x65, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x13, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x0d, 0x22, 0x0b, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x73, 0x12, 0x76, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, + 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, + 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, + 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x61, 0x72, 0x6b, + 0x65, 0x74, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x6e, 0x0a, 0x0e, 0x47, 0x65, + 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, + 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x3a, 0x01, 0x2a, 0x22, 0x10, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x2f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x50, 0x72, + 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x72, 0x61, 0x64, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, + 0x01, 0x2a, 0x22, 0x11, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x2f, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x69, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, + 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, + 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x3a, 0x01, 0x2a, 0x22, 0x11, 0x2f, + 0x76, 0x32, 0x2f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, + 0x12, 0x6d, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x64, + 0x65, 0x12, 0x1d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x70, + 0x6c, 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x32, + 0x2f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x42, + 0xa0, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x42, + 0x0a, 0x54, 0x72, 0x61, 0x64, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, + 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, + 0x3b, 0x74, 0x64, 0x65, 0x78, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, + 0x54, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, + 0x32, 0xe2, 0x02, 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x64, 0x65, 0x78, 0x3a, 0x3a, + 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_tdex_v2_trade_proto_rawDescOnce sync.Once + file_tdex_v2_trade_proto_rawDescData = file_tdex_v2_trade_proto_rawDesc +) + +func file_tdex_v2_trade_proto_rawDescGZIP() []byte { + file_tdex_v2_trade_proto_rawDescOnce.Do(func() { + file_tdex_v2_trade_proto_rawDescData = protoimpl.X.CompressGZIP(file_tdex_v2_trade_proto_rawDescData) + }) + return file_tdex_v2_trade_proto_rawDescData +} + +var file_tdex_v2_trade_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_tdex_v2_trade_proto_goTypes = []interface{}{ + (*ListMarketsRequest)(nil), // 0: tdex.v2.ListMarketsRequest + (*ListMarketsResponse)(nil), // 1: tdex.v2.ListMarketsResponse + (*GetMarketBalanceRequest)(nil), // 2: tdex.v2.GetMarketBalanceRequest + (*GetMarketBalanceResponse)(nil), // 3: tdex.v2.GetMarketBalanceResponse + (*GetMarketPriceRequest)(nil), // 4: tdex.v2.GetMarketPriceRequest + (*GetMarketPriceResponse)(nil), // 5: tdex.v2.GetMarketPriceResponse + (*PreviewTradeRequest)(nil), // 6: tdex.v2.PreviewTradeRequest + (*PreviewTradeResponse)(nil), // 7: tdex.v2.PreviewTradeResponse + (*ProposeTradeRequest)(nil), // 8: tdex.v2.ProposeTradeRequest + (*ProposeTradeResponse)(nil), // 9: tdex.v2.ProposeTradeResponse + (*CompleteTradeRequest)(nil), // 10: tdex.v2.CompleteTradeRequest + (*CompleteTradeResponse)(nil), // 11: tdex.v2.CompleteTradeResponse + (*MarketWithFee)(nil), // 12: tdex.v2.MarketWithFee + (*Market)(nil), // 13: tdex.v2.Market + (*Balance)(nil), // 14: tdex.v2.Balance + (*Fee)(nil), // 15: tdex.v2.Fee + (TradeType)(0), // 16: tdex.v2.TradeType + (*Preview)(nil), // 17: tdex.v2.Preview + (*SwapRequest)(nil), // 18: tdex.v2.SwapRequest + (*SwapAccept)(nil), // 19: tdex.v2.SwapAccept + (*SwapFail)(nil), // 20: tdex.v2.SwapFail + (*SwapComplete)(nil), // 21: tdex.v2.SwapComplete +} +var file_tdex_v2_trade_proto_depIdxs = []int32{ + 12, // 0: tdex.v2.ListMarketsResponse.markets:type_name -> tdex.v2.MarketWithFee + 13, // 1: tdex.v2.GetMarketBalanceRequest.market:type_name -> tdex.v2.Market + 14, // 2: tdex.v2.GetMarketBalanceResponse.balance:type_name -> tdex.v2.Balance + 15, // 3: tdex.v2.GetMarketBalanceResponse.fee:type_name -> tdex.v2.Fee + 13, // 4: tdex.v2.GetMarketPriceRequest.market:type_name -> tdex.v2.Market + 13, // 5: tdex.v2.PreviewTradeRequest.market:type_name -> tdex.v2.Market + 16, // 6: tdex.v2.PreviewTradeRequest.type:type_name -> tdex.v2.TradeType + 17, // 7: tdex.v2.PreviewTradeResponse.previews:type_name -> tdex.v2.Preview + 13, // 8: tdex.v2.ProposeTradeRequest.market:type_name -> tdex.v2.Market + 16, // 9: tdex.v2.ProposeTradeRequest.type:type_name -> tdex.v2.TradeType + 18, // 10: tdex.v2.ProposeTradeRequest.swap_request:type_name -> tdex.v2.SwapRequest + 19, // 11: tdex.v2.ProposeTradeResponse.swap_accept:type_name -> tdex.v2.SwapAccept + 20, // 12: tdex.v2.ProposeTradeResponse.swap_fail:type_name -> tdex.v2.SwapFail + 21, // 13: tdex.v2.CompleteTradeRequest.swap_complete:type_name -> tdex.v2.SwapComplete + 20, // 14: tdex.v2.CompleteTradeRequest.swap_fail:type_name -> tdex.v2.SwapFail + 20, // 15: tdex.v2.CompleteTradeResponse.swap_fail:type_name -> tdex.v2.SwapFail + 0, // 16: tdex.v2.TradeService.ListMarkets:input_type -> tdex.v2.ListMarketsRequest + 2, // 17: tdex.v2.TradeService.GetMarketBalance:input_type -> tdex.v2.GetMarketBalanceRequest + 4, // 18: tdex.v2.TradeService.GetMarketPrice:input_type -> tdex.v2.GetMarketPriceRequest + 6, // 19: tdex.v2.TradeService.PreviewTrade:input_type -> tdex.v2.PreviewTradeRequest + 8, // 20: tdex.v2.TradeService.ProposeTrade:input_type -> tdex.v2.ProposeTradeRequest + 10, // 21: tdex.v2.TradeService.CompleteTrade:input_type -> tdex.v2.CompleteTradeRequest + 1, // 22: tdex.v2.TradeService.ListMarkets:output_type -> tdex.v2.ListMarketsResponse + 3, // 23: tdex.v2.TradeService.GetMarketBalance:output_type -> tdex.v2.GetMarketBalanceResponse + 5, // 24: tdex.v2.TradeService.GetMarketPrice:output_type -> tdex.v2.GetMarketPriceResponse + 7, // 25: tdex.v2.TradeService.PreviewTrade:output_type -> tdex.v2.PreviewTradeResponse + 9, // 26: tdex.v2.TradeService.ProposeTrade:output_type -> tdex.v2.ProposeTradeResponse + 11, // 27: tdex.v2.TradeService.CompleteTrade:output_type -> tdex.v2.CompleteTradeResponse + 22, // [22:28] is the sub-list for method output_type + 16, // [16:22] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_tdex_v2_trade_proto_init() } +func file_tdex_v2_trade_proto_init() { + if File_tdex_v2_trade_proto != nil { + return + } + file_tdex_v2_swap_proto_init() + file_tdex_v2_types_proto_init() + if !protoimpl.UnsafeEnabled { + file_tdex_v2_trade_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMarketsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListMarketsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMarketBalanceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMarketBalanceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMarketPriceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMarketPriceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreviewTradeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreviewTradeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposeTradeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProposeTradeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompleteTradeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_trade_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompleteTradeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_tdex_v2_trade_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_tdex_v2_trade_proto_goTypes, + DependencyIndexes: file_tdex_v2_trade_proto_depIdxs, + MessageInfos: file_tdex_v2_trade_proto_msgTypes, + }.Build() + File_tdex_v2_trade_proto = out.File + file_tdex_v2_trade_proto_rawDesc = nil + file_tdex_v2_trade_proto_goTypes = nil + file_tdex_v2_trade_proto_depIdxs = nil +} diff --git a/api-spec/protobuf/gen/tdex/v2/trade.pb.gw.go b/api-spec/protobuf/gen/tdex/v2/trade.pb.gw.go new file mode 100644 index 00000000..a2f3b30f --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/trade.pb.gw.go @@ -0,0 +1,580 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: tdex/v2/trade.proto + +/* +Package tdexv2 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package tdexv2 + +import ( + "context" + "io" + "net/http" + + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_TradeService_ListMarkets_0(ctx context.Context, marshaler runtime.Marshaler, client TradeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ListMarketsRequest + var metadata runtime.ServerMetadata + + msg, err := client.ListMarkets(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TradeService_ListMarkets_0(ctx context.Context, marshaler runtime.Marshaler, server TradeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ListMarketsRequest + var metadata runtime.ServerMetadata + + msg, err := server.ListMarkets(ctx, &protoReq) + return msg, metadata, err + +} + +func request_TradeService_GetMarketBalance_0(ctx context.Context, marshaler runtime.Marshaler, client TradeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetMarketBalanceRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetMarketBalance(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TradeService_GetMarketBalance_0(ctx context.Context, marshaler runtime.Marshaler, server TradeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetMarketBalanceRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetMarketBalance(ctx, &protoReq) + return msg, metadata, err + +} + +func request_TradeService_GetMarketPrice_0(ctx context.Context, marshaler runtime.Marshaler, client TradeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetMarketPriceRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.GetMarketPrice(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TradeService_GetMarketPrice_0(ctx context.Context, marshaler runtime.Marshaler, server TradeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetMarketPriceRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.GetMarketPrice(ctx, &protoReq) + return msg, metadata, err + +} + +func request_TradeService_PreviewTrade_0(ctx context.Context, marshaler runtime.Marshaler, client TradeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PreviewTradeRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.PreviewTrade(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TradeService_PreviewTrade_0(ctx context.Context, marshaler runtime.Marshaler, server TradeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq PreviewTradeRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.PreviewTrade(ctx, &protoReq) + return msg, metadata, err + +} + +func request_TradeService_ProposeTrade_0(ctx context.Context, marshaler runtime.Marshaler, client TradeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposeTradeRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.ProposeTrade(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TradeService_ProposeTrade_0(ctx context.Context, marshaler runtime.Marshaler, server TradeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq ProposeTradeRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.ProposeTrade(ctx, &protoReq) + return msg, metadata, err + +} + +func request_TradeService_CompleteTrade_0(ctx context.Context, marshaler runtime.Marshaler, client TradeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CompleteTradeRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.CompleteTrade(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TradeService_CompleteTrade_0(ctx context.Context, marshaler runtime.Marshaler, server TradeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq CompleteTradeRequest + var metadata runtime.ServerMetadata + + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) + } + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.CompleteTrade(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterTradeServiceHandlerServer registers the http handlers for service TradeService to "mux". +// UnaryRPC :call TradeServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTradeServiceHandlerFromEndpoint instead. +func RegisterTradeServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TradeServiceServer) error { + + mux.Handle("POST", pattern_TradeService_ListMarkets_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TradeService/ListMarkets", runtime.WithHTTPPathPattern("/v2/markets")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TradeService_ListMarkets_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_ListMarkets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_GetMarketBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TradeService/GetMarketBalance", runtime.WithHTTPPathPattern("/v2/market/balance")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TradeService_GetMarketBalance_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_GetMarketBalance_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_GetMarketPrice_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TradeService/GetMarketPrice", runtime.WithHTTPPathPattern("/v2/market/price")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TradeService_GetMarketPrice_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_GetMarketPrice_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_PreviewTrade_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TradeService/PreviewTrade", runtime.WithHTTPPathPattern("/v2/trade/preview")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TradeService_PreviewTrade_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_PreviewTrade_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_ProposeTrade_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TradeService/ProposeTrade", runtime.WithHTTPPathPattern("/v2/trade/propose")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TradeService_ProposeTrade_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_ProposeTrade_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_CompleteTrade_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TradeService/CompleteTrade", runtime.WithHTTPPathPattern("/v2/trade/complete")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TradeService_CompleteTrade_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_CompleteTrade_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterTradeServiceHandlerFromEndpoint is same as RegisterTradeServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterTradeServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterTradeServiceHandler(ctx, mux, conn) +} + +// RegisterTradeServiceHandler registers the http handlers for service TradeService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterTradeServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterTradeServiceHandlerClient(ctx, mux, NewTradeServiceClient(conn)) +} + +// RegisterTradeServiceHandlerClient registers the http handlers for service TradeService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TradeServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TradeServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "TradeServiceClient" to call the correct interceptors. +func RegisterTradeServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TradeServiceClient) error { + + mux.Handle("POST", pattern_TradeService_ListMarkets_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TradeService/ListMarkets", runtime.WithHTTPPathPattern("/v2/markets")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TradeService_ListMarkets_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_ListMarkets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_GetMarketBalance_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TradeService/GetMarketBalance", runtime.WithHTTPPathPattern("/v2/market/balance")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TradeService_GetMarketBalance_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_GetMarketBalance_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_GetMarketPrice_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TradeService/GetMarketPrice", runtime.WithHTTPPathPattern("/v2/market/price")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TradeService_GetMarketPrice_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_GetMarketPrice_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_PreviewTrade_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TradeService/PreviewTrade", runtime.WithHTTPPathPattern("/v2/trade/preview")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TradeService_PreviewTrade_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_PreviewTrade_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_ProposeTrade_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TradeService/ProposeTrade", runtime.WithHTTPPathPattern("/v2/trade/propose")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TradeService_ProposeTrade_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_ProposeTrade_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("POST", pattern_TradeService_CompleteTrade_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TradeService/CompleteTrade", runtime.WithHTTPPathPattern("/v2/trade/complete")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TradeService_CompleteTrade_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TradeService_CompleteTrade_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_TradeService_ListMarkets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v2", "markets"}, "")) + + pattern_TradeService_GetMarketBalance_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "market", "balance"}, "")) + + pattern_TradeService_GetMarketPrice_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "market", "price"}, "")) + + pattern_TradeService_PreviewTrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "trade", "preview"}, "")) + + pattern_TradeService_ProposeTrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "trade", "propose"}, "")) + + pattern_TradeService_CompleteTrade_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "trade", "complete"}, "")) +) + +var ( + forward_TradeService_ListMarkets_0 = runtime.ForwardResponseMessage + + forward_TradeService_GetMarketBalance_0 = runtime.ForwardResponseMessage + + forward_TradeService_GetMarketPrice_0 = runtime.ForwardResponseMessage + + forward_TradeService_PreviewTrade_0 = runtime.ForwardResponseMessage + + forward_TradeService_ProposeTrade_0 = runtime.ForwardResponseMessage + + forward_TradeService_CompleteTrade_0 = runtime.ForwardResponseMessage +) diff --git a/api-spec/protobuf/gen/tdex/v2/trade_grpc.pb.go b/api-spec/protobuf/gen/tdex/v2/trade_grpc.pb.go new file mode 100644 index 00000000..48f3b3bd --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/trade_grpc.pb.go @@ -0,0 +1,329 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: tdex/v2/trade.proto + +package tdexv2 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// TradeServiceClient is the client API for TradeService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type TradeServiceClient interface { + // ListMarkets lists all the markets open for trading. + ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error) + // GetMarketBalance retutns the balance of the two current reserves of the + // given market. + GetMarketBalance(ctx context.Context, in *GetMarketBalanceRequest, opts ...grpc.CallOption) (*GetMarketBalanceResponse, error) + // GetMarketPrice retutns the spot price for the requested market and its + // minimum tradable amount of base asset. + GetMarketPrice(ctx context.Context, in *GetMarketPriceRequest, opts ...grpc.CallOption) (*GetMarketPriceResponse, error) + // PreviewTrade returns a counter amount and asset in response to the + // provided ones and a trade type for a market. + // + // The trade type can assume values BUY or SELL and it always refer to the + // fixed base asset. + // For example: + // * if trade type is BUY, it means the trader wants to buy base asset funds. + // * if trade type is SELL, it means the trader wants to sell base asset funds. + PreviewTrade(ctx context.Context, in *PreviewTradeRequest, opts ...grpc.CallOption) (*PreviewTradeResponse, error) + // ProposeTrade allows a trader to present a SwapRequest. The service answers + // with a SwapAccept, filling the request's partial transaction, + an + // expiration time to complete the swap when accepting the swap, or, + // otherwise, with a SwapFail containg the reason for the rejection of the + // proposal. + ProposeTrade(ctx context.Context, in *ProposeTradeRequest, opts ...grpc.CallOption) (*ProposeTradeResponse, error) + // CompleteTrade can be used by the trader to let the daemon finalizing, + // extracting, and broadcasting the swap transaction, once he's signed his + // inputs. + // This is not mandatory, the trader can do the steps above on his own + // alternatively. + CompleteTrade(ctx context.Context, in *CompleteTradeRequest, opts ...grpc.CallOption) (*CompleteTradeResponse, error) +} + +type tradeServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewTradeServiceClient(cc grpc.ClientConnInterface) TradeServiceClient { + return &tradeServiceClient{cc} +} + +func (c *tradeServiceClient) ListMarkets(ctx context.Context, in *ListMarketsRequest, opts ...grpc.CallOption) (*ListMarketsResponse, error) { + out := new(ListMarketsResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TradeService/ListMarkets", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *tradeServiceClient) GetMarketBalance(ctx context.Context, in *GetMarketBalanceRequest, opts ...grpc.CallOption) (*GetMarketBalanceResponse, error) { + out := new(GetMarketBalanceResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TradeService/GetMarketBalance", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *tradeServiceClient) GetMarketPrice(ctx context.Context, in *GetMarketPriceRequest, opts ...grpc.CallOption) (*GetMarketPriceResponse, error) { + out := new(GetMarketPriceResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TradeService/GetMarketPrice", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *tradeServiceClient) PreviewTrade(ctx context.Context, in *PreviewTradeRequest, opts ...grpc.CallOption) (*PreviewTradeResponse, error) { + out := new(PreviewTradeResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TradeService/PreviewTrade", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *tradeServiceClient) ProposeTrade(ctx context.Context, in *ProposeTradeRequest, opts ...grpc.CallOption) (*ProposeTradeResponse, error) { + out := new(ProposeTradeResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TradeService/ProposeTrade", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *tradeServiceClient) CompleteTrade(ctx context.Context, in *CompleteTradeRequest, opts ...grpc.CallOption) (*CompleteTradeResponse, error) { + out := new(CompleteTradeResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TradeService/CompleteTrade", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TradeServiceServer is the server API for TradeService service. +// All implementations should embed UnimplementedTradeServiceServer +// for forward compatibility +type TradeServiceServer interface { + // ListMarkets lists all the markets open for trading. + ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) + // GetMarketBalance retutns the balance of the two current reserves of the + // given market. + GetMarketBalance(context.Context, *GetMarketBalanceRequest) (*GetMarketBalanceResponse, error) + // GetMarketPrice retutns the spot price for the requested market and its + // minimum tradable amount of base asset. + GetMarketPrice(context.Context, *GetMarketPriceRequest) (*GetMarketPriceResponse, error) + // PreviewTrade returns a counter amount and asset in response to the + // provided ones and a trade type for a market. + // + // The trade type can assume values BUY or SELL and it always refer to the + // fixed base asset. + // For example: + // * if trade type is BUY, it means the trader wants to buy base asset funds. + // * if trade type is SELL, it means the trader wants to sell base asset funds. + PreviewTrade(context.Context, *PreviewTradeRequest) (*PreviewTradeResponse, error) + // ProposeTrade allows a trader to present a SwapRequest. The service answers + // with a SwapAccept, filling the request's partial transaction, + an + // expiration time to complete the swap when accepting the swap, or, + // otherwise, with a SwapFail containg the reason for the rejection of the + // proposal. + ProposeTrade(context.Context, *ProposeTradeRequest) (*ProposeTradeResponse, error) + // CompleteTrade can be used by the trader to let the daemon finalizing, + // extracting, and broadcasting the swap transaction, once he's signed his + // inputs. + // This is not mandatory, the trader can do the steps above on his own + // alternatively. + CompleteTrade(context.Context, *CompleteTradeRequest) (*CompleteTradeResponse, error) +} + +// UnimplementedTradeServiceServer should be embedded to have forward compatible implementations. +type UnimplementedTradeServiceServer struct { +} + +func (UnimplementedTradeServiceServer) ListMarkets(context.Context, *ListMarketsRequest) (*ListMarketsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListMarkets not implemented") +} +func (UnimplementedTradeServiceServer) GetMarketBalance(context.Context, *GetMarketBalanceRequest) (*GetMarketBalanceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketBalance not implemented") +} +func (UnimplementedTradeServiceServer) GetMarketPrice(context.Context, *GetMarketPriceRequest) (*GetMarketPriceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMarketPrice not implemented") +} +func (UnimplementedTradeServiceServer) PreviewTrade(context.Context, *PreviewTradeRequest) (*PreviewTradeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PreviewTrade not implemented") +} +func (UnimplementedTradeServiceServer) ProposeTrade(context.Context, *ProposeTradeRequest) (*ProposeTradeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ProposeTrade not implemented") +} +func (UnimplementedTradeServiceServer) CompleteTrade(context.Context, *CompleteTradeRequest) (*CompleteTradeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CompleteTrade not implemented") +} + +// UnsafeTradeServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to TradeServiceServer will +// result in compilation errors. +type UnsafeTradeServiceServer interface { + mustEmbedUnimplementedTradeServiceServer() +} + +func RegisterTradeServiceServer(s grpc.ServiceRegistrar, srv TradeServiceServer) { + s.RegisterService(&TradeService_ServiceDesc, srv) +} + +func _TradeService_ListMarkets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListMarketsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TradeServiceServer).ListMarkets(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TradeService/ListMarkets", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TradeServiceServer).ListMarkets(ctx, req.(*ListMarketsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TradeService_GetMarketBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMarketBalanceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TradeServiceServer).GetMarketBalance(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TradeService/GetMarketBalance", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TradeServiceServer).GetMarketBalance(ctx, req.(*GetMarketBalanceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TradeService_GetMarketPrice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMarketPriceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TradeServiceServer).GetMarketPrice(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TradeService/GetMarketPrice", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TradeServiceServer).GetMarketPrice(ctx, req.(*GetMarketPriceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TradeService_PreviewTrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PreviewTradeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TradeServiceServer).PreviewTrade(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TradeService/PreviewTrade", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TradeServiceServer).PreviewTrade(ctx, req.(*PreviewTradeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TradeService_ProposeTrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ProposeTradeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TradeServiceServer).ProposeTrade(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TradeService/ProposeTrade", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TradeServiceServer).ProposeTrade(ctx, req.(*ProposeTradeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _TradeService_CompleteTrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CompleteTradeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TradeServiceServer).CompleteTrade(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TradeService/CompleteTrade", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TradeServiceServer).CompleteTrade(ctx, req.(*CompleteTradeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// TradeService_ServiceDesc is the grpc.ServiceDesc for TradeService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var TradeService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "tdex.v2.TradeService", + HandlerType: (*TradeServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ListMarkets", + Handler: _TradeService_ListMarkets_Handler, + }, + { + MethodName: "GetMarketBalance", + Handler: _TradeService_GetMarketBalance_Handler, + }, + { + MethodName: "GetMarketPrice", + Handler: _TradeService_GetMarketPrice_Handler, + }, + { + MethodName: "PreviewTrade", + Handler: _TradeService_PreviewTrade_Handler, + }, + { + MethodName: "ProposeTrade", + Handler: _TradeService_ProposeTrade_Handler, + }, + { + MethodName: "CompleteTrade", + Handler: _TradeService_CompleteTrade_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "tdex/v2/trade.proto", +} diff --git a/api-spec/protobuf/gen/tdex/v2/transport.pb.go b/api-spec/protobuf/gen/tdex/v2/transport.pb.go new file mode 100644 index 00000000..e97dec31 --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/transport.pb.go @@ -0,0 +1,227 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc (unknown) +// source: tdex/v2/transport.proto + +package tdexv2 + +import ( + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type SupportedContentTypesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SupportedContentTypesRequest) Reset() { + *x = SupportedContentTypesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_transport_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SupportedContentTypesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SupportedContentTypesRequest) ProtoMessage() {} + +func (x *SupportedContentTypesRequest) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_transport_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SupportedContentTypesRequest.ProtoReflect.Descriptor instead. +func (*SupportedContentTypesRequest) Descriptor() ([]byte, []int) { + return file_tdex_v2_transport_proto_rawDescGZIP(), []int{0} +} + +type SupportedContentTypesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AcceptedTypes []ContentType `protobuf:"varint,1,rep,packed,name=accepted_types,json=acceptedTypes,proto3,enum=tdex.v2.ContentType" json:"accepted_types,omitempty"` +} + +func (x *SupportedContentTypesResponse) Reset() { + *x = SupportedContentTypesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_transport_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SupportedContentTypesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SupportedContentTypesResponse) ProtoMessage() {} + +func (x *SupportedContentTypesResponse) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_transport_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SupportedContentTypesResponse.ProtoReflect.Descriptor instead. +func (*SupportedContentTypesResponse) Descriptor() ([]byte, []int) { + return file_tdex_v2_transport_proto_rawDescGZIP(), []int{1} +} + +func (x *SupportedContentTypesResponse) GetAcceptedTypes() []ContentType { + if x != nil { + return x.AcceptedTypes + } + return nil +} + +var File_tdex_v2_transport_proto protoreflect.FileDescriptor + +var file_tdex_v2_transport_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, + 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x32, 0x1a, 0x13, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x1c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x1d, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, + 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, + 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x32, 0x91, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, + 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7d, 0x0a, 0x15, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x12, 0x25, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x32, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x42, 0xa4, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, + 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x42, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, + 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, + 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x64, 0x65, + 0x78, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, + 0x2e, 0x56, 0x32, 0xca, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x13, + 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x64, 0x65, 0x78, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_tdex_v2_transport_proto_rawDescOnce sync.Once + file_tdex_v2_transport_proto_rawDescData = file_tdex_v2_transport_proto_rawDesc +) + +func file_tdex_v2_transport_proto_rawDescGZIP() []byte { + file_tdex_v2_transport_proto_rawDescOnce.Do(func() { + file_tdex_v2_transport_proto_rawDescData = protoimpl.X.CompressGZIP(file_tdex_v2_transport_proto_rawDescData) + }) + return file_tdex_v2_transport_proto_rawDescData +} + +var file_tdex_v2_transport_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_tdex_v2_transport_proto_goTypes = []interface{}{ + (*SupportedContentTypesRequest)(nil), // 0: tdex.v2.SupportedContentTypesRequest + (*SupportedContentTypesResponse)(nil), // 1: tdex.v2.SupportedContentTypesResponse + (ContentType)(0), // 2: tdex.v2.ContentType +} +var file_tdex_v2_transport_proto_depIdxs = []int32{ + 2, // 0: tdex.v2.SupportedContentTypesResponse.accepted_types:type_name -> tdex.v2.ContentType + 0, // 1: tdex.v2.TransportService.SupportedContentTypes:input_type -> tdex.v2.SupportedContentTypesRequest + 1, // 2: tdex.v2.TransportService.SupportedContentTypes:output_type -> tdex.v2.SupportedContentTypesResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_tdex_v2_transport_proto_init() } +func file_tdex_v2_transport_proto_init() { + if File_tdex_v2_transport_proto != nil { + return + } + file_tdex_v2_types_proto_init() + if !protoimpl.UnsafeEnabled { + file_tdex_v2_transport_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SupportedContentTypesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_transport_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SupportedContentTypesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_tdex_v2_transport_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_tdex_v2_transport_proto_goTypes, + DependencyIndexes: file_tdex_v2_transport_proto_depIdxs, + MessageInfos: file_tdex_v2_transport_proto_msgTypes, + }.Build() + File_tdex_v2_transport_proto = out.File + file_tdex_v2_transport_proto_rawDesc = nil + file_tdex_v2_transport_proto_goTypes = nil + file_tdex_v2_transport_proto_depIdxs = nil +} diff --git a/api-spec/protobuf/gen/tdex/v2/transport.pb.gw.go b/api-spec/protobuf/gen/tdex/v2/transport.pb.gw.go new file mode 100644 index 00000000..cdf95bc0 --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/transport.pb.gw.go @@ -0,0 +1,155 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: tdex/v2/transport.proto + +/* +Package tdexv2 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package tdexv2 + +import ( + "context" + "io" + "net/http" + + "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" + "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" + "google.golang.org/protobuf/proto" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = metadata.Join + +func request_TransportService_SupportedContentTypes_0(ctx context.Context, marshaler runtime.Marshaler, client TransportServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SupportedContentTypesRequest + var metadata runtime.ServerMetadata + + msg, err := client.SupportedContentTypes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_TransportService_SupportedContentTypes_0(ctx context.Context, marshaler runtime.Marshaler, server TransportServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq SupportedContentTypesRequest + var metadata runtime.ServerMetadata + + msg, err := server.SupportedContentTypes(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterTransportServiceHandlerServer registers the http handlers for service TransportService to "mux". +// UnaryRPC :call TransportServiceServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTransportServiceHandlerFromEndpoint instead. +func RegisterTransportServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TransportServiceServer) error { + + mux.Handle("GET", pattern_TransportService_SupportedContentTypes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/tdex.v2.TransportService/SupportedContentTypes", runtime.WithHTTPPathPattern("/v2/transport")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_TransportService_SupportedContentTypes_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TransportService_SupportedContentTypes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterTransportServiceHandlerFromEndpoint is same as RegisterTransportServiceHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterTransportServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterTransportServiceHandler(ctx, mux, conn) +} + +// RegisterTransportServiceHandler registers the http handlers for service TransportService to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterTransportServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterTransportServiceHandlerClient(ctx, mux, NewTransportServiceClient(conn)) +} + +// RegisterTransportServiceHandlerClient registers the http handlers for service TransportService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TransportServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TransportServiceClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "TransportServiceClient" to call the correct interceptors. +func RegisterTransportServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransportServiceClient) error { + + mux.Handle("GET", pattern_TransportService_SupportedContentTypes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/tdex.v2.TransportService/SupportedContentTypes", runtime.WithHTTPPathPattern("/v2/transport")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_TransportService_SupportedContentTypes_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_TransportService_SupportedContentTypes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_TransportService_SupportedContentTypes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"v2", "transport"}, "")) +) + +var ( + forward_TransportService_SupportedContentTypes_0 = runtime.ForwardResponseMessage +) diff --git a/api-spec/protobuf/gen/tdex/v2/transport_grpc.pb.go b/api-spec/protobuf/gen/tdex/v2/transport_grpc.pb.go new file mode 100644 index 00000000..d9206d91 --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/transport_grpc.pb.go @@ -0,0 +1,103 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc (unknown) +// source: tdex/v2/transport.proto + +package tdexv2 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// TransportServiceClient is the client API for TransportService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type TransportServiceClient interface { + SupportedContentTypes(ctx context.Context, in *SupportedContentTypesRequest, opts ...grpc.CallOption) (*SupportedContentTypesResponse, error) +} + +type transportServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewTransportServiceClient(cc grpc.ClientConnInterface) TransportServiceClient { + return &transportServiceClient{cc} +} + +func (c *transportServiceClient) SupportedContentTypes(ctx context.Context, in *SupportedContentTypesRequest, opts ...grpc.CallOption) (*SupportedContentTypesResponse, error) { + out := new(SupportedContentTypesResponse) + err := c.cc.Invoke(ctx, "/tdex.v2.TransportService/SupportedContentTypes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// TransportServiceServer is the server API for TransportService service. +// All implementations should embed UnimplementedTransportServiceServer +// for forward compatibility +type TransportServiceServer interface { + SupportedContentTypes(context.Context, *SupportedContentTypesRequest) (*SupportedContentTypesResponse, error) +} + +// UnimplementedTransportServiceServer should be embedded to have forward compatible implementations. +type UnimplementedTransportServiceServer struct { +} + +func (UnimplementedTransportServiceServer) SupportedContentTypes(context.Context, *SupportedContentTypesRequest) (*SupportedContentTypesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SupportedContentTypes not implemented") +} + +// UnsafeTransportServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to TransportServiceServer will +// result in compilation errors. +type UnsafeTransportServiceServer interface { + mustEmbedUnimplementedTransportServiceServer() +} + +func RegisterTransportServiceServer(s grpc.ServiceRegistrar, srv TransportServiceServer) { + s.RegisterService(&TransportService_ServiceDesc, srv) +} + +func _TransportService_SupportedContentTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SupportedContentTypesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(TransportServiceServer).SupportedContentTypes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/tdex.v2.TransportService/SupportedContentTypes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(TransportServiceServer).SupportedContentTypes(ctx, req.(*SupportedContentTypesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// TransportService_ServiceDesc is the grpc.ServiceDesc for TransportService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var TransportService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "tdex.v2.TransportService", + HandlerType: (*TransportServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SupportedContentTypes", + Handler: _TransportService_SupportedContentTypes_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "tdex/v2/transport.proto", +} diff --git a/api-spec/protobuf/gen/tdex/v2/types.pb.go b/api-spec/protobuf/gen/tdex/v2/types.pb.go new file mode 100644 index 00000000..37e95302 --- /dev/null +++ b/api-spec/protobuf/gen/tdex/v2/types.pb.go @@ -0,0 +1,874 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.28.1 +// protoc (unknown) +// source: tdex/v2/types.proto + +package tdexv2 + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type TradeType int32 + +const ( + TradeType_TRADE_TYPE_BUY TradeType = 0 + TradeType_TRADE_TYPE_SELL TradeType = 1 +) + +// Enum value maps for TradeType. +var ( + TradeType_name = map[int32]string{ + 0: "TRADE_TYPE_BUY", + 1: "TRADE_TYPE_SELL", + } + TradeType_value = map[string]int32{ + "TRADE_TYPE_BUY": 0, + "TRADE_TYPE_SELL": 1, + } +) + +func (x TradeType) Enum() *TradeType { + p := new(TradeType) + *p = x + return p +} + +func (x TradeType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TradeType) Descriptor() protoreflect.EnumDescriptor { + return file_tdex_v2_types_proto_enumTypes[0].Descriptor() +} + +func (TradeType) Type() protoreflect.EnumType { + return &file_tdex_v2_types_proto_enumTypes[0] +} + +func (x TradeType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TradeType.Descriptor instead. +func (TradeType) EnumDescriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{0} +} + +type ContentType int32 + +const ( + ContentType_CONTENT_TYPE_JSON ContentType = 0 + ContentType_CONTENT_TYPE_GRPC ContentType = 1 + ContentType_CONTENT_TYPE_GRPCWEB ContentType = 2 + ContentType_CONTENT_TYPE_GRPCWEBTEXT ContentType = 3 +) + +// Enum value maps for ContentType. +var ( + ContentType_name = map[int32]string{ + 0: "CONTENT_TYPE_JSON", + 1: "CONTENT_TYPE_GRPC", + 2: "CONTENT_TYPE_GRPCWEB", + 3: "CONTENT_TYPE_GRPCWEBTEXT", + } + ContentType_value = map[string]int32{ + "CONTENT_TYPE_JSON": 0, + "CONTENT_TYPE_GRPC": 1, + "CONTENT_TYPE_GRPCWEB": 2, + "CONTENT_TYPE_GRPCWEBTEXT": 3, + } +) + +func (x ContentType) Enum() *ContentType { + p := new(ContentType) + *p = x + return p +} + +func (x ContentType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ContentType) Descriptor() protoreflect.EnumDescriptor { + return file_tdex_v2_types_proto_enumTypes[1].Descriptor() +} + +func (ContentType) Type() protoreflect.EnumType { + return &file_tdex_v2_types_proto_enumTypes[1] +} + +func (x ContentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ContentType.Descriptor instead. +func (ContentType) EnumDescriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{1} +} + +type UnblindedInput struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Index of the transaction input of reference. + Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` + // Unblinded asset. + Asset string `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` + // Unblinded amount. + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + // Asset blinider when blinding the prevout. + AssetBlinder string `protobuf:"bytes,4,opt,name=asset_blinder,json=assetBlinder,proto3" json:"asset_blinder,omitempty"` + // Amount blinider used when blinding the prevout. + AmountBlinder string `protobuf:"bytes,5,opt,name=amount_blinder,json=amountBlinder,proto3" json:"amount_blinder,omitempty"` +} + +func (x *UnblindedInput) Reset() { + *x = UnblindedInput{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnblindedInput) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnblindedInput) ProtoMessage() {} + +func (x *UnblindedInput) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UnblindedInput.ProtoReflect.Descriptor instead. +func (*UnblindedInput) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{0} +} + +func (x *UnblindedInput) GetIndex() uint32 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *UnblindedInput) GetAsset() string { + if x != nil { + return x.Asset + } + return "" +} + +func (x *UnblindedInput) GetAmount() uint64 { + if x != nil { + return x.Amount + } + return 0 +} + +func (x *UnblindedInput) GetAssetBlinder() string { + if x != nil { + return x.AssetBlinder + } + return "" +} + +func (x *UnblindedInput) GetAmountBlinder() string { + if x != nil { + return x.AmountBlinder + } + return "" +} + +type Fee struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Percentage fee on both assets of the market in basis point. + PercentageFee *MarketFee `protobuf:"bytes,1,opt,name=percentage_fee,json=percentageFee,proto3" json:"percentage_fee,omitempty"` + // Fixed fee on both assets of the market in satoshi. + FixedFee *MarketFee `protobuf:"bytes,2,opt,name=fixed_fee,json=fixedFee,proto3" json:"fixed_fee,omitempty"` +} + +func (x *Fee) Reset() { + *x = Fee{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Fee) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Fee) ProtoMessage() {} + +func (x *Fee) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Fee.ProtoReflect.Descriptor instead. +func (*Fee) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{1} +} + +func (x *Fee) GetPercentageFee() *MarketFee { + if x != nil { + return x.PercentageFee + } + return nil +} + +func (x *Fee) GetFixedFee() *MarketFee { + if x != nil { + return x.FixedFee + } + return nil +} + +type MarketFee struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BaseAsset int64 `protobuf:"varint,1,opt,name=base_asset,json=baseAsset,proto3" json:"base_asset,omitempty"` + QuoteAsset int64 `protobuf:"varint,2,opt,name=quote_asset,json=quoteAsset,proto3" json:"quote_asset,omitempty"` +} + +func (x *MarketFee) Reset() { + *x = MarketFee{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketFee) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketFee) ProtoMessage() {} + +func (x *MarketFee) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketFee.ProtoReflect.Descriptor instead. +func (*MarketFee) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{2} +} + +func (x *MarketFee) GetBaseAsset() int64 { + if x != nil { + return x.BaseAsset + } + return 0 +} + +func (x *MarketFee) GetQuoteAsset() int64 { + if x != nil { + return x.QuoteAsset + } + return 0 +} + +type Balance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BaseAmount uint64 `protobuf:"varint,1,opt,name=base_amount,json=baseAmount,proto3" json:"base_amount,omitempty"` + QuoteAmount uint64 `protobuf:"varint,2,opt,name=quote_amount,json=quoteAmount,proto3" json:"quote_amount,omitempty"` +} + +func (x *Balance) Reset() { + *x = Balance{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Balance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Balance) ProtoMessage() {} + +func (x *Balance) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Balance.ProtoReflect.Descriptor instead. +func (*Balance) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{3} +} + +func (x *Balance) GetBaseAmount() uint64 { + if x != nil { + return x.BaseAmount + } + return 0 +} + +func (x *Balance) GetQuoteAmount() uint64 { + if x != nil { + return x.QuoteAmount + } + return 0 +} + +type Market struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BaseAsset string `protobuf:"bytes,1,opt,name=base_asset,json=baseAsset,proto3" json:"base_asset,omitempty"` + QuoteAsset string `protobuf:"bytes,2,opt,name=quote_asset,json=quoteAsset,proto3" json:"quote_asset,omitempty"` +} + +func (x *Market) Reset() { + *x = Market{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Market) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Market) ProtoMessage() {} + +func (x *Market) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Market.ProtoReflect.Descriptor instead. +func (*Market) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{4} +} + +func (x *Market) GetBaseAsset() string { + if x != nil { + return x.BaseAsset + } + return "" +} + +func (x *Market) GetQuoteAsset() string { + if x != nil { + return x.QuoteAsset + } + return "" +} + +type MarketWithFee struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Market *Market `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"` + Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` +} + +func (x *MarketWithFee) Reset() { + *x = MarketWithFee{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarketWithFee) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarketWithFee) ProtoMessage() {} + +func (x *MarketWithFee) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarketWithFee.ProtoReflect.Descriptor instead. +func (*MarketWithFee) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{5} +} + +func (x *MarketWithFee) GetMarket() *Market { + if x != nil { + return x.Market + } + return nil +} + +func (x *MarketWithFee) GetFee() *Fee { + if x != nil { + return x.Fee + } + return nil +} + +type Price struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BasePrice float64 `protobuf:"fixed64,1,opt,name=base_price,json=basePrice,proto3" json:"base_price,omitempty"` + QuotePrice float64 `protobuf:"fixed64,2,opt,name=quote_price,json=quotePrice,proto3" json:"quote_price,omitempty"` +} + +func (x *Price) Reset() { + *x = Price{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Price) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Price) ProtoMessage() {} + +func (x *Price) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Price.ProtoReflect.Descriptor instead. +func (*Price) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{6} +} + +func (x *Price) GetBasePrice() float64 { + if x != nil { + return x.BasePrice + } + return 0 +} + +func (x *Price) GetQuotePrice() float64 { + if x != nil { + return x.QuotePrice + } + return 0 +} + +type Preview struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The price of the market. + Price *Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` + // The fees of the market. + Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` + // The previewd amount (fees excluded). + Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` + // The asset of the previewed amount (fees excluded). + Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"` + // The previewed fee amount, + FeeAmount uint64 `protobuf:"varint,5,opt,name=fee_amount,json=feeAmount,proto3" json:"fee_amount,omitempty"` + // The asset of the previewed fee amount, + FeeAsset string `protobuf:"bytes,6,opt,name=fee_asset,json=feeAsset,proto3" json:"fee_asset,omitempty"` +} + +func (x *Preview) Reset() { + *x = Preview{} + if protoimpl.UnsafeEnabled { + mi := &file_tdex_v2_types_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Preview) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Preview) ProtoMessage() {} + +func (x *Preview) ProtoReflect() protoreflect.Message { + mi := &file_tdex_v2_types_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Preview.ProtoReflect.Descriptor instead. +func (*Preview) Descriptor() ([]byte, []int) { + return file_tdex_v2_types_proto_rawDescGZIP(), []int{7} +} + +func (x *Preview) GetPrice() *Price { + if x != nil { + return x.Price + } + return nil +} + +func (x *Preview) GetFee() *Fee { + if x != nil { + return x.Fee + } + return nil +} + +func (x *Preview) GetAmount() uint64 { + if x != nil { + return x.Amount + } + return 0 +} + +func (x *Preview) GetAsset() string { + if x != nil { + return x.Asset + } + return "" +} + +func (x *Preview) GetFeeAmount() uint64 { + if x != nil { + return x.FeeAmount + } + return 0 +} + +func (x *Preview) GetFeeAsset() string { + if x != nil { + return x.FeeAsset + } + return "" +} + +var File_tdex_v2_types_proto protoreflect.FileDescriptor + +var file_tdex_v2_types_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x74, 0x64, 0x65, 0x78, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x22, 0xa0, + 0x01, 0x0a, 0x0e, 0x55, 0x6e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x62, + 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x6d, + 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, + 0x72, 0x22, 0x71, 0x0a, 0x03, 0x46, 0x65, 0x65, 0x12, 0x39, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x63, + 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, + 0x74, 0x46, 0x65, 0x65, 0x52, 0x0d, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, + 0x46, 0x65, 0x65, 0x12, 0x2f, 0x0a, 0x09, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, + 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x65, 0x65, 0x52, 0x08, 0x66, 0x69, 0x78, 0x65, + 0x64, 0x46, 0x65, 0x65, 0x22, 0x4b, 0x0a, 0x09, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x65, + 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x22, 0x4d, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, + 0x22, 0x48, 0x0a, 0x06, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, + 0x73, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x62, 0x61, 0x73, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, + 0x74, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x71, 0x75, 0x6f, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x22, 0x58, 0x0a, 0x0d, 0x4d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x57, 0x69, 0x74, 0x68, 0x46, 0x65, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x6d, + 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x64, + 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x6d, 0x61, + 0x72, 0x6b, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x65, 0x65, 0x52, + 0x03, 0x66, 0x65, 0x65, 0x22, 0x47, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x01, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0xb9, 0x01, + 0x0a, 0x07, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x12, 0x24, 0x0a, 0x05, 0x70, 0x72, 0x69, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x64, 0x65, 0x78, 0x2e, + 0x76, 0x32, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, + 0x1e, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x74, + 0x64, 0x65, 0x78, 0x2e, 0x76, 0x32, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1d, 0x0a, + 0x0a, 0x66, 0x65, 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x09, 0x66, 0x65, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x66, 0x65, 0x65, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x66, 0x65, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2a, 0x34, 0x0a, 0x09, 0x54, 0x72, 0x61, + 0x64, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x52, 0x41, 0x44, 0x45, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x55, 0x59, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x52, + 0x41, 0x44, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x4c, 0x10, 0x01, 0x2a, + 0x73, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, + 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4a, + 0x53, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, + 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, + 0x43, 0x57, 0x45, 0x42, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x4e, + 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x57, 0x45, 0x42, 0x54, 0x45, + 0x58, 0x54, 0x10, 0x03, 0x42, 0xa0, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x64, 0x65, + 0x78, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, + 0x64, 0x65, 0x78, 0x2d, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x64, 0x65, 0x78, + 0x2d, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x70, 0x65, 0x63, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x64, + 0x65, 0x78, 0x2f, 0x76, 0x32, 0x3b, 0x74, 0x64, 0x65, 0x78, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x54, + 0x58, 0x58, 0xaa, 0x02, 0x07, 0x54, 0x64, 0x65, 0x78, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x07, 0x54, + 0x64, 0x65, 0x78, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x13, 0x54, 0x64, 0x65, 0x78, 0x5c, 0x56, 0x32, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, + 0x64, 0x65, 0x78, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_tdex_v2_types_proto_rawDescOnce sync.Once + file_tdex_v2_types_proto_rawDescData = file_tdex_v2_types_proto_rawDesc +) + +func file_tdex_v2_types_proto_rawDescGZIP() []byte { + file_tdex_v2_types_proto_rawDescOnce.Do(func() { + file_tdex_v2_types_proto_rawDescData = protoimpl.X.CompressGZIP(file_tdex_v2_types_proto_rawDescData) + }) + return file_tdex_v2_types_proto_rawDescData +} + +var file_tdex_v2_types_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_tdex_v2_types_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_tdex_v2_types_proto_goTypes = []interface{}{ + (TradeType)(0), // 0: tdex.v2.TradeType + (ContentType)(0), // 1: tdex.v2.ContentType + (*UnblindedInput)(nil), // 2: tdex.v2.UnblindedInput + (*Fee)(nil), // 3: tdex.v2.Fee + (*MarketFee)(nil), // 4: tdex.v2.MarketFee + (*Balance)(nil), // 5: tdex.v2.Balance + (*Market)(nil), // 6: tdex.v2.Market + (*MarketWithFee)(nil), // 7: tdex.v2.MarketWithFee + (*Price)(nil), // 8: tdex.v2.Price + (*Preview)(nil), // 9: tdex.v2.Preview +} +var file_tdex_v2_types_proto_depIdxs = []int32{ + 4, // 0: tdex.v2.Fee.percentage_fee:type_name -> tdex.v2.MarketFee + 4, // 1: tdex.v2.Fee.fixed_fee:type_name -> tdex.v2.MarketFee + 6, // 2: tdex.v2.MarketWithFee.market:type_name -> tdex.v2.Market + 3, // 3: tdex.v2.MarketWithFee.fee:type_name -> tdex.v2.Fee + 8, // 4: tdex.v2.Preview.price:type_name -> tdex.v2.Price + 3, // 5: tdex.v2.Preview.fee:type_name -> tdex.v2.Fee + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_tdex_v2_types_proto_init() } +func file_tdex_v2_types_proto_init() { + if File_tdex_v2_types_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_tdex_v2_types_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnblindedInput); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Fee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketFee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Balance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Market); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarketWithFee); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Price); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tdex_v2_types_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Preview); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_tdex_v2_types_proto_rawDesc, + NumEnums: 2, + NumMessages: 8, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_tdex_v2_types_proto_goTypes, + DependencyIndexes: file_tdex_v2_types_proto_depIdxs, + EnumInfos: file_tdex_v2_types_proto_enumTypes, + MessageInfos: file_tdex_v2_types_proto_msgTypes, + }.Build() + File_tdex_v2_types_proto = out.File + file_tdex_v2_types_proto_rawDesc = nil + file_tdex_v2_types_proto_goTypes = nil + file_tdex_v2_types_proto_depIdxs = nil +} diff --git a/api-spec/protobuf/tdex-daemon/v1/operator.proto b/api-spec/protobuf/tdex-daemon/v1/operator.proto index d15a5ead..e11ed917 100644 --- a/api-spec/protobuf/tdex-daemon/v1/operator.proto +++ b/api-spec/protobuf/tdex-daemon/v1/operator.proto @@ -159,6 +159,14 @@ service OperatorService { // Returns info about volume and collected fees for specific time range rpc GetMarketReport(GetMarketReportRequest) returns(GetMarketReportResponse){} + + // Returns the list of all available proto services + rpc ListProtoServices(ListProtoServicesRequest) returns(ListProtoServicesResponse){} +} + +message ListProtoServicesRequest{} +message ListProtoServicesResponse{ + repeated string services = 1; } message GetInfoRequest{} diff --git a/cmd/tdex/main.go b/cmd/tdex/main.go index a3c219c4..d8fc607f 100644 --- a/cmd/tdex/main.go +++ b/cmd/tdex/main.go @@ -88,6 +88,7 @@ func main() { &listdeposits, &listwithdrawals, &contentType, + &getProtoSvcInfo, // TODO: deprecated commands, to be removed in next version. &fragmentfee, &fragmentmarket, diff --git a/cmd/tdex/proto_info.go b/cmd/tdex/proto_info.go new file mode 100644 index 00000000..486cb4f6 --- /dev/null +++ b/cmd/tdex/proto_info.go @@ -0,0 +1,31 @@ +package main + +import ( + "context" + + daemonv1 "github.com/tdex-network/tdex-daemon/api-spec/protobuf/gen/tdex-daemon/v1" + "github.com/urfave/cli/v2" +) + +var getProtoSvcInfo = cli.Command{ + Name: "proto", + Usage: "get info about proto services of the daemon", + Action: protoInfoAction, +} + +func protoInfoAction(ctx *cli.Context) error { + client, cleanup, err := getOperatorClient(ctx) + if err != nil { + return err + } + defer cleanup() + + resp, err := client.ListProtoServices(context.Background(), &daemonv1.ListProtoServicesRequest{}) + if err != nil { + return err + } + + printRespJSON(resp) + + return nil +} diff --git a/internal/interfaces/grpc/handler/operator.go b/internal/interfaces/grpc/handler/operator.go index f0fac16f..d981586c 100644 --- a/internal/interfaces/grpc/handler/operator.go +++ b/internal/interfaces/grpc/handler/operator.go @@ -2,11 +2,18 @@ package grpchandler import ( "context" + "crypto/tls" "encoding/hex" "errors" "fmt" "time" + "google.golang.org/grpc/credentials/insecure" + + "google.golang.org/grpc/credentials" + + "google.golang.org/grpc" + "github.com/shopspring/decimal" "github.com/tdex-network/tdex-daemon/internal/core/application" "github.com/tdex-network/tdex-daemon/internal/core/domain" @@ -15,24 +22,33 @@ import ( daemonv1 "github.com/tdex-network/tdex-daemon/api-spec/protobuf/gen/tdex-daemon/v1" tdexv1 "github.com/tdex-network/tdex-daemon/api-spec/protobuf/gen/tdex/v1" + rpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" ) type operatorHandler struct { - operatorSvc application.OperatorService + tradeAddress string + operatorAddress string + operatorSvc application.OperatorService } // NewOperatorHandler is a constructor function returning an protobuf OperatorServer. func NewOperatorHandler( operatorSvc application.OperatorService, + tradeAddress string, + operatorAddress string, ) daemonv1.OperatorServiceServer { - return newOperatorHandler(operatorSvc) + return newOperatorHandler(operatorSvc, tradeAddress, operatorAddress) } func newOperatorHandler( operatorSvc application.OperatorService, + tradeAddress string, + operatorAddress string, ) *operatorHandler { return &operatorHandler{ - operatorSvc: operatorSvc, + operatorSvc: operatorSvc, + tradeAddress: tradeAddress, + operatorAddress: operatorAddress, } } @@ -293,6 +309,80 @@ func (o operatorHandler) GetMarketReport( return o.getMarketReport(ctx, req) } +func (o operatorHandler) ListProtoServices( + ctx context.Context, + req *daemonv1.ListProtoServicesRequest, +) (*daemonv1.ListProtoServicesResponse, error) { + tlsConf := &tls.Config{InsecureSkipVerify: true} // nolint:gosec + creds := credentials.NewTLS(tlsConf) + conn, err := grpc.Dial( + o.operatorAddress, + grpc.WithTransportCredentials(creds), + ) + if err != nil { + return nil, err + } + defer conn.Close() + + allServices := make([]string, 0) + services, err := listServices(conn) + if err != nil { + return nil, err + } + allServices = append(allServices, services...) + + if o.operatorAddress != o.tradeAddress { + conn, err = grpc.Dial( + o.tradeAddress, + grpc.WithTransportCredentials(insecure.NewCredentials()), + ) + if err != nil { + return nil, err + } + defer conn.Close() + + services, err = listServices(conn) + if err != nil { + return nil, err + } + allServices = append(allServices, services...) + } + + return &daemonv1.ListProtoServicesResponse{ + Services: allServices, + }, nil +} + +func listServices(conn *grpc.ClientConn) ([]string, error) { + stub := rpb.NewServerReflectionClient(conn) + client, err := stub.ServerReflectionInfo(context.Background()) + if err != nil { + return nil, err + } + defer client.CloseSend() + + if err := client.Send(&rpb.ServerReflectionRequest{ + MessageRequest: &rpb.ServerReflectionRequest_ListServices{}, + }); err != nil { + return nil, err + } + + resp, err := client.Recv() + if err != nil { + return nil, err + } + + reflectionRpc := rpb.File_reflection_grpc_reflection_v1alpha_reflection_proto.Services().Get(0).FullName() + services := make([]string, 0, len(resp.GetListServicesResponse().Service)) + for _, service := range resp.GetListServicesResponse().Service { + if service.GetName() != string(reflectionRpc) { + services = append(services, service.Name) + } + } + + return services, nil +} + func (o operatorHandler) getInfo( ctx context.Context, _ *daemonv1.GetInfoRequest, ) (*daemonv1.GetInfoResponse, error) { diff --git a/internal/interfaces/grpc/permissions/permissions.go b/internal/interfaces/grpc/permissions/permissions.go index 74012ed6..9a09c052 100644 --- a/internal/interfaces/grpc/permissions/permissions.go +++ b/internal/interfaces/grpc/permissions/permissions.go @@ -3,6 +3,8 @@ package permissions import ( "fmt" + "google.golang.org/grpc/reflection/grpc_reflection_v1alpha" + "gopkg.in/macaroon-bakery.v2/bakery" daemonv1 "github.com/tdex-network/tdex-daemon/api-spec/protobuf/gen/tdex-daemon/v1" @@ -19,6 +21,7 @@ const ( EntityWallet = "wallet" EntityWebhook = "webhook" EntityTransport = "transport" + Reflection = "reflection" ) func Validate() error { @@ -300,6 +303,14 @@ func Whitelist() map[string][]bakery.Op { Entity: EntityTrade, Action: "write", }}, + fmt.Sprintf("/%s/ServerReflectionInfo", grpc_reflection_v1alpha.File_reflection_grpc_reflection_v1alpha_reflection_proto.Services().Get(0).FullName()): {{ + Entity: Reflection, + Action: "read", + }}, + fmt.Sprintf("/%s/ListProtoServices", daemonv1.OperatorService_ServiceDesc.ServiceName): {{ + Entity: Reflection, + Action: "read", + }}, } } diff --git a/internal/interfaces/grpc/service.go b/internal/interfaces/grpc/service.go index 629f9554..37f486d0 100644 --- a/internal/interfaces/grpc/service.go +++ b/internal/interfaces/grpc/service.go @@ -11,6 +11,8 @@ import ( "net/http" "path/filepath" + "google.golang.org/grpc/reflection" + "github.com/tdex-network/tdex-daemon/pkg/wallet" "github.com/tdex-network/tdex-daemon/internal/core/ports" @@ -343,10 +345,15 @@ func (s *service) start(withUnlockerOnly bool) (*services, error) { daemonv1.RegisterWalletUnlockerServiceServer( grpcOperatorServer, walletUnlockerHandler, ) + reflection.Register(grpcOperatorServer) if !withUnlockerOnly { walletHandler := grpchandler.NewWalletHandler(s.opts.WalletSvc) - operatorHandler := grpchandler.NewOperatorHandler(s.opts.OperatorSvc) + operatorHandler := grpchandler.NewOperatorHandler( + s.opts.OperatorSvc, + s.opts.TradeAddress, + s.opts.OperatorAddress, + ) daemonv1.RegisterOperatorServiceServer(grpcOperatorServer, operatorHandler) daemonv1.RegisterWalletServiceServer(grpcOperatorServer, walletHandler) } @@ -401,6 +408,7 @@ func (s *service) start(withUnlockerOnly bool) (*services, error) { tdexold.RegisterTradeServer(grpcTradeServer, tradeOldHandler) transportHandler := grpchandler.NewTransportHandler() tdexv1.RegisterTransportServiceServer(grpcTradeServer, transportHandler) + reflection.Register(grpcTradeServer) insecure := len(tradeTLSCert) <= 0 tradeGrpcGateway, err := s.tradeGrpcGateway(context.Background(), insecure) diff --git a/internal/interfaces/grpc/service_one_port.go b/internal/interfaces/grpc/service_one_port.go index 85acd7fb..de783241 100644 --- a/internal/interfaces/grpc/service_one_port.go +++ b/internal/interfaces/grpc/service_one_port.go @@ -10,6 +10,8 @@ import ( "net/http" "path/filepath" + "google.golang.org/grpc/reflection" + "github.com/tdex-network/tdex-daemon/internal/core/ports" httpinterface "github.com/tdex-network/tdex-daemon/internal/interfaces/http" @@ -264,7 +266,11 @@ func (s *serviceOnePort) start(withUnlockerOnly bool) (*serviceOnePort, error) { var grpcGateway http.Handler if !withUnlockerOnly { walletHandler := grpchandler.NewWalletHandler(s.opts.WalletSvc) - operatorHandler := grpchandler.NewOperatorHandler(s.opts.OperatorSvc) + operatorHandler := grpchandler.NewOperatorHandler( + s.opts.OperatorSvc, + s.opts.Address, + s.opts.Address, + ) daemonv1.RegisterOperatorServiceServer(grpcServer, operatorHandler) daemonv1.RegisterWalletServiceServer(grpcServer, walletHandler) tradeHandler := grpchandler.NewTradeHandler(s.opts.TradeSvc) @@ -279,6 +285,7 @@ func (s *serviceOnePort) start(withUnlockerOnly bool) (*serviceOnePort, error) { tdexv1.RegisterTransportServiceServer(grpcServer, transportHandler) grpcGateway = tradeGrpcGateway } + reflection.Register(grpcServer) operatorTlsCert := s.opts.tlsCert() operatorTlsKey := s.opts.tlsKey()