github.com/InjectiveLabs/sdk-go@v1.53.0/exchange/trading_rpc/pb/goadesign_goagen_injective_trading_rpc.pb.go (about)

     1  // Code generated with goa v3.7.0, DO NOT EDIT.
     2  //
     3  // InjectiveTradingRPC protocol buffer definition
     4  //
     5  // Command:
     6  // $ goa gen github.com/InjectiveLabs/injective-indexer/api/design -o ../
     7  
     8  // Code generated by protoc-gen-go. DO NOT EDIT.
     9  // versions:
    10  // 	protoc-gen-go v1.30.0
    11  // 	protoc        v4.25.3
    12  // source: goadesign_goagen_injective_trading_rpc.proto
    13  
    14  package injective_trading_rpcpb
    15  
    16  import (
    17  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    18  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    19  	reflect "reflect"
    20  	sync "sync"
    21  )
    22  
    23  const (
    24  	// Verify that this generated code is sufficiently up-to-date.
    25  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    26  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    27  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    28  )
    29  
    30  type ListTradingStrategiesRequest struct {
    31  	state         protoimpl.MessageState
    32  	sizeCache     protoimpl.SizeCache
    33  	unknownFields protoimpl.UnknownFields
    34  
    35  	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
    36  	// MarketId of the trading strategy
    37  	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
    38  	// subaccount ID to filter by
    39  	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
    40  	// Account address
    41  	AccountAddress string `protobuf:"bytes,4,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
    42  	// Indicates whether the trading strategy is pending execution
    43  	PendingExecution bool `protobuf:"varint,5,opt,name=pending_execution,json=pendingExecution,proto3" json:"pending_execution,omitempty"`
    44  	// The starting timestamp in UNIX milliseconds for the creation time of the
    45  	// trading strategy
    46  	StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    47  	// The ending timestamp in UNIX milliseconds for the creation time of the
    48  	// trading strategy
    49  	EndTime int64  `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    50  	Limit   int32  `protobuf:"zigzag32,8,opt,name=limit,proto3" json:"limit,omitempty"`
    51  	Skip    uint64 `protobuf:"varint,9,opt,name=skip,proto3" json:"skip,omitempty"`
    52  	// Filter by strategy type
    53  	StrategyType []string `protobuf:"bytes,10,rep,name=strategy_type,json=strategyType,proto3" json:"strategy_type,omitempty"`
    54  	// Filter by market type
    55  	MarketType string `protobuf:"bytes,11,opt,name=market_type,json=marketType,proto3" json:"market_type,omitempty"`
    56  }
    57  
    58  func (x *ListTradingStrategiesRequest) Reset() {
    59  	*x = ListTradingStrategiesRequest{}
    60  	if protoimpl.UnsafeEnabled {
    61  		mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[0]
    62  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    63  		ms.StoreMessageInfo(mi)
    64  	}
    65  }
    66  
    67  func (x *ListTradingStrategiesRequest) String() string {
    68  	return protoimpl.X.MessageStringOf(x)
    69  }
    70  
    71  func (*ListTradingStrategiesRequest) ProtoMessage() {}
    72  
    73  func (x *ListTradingStrategiesRequest) ProtoReflect() protoreflect.Message {
    74  	mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[0]
    75  	if protoimpl.UnsafeEnabled && x != nil {
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		if ms.LoadMessageInfo() == nil {
    78  			ms.StoreMessageInfo(mi)
    79  		}
    80  		return ms
    81  	}
    82  	return mi.MessageOf(x)
    83  }
    84  
    85  // Deprecated: Use ListTradingStrategiesRequest.ProtoReflect.Descriptor instead.
    86  func (*ListTradingStrategiesRequest) Descriptor() ([]byte, []int) {
    87  	return file_goadesign_goagen_injective_trading_rpc_proto_rawDescGZIP(), []int{0}
    88  }
    89  
    90  func (x *ListTradingStrategiesRequest) GetState() string {
    91  	if x != nil {
    92  		return x.State
    93  	}
    94  	return ""
    95  }
    96  
    97  func (x *ListTradingStrategiesRequest) GetMarketId() string {
    98  	if x != nil {
    99  		return x.MarketId
   100  	}
   101  	return ""
   102  }
   103  
   104  func (x *ListTradingStrategiesRequest) GetSubaccountId() string {
   105  	if x != nil {
   106  		return x.SubaccountId
   107  	}
   108  	return ""
   109  }
   110  
   111  func (x *ListTradingStrategiesRequest) GetAccountAddress() string {
   112  	if x != nil {
   113  		return x.AccountAddress
   114  	}
   115  	return ""
   116  }
   117  
   118  func (x *ListTradingStrategiesRequest) GetPendingExecution() bool {
   119  	if x != nil {
   120  		return x.PendingExecution
   121  	}
   122  	return false
   123  }
   124  
   125  func (x *ListTradingStrategiesRequest) GetStartTime() int64 {
   126  	if x != nil {
   127  		return x.StartTime
   128  	}
   129  	return 0
   130  }
   131  
   132  func (x *ListTradingStrategiesRequest) GetEndTime() int64 {
   133  	if x != nil {
   134  		return x.EndTime
   135  	}
   136  	return 0
   137  }
   138  
   139  func (x *ListTradingStrategiesRequest) GetLimit() int32 {
   140  	if x != nil {
   141  		return x.Limit
   142  	}
   143  	return 0
   144  }
   145  
   146  func (x *ListTradingStrategiesRequest) GetSkip() uint64 {
   147  	if x != nil {
   148  		return x.Skip
   149  	}
   150  	return 0
   151  }
   152  
   153  func (x *ListTradingStrategiesRequest) GetStrategyType() []string {
   154  	if x != nil {
   155  		return x.StrategyType
   156  	}
   157  	return nil
   158  }
   159  
   160  func (x *ListTradingStrategiesRequest) GetMarketType() string {
   161  	if x != nil {
   162  		return x.MarketType
   163  	}
   164  	return ""
   165  }
   166  
   167  type ListTradingStrategiesResponse struct {
   168  	state         protoimpl.MessageState
   169  	sizeCache     protoimpl.SizeCache
   170  	unknownFields protoimpl.UnknownFields
   171  
   172  	// The trading strategies
   173  	Strategies []*TradingStrategy `protobuf:"bytes,1,rep,name=strategies,proto3" json:"strategies,omitempty"`
   174  	Paging     *Paging            `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
   175  }
   176  
   177  func (x *ListTradingStrategiesResponse) Reset() {
   178  	*x = ListTradingStrategiesResponse{}
   179  	if protoimpl.UnsafeEnabled {
   180  		mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[1]
   181  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   182  		ms.StoreMessageInfo(mi)
   183  	}
   184  }
   185  
   186  func (x *ListTradingStrategiesResponse) String() string {
   187  	return protoimpl.X.MessageStringOf(x)
   188  }
   189  
   190  func (*ListTradingStrategiesResponse) ProtoMessage() {}
   191  
   192  func (x *ListTradingStrategiesResponse) ProtoReflect() protoreflect.Message {
   193  	mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[1]
   194  	if protoimpl.UnsafeEnabled && x != nil {
   195  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   196  		if ms.LoadMessageInfo() == nil {
   197  			ms.StoreMessageInfo(mi)
   198  		}
   199  		return ms
   200  	}
   201  	return mi.MessageOf(x)
   202  }
   203  
   204  // Deprecated: Use ListTradingStrategiesResponse.ProtoReflect.Descriptor instead.
   205  func (*ListTradingStrategiesResponse) Descriptor() ([]byte, []int) {
   206  	return file_goadesign_goagen_injective_trading_rpc_proto_rawDescGZIP(), []int{1}
   207  }
   208  
   209  func (x *ListTradingStrategiesResponse) GetStrategies() []*TradingStrategy {
   210  	if x != nil {
   211  		return x.Strategies
   212  	}
   213  	return nil
   214  }
   215  
   216  func (x *ListTradingStrategiesResponse) GetPaging() *Paging {
   217  	if x != nil {
   218  		return x.Paging
   219  	}
   220  	return nil
   221  }
   222  
   223  type TradingStrategy struct {
   224  	state         protoimpl.MessageState
   225  	sizeCache     protoimpl.SizeCache
   226  	unknownFields protoimpl.UnknownFields
   227  
   228  	State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
   229  	// MarketId of the trading strategy
   230  	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
   231  	// subaccount ID of the trading strategy
   232  	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
   233  	// Account address
   234  	AccountAddress string `protobuf:"bytes,4,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
   235  	// Contract address
   236  	ContractAddress string `protobuf:"bytes,5,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
   237  	// Execution price of the trading strategy
   238  	ExecutionPrice string `protobuf:"bytes,6,opt,name=execution_price,json=executionPrice,proto3" json:"execution_price,omitempty"`
   239  	// Base quantity of the trading strategy
   240  	BaseQuantity string `protobuf:"bytes,7,opt,name=base_quantity,json=baseQuantity,proto3" json:"base_quantity,omitempty"`
   241  	// Quote quantity of the trading strategy
   242  	QuoteQuantity string `protobuf:"bytes,20,opt,name=quote_quantity,json=quoteQuantity,proto3" json:"quote_quantity,omitempty"`
   243  	// Lower bound of the trading strategy
   244  	LowerBound string `protobuf:"bytes,8,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
   245  	// Upper bound of the trading strategy
   246  	UpperBound string `protobuf:"bytes,9,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
   247  	// Stop loss limit of the trading strategy
   248  	StopLoss string `protobuf:"bytes,10,opt,name=stop_loss,json=stopLoss,proto3" json:"stop_loss,omitempty"`
   249  	// Take profit limit of the trading strategy
   250  	TakeProfit string `protobuf:"bytes,11,opt,name=take_profit,json=takeProfit,proto3" json:"take_profit,omitempty"`
   251  	// Swap fee of the trading strategy
   252  	SwapFee string `protobuf:"bytes,12,opt,name=swap_fee,json=swapFee,proto3" json:"swap_fee,omitempty"`
   253  	// Base deposit at the time of closing the trading strategy
   254  	BaseDeposit string `protobuf:"bytes,17,opt,name=base_deposit,json=baseDeposit,proto3" json:"base_deposit,omitempty"`
   255  	// Quote deposit at the time of closing the trading strategy
   256  	QuoteDeposit string `protobuf:"bytes,18,opt,name=quote_deposit,json=quoteDeposit,proto3" json:"quote_deposit,omitempty"`
   257  	// Market mid price at the time of closing the trading strategy
   258  	MarketMidPrice string `protobuf:"bytes,19,opt,name=market_mid_price,json=marketMidPrice,proto3" json:"market_mid_price,omitempty"`
   259  	// Subscription quote quantity of the trading strategy
   260  	SubscriptionQuoteQuantity string `protobuf:"bytes,21,opt,name=subscription_quote_quantity,json=subscriptionQuoteQuantity,proto3" json:"subscription_quote_quantity,omitempty"`
   261  	// Subscription base quantity of the trading strategy
   262  	SubscriptionBaseQuantity string `protobuf:"bytes,22,opt,name=subscription_base_quantity,json=subscriptionBaseQuantity,proto3" json:"subscription_base_quantity,omitempty"`
   263  	// Number of grid levels of the trading strategy
   264  	NumberOfGridLevels string `protobuf:"bytes,23,opt,name=number_of_grid_levels,json=numberOfGridLevels,proto3" json:"number_of_grid_levels,omitempty"`
   265  	// Indicates whether the trading strategy should exit with quote only
   266  	ShouldExitWithQuoteOnly bool `protobuf:"varint,24,opt,name=should_exit_with_quote_only,json=shouldExitWithQuoteOnly,proto3" json:"should_exit_with_quote_only,omitempty"`
   267  	// Indicates the reason for stopping the trading strategy
   268  	StopReason string `protobuf:"bytes,25,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
   269  	// Indicates whether the trading strategy is pending execution
   270  	PendingExecution bool `protobuf:"varint,26,opt,name=pending_execution,json=pendingExecution,proto3" json:"pending_execution,omitempty"`
   271  	// Block height when the strategy was created.
   272  	CreatedHeight int64 `protobuf:"zigzag64,13,opt,name=created_height,json=createdHeight,proto3" json:"created_height,omitempty"`
   273  	// Block height when the strategy was removed.
   274  	RemovedHeight int64 `protobuf:"zigzag64,14,opt,name=removed_height,json=removedHeight,proto3" json:"removed_height,omitempty"`
   275  	// UpdatedAt timestamp in UNIX millis.
   276  	CreatedAt int64 `protobuf:"zigzag64,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
   277  	// UpdatedAt timestamp in UNIX millis.
   278  	UpdatedAt int64 `protobuf:"zigzag64,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
   279  	// Indicate how bot will convert funds (into base or quote or keep as is) after
   280  	// strategy ended
   281  	ExitType string `protobuf:"bytes,27,opt,name=exit_type,json=exitType,proto3" json:"exit_type,omitempty"`
   282  	// Exit config for stop loss
   283  	StopLossConfig *ExitConfig `protobuf:"bytes,28,opt,name=stop_loss_config,json=stopLossConfig,proto3" json:"stop_loss_config,omitempty"`
   284  	// Exit config for take profit
   285  	TakeProfitConfig *ExitConfig `protobuf:"bytes,29,opt,name=take_profit_config,json=takeProfitConfig,proto3" json:"take_profit_config,omitempty"`
   286  	// Strategy type: arithmetic, geometric...
   287  	StrategyType string `protobuf:"bytes,30,opt,name=strategy_type,json=strategyType,proto3" json:"strategy_type,omitempty"`
   288  	// Version of the contract
   289  	ContractVersion string `protobuf:"bytes,31,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
   290  	// Name of the contract
   291  	ContractName string `protobuf:"bytes,32,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
   292  	// Type of the market
   293  	MarketType string `protobuf:"bytes,33,opt,name=market_type,json=marketType,proto3" json:"market_type,omitempty"`
   294  }
   295  
   296  func (x *TradingStrategy) Reset() {
   297  	*x = TradingStrategy{}
   298  	if protoimpl.UnsafeEnabled {
   299  		mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[2]
   300  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   301  		ms.StoreMessageInfo(mi)
   302  	}
   303  }
   304  
   305  func (x *TradingStrategy) String() string {
   306  	return protoimpl.X.MessageStringOf(x)
   307  }
   308  
   309  func (*TradingStrategy) ProtoMessage() {}
   310  
   311  func (x *TradingStrategy) ProtoReflect() protoreflect.Message {
   312  	mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[2]
   313  	if protoimpl.UnsafeEnabled && x != nil {
   314  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   315  		if ms.LoadMessageInfo() == nil {
   316  			ms.StoreMessageInfo(mi)
   317  		}
   318  		return ms
   319  	}
   320  	return mi.MessageOf(x)
   321  }
   322  
   323  // Deprecated: Use TradingStrategy.ProtoReflect.Descriptor instead.
   324  func (*TradingStrategy) Descriptor() ([]byte, []int) {
   325  	return file_goadesign_goagen_injective_trading_rpc_proto_rawDescGZIP(), []int{2}
   326  }
   327  
   328  func (x *TradingStrategy) GetState() string {
   329  	if x != nil {
   330  		return x.State
   331  	}
   332  	return ""
   333  }
   334  
   335  func (x *TradingStrategy) GetMarketId() string {
   336  	if x != nil {
   337  		return x.MarketId
   338  	}
   339  	return ""
   340  }
   341  
   342  func (x *TradingStrategy) GetSubaccountId() string {
   343  	if x != nil {
   344  		return x.SubaccountId
   345  	}
   346  	return ""
   347  }
   348  
   349  func (x *TradingStrategy) GetAccountAddress() string {
   350  	if x != nil {
   351  		return x.AccountAddress
   352  	}
   353  	return ""
   354  }
   355  
   356  func (x *TradingStrategy) GetContractAddress() string {
   357  	if x != nil {
   358  		return x.ContractAddress
   359  	}
   360  	return ""
   361  }
   362  
   363  func (x *TradingStrategy) GetExecutionPrice() string {
   364  	if x != nil {
   365  		return x.ExecutionPrice
   366  	}
   367  	return ""
   368  }
   369  
   370  func (x *TradingStrategy) GetBaseQuantity() string {
   371  	if x != nil {
   372  		return x.BaseQuantity
   373  	}
   374  	return ""
   375  }
   376  
   377  func (x *TradingStrategy) GetQuoteQuantity() string {
   378  	if x != nil {
   379  		return x.QuoteQuantity
   380  	}
   381  	return ""
   382  }
   383  
   384  func (x *TradingStrategy) GetLowerBound() string {
   385  	if x != nil {
   386  		return x.LowerBound
   387  	}
   388  	return ""
   389  }
   390  
   391  func (x *TradingStrategy) GetUpperBound() string {
   392  	if x != nil {
   393  		return x.UpperBound
   394  	}
   395  	return ""
   396  }
   397  
   398  func (x *TradingStrategy) GetStopLoss() string {
   399  	if x != nil {
   400  		return x.StopLoss
   401  	}
   402  	return ""
   403  }
   404  
   405  func (x *TradingStrategy) GetTakeProfit() string {
   406  	if x != nil {
   407  		return x.TakeProfit
   408  	}
   409  	return ""
   410  }
   411  
   412  func (x *TradingStrategy) GetSwapFee() string {
   413  	if x != nil {
   414  		return x.SwapFee
   415  	}
   416  	return ""
   417  }
   418  
   419  func (x *TradingStrategy) GetBaseDeposit() string {
   420  	if x != nil {
   421  		return x.BaseDeposit
   422  	}
   423  	return ""
   424  }
   425  
   426  func (x *TradingStrategy) GetQuoteDeposit() string {
   427  	if x != nil {
   428  		return x.QuoteDeposit
   429  	}
   430  	return ""
   431  }
   432  
   433  func (x *TradingStrategy) GetMarketMidPrice() string {
   434  	if x != nil {
   435  		return x.MarketMidPrice
   436  	}
   437  	return ""
   438  }
   439  
   440  func (x *TradingStrategy) GetSubscriptionQuoteQuantity() string {
   441  	if x != nil {
   442  		return x.SubscriptionQuoteQuantity
   443  	}
   444  	return ""
   445  }
   446  
   447  func (x *TradingStrategy) GetSubscriptionBaseQuantity() string {
   448  	if x != nil {
   449  		return x.SubscriptionBaseQuantity
   450  	}
   451  	return ""
   452  }
   453  
   454  func (x *TradingStrategy) GetNumberOfGridLevels() string {
   455  	if x != nil {
   456  		return x.NumberOfGridLevels
   457  	}
   458  	return ""
   459  }
   460  
   461  func (x *TradingStrategy) GetShouldExitWithQuoteOnly() bool {
   462  	if x != nil {
   463  		return x.ShouldExitWithQuoteOnly
   464  	}
   465  	return false
   466  }
   467  
   468  func (x *TradingStrategy) GetStopReason() string {
   469  	if x != nil {
   470  		return x.StopReason
   471  	}
   472  	return ""
   473  }
   474  
   475  func (x *TradingStrategy) GetPendingExecution() bool {
   476  	if x != nil {
   477  		return x.PendingExecution
   478  	}
   479  	return false
   480  }
   481  
   482  func (x *TradingStrategy) GetCreatedHeight() int64 {
   483  	if x != nil {
   484  		return x.CreatedHeight
   485  	}
   486  	return 0
   487  }
   488  
   489  func (x *TradingStrategy) GetRemovedHeight() int64 {
   490  	if x != nil {
   491  		return x.RemovedHeight
   492  	}
   493  	return 0
   494  }
   495  
   496  func (x *TradingStrategy) GetCreatedAt() int64 {
   497  	if x != nil {
   498  		return x.CreatedAt
   499  	}
   500  	return 0
   501  }
   502  
   503  func (x *TradingStrategy) GetUpdatedAt() int64 {
   504  	if x != nil {
   505  		return x.UpdatedAt
   506  	}
   507  	return 0
   508  }
   509  
   510  func (x *TradingStrategy) GetExitType() string {
   511  	if x != nil {
   512  		return x.ExitType
   513  	}
   514  	return ""
   515  }
   516  
   517  func (x *TradingStrategy) GetStopLossConfig() *ExitConfig {
   518  	if x != nil {
   519  		return x.StopLossConfig
   520  	}
   521  	return nil
   522  }
   523  
   524  func (x *TradingStrategy) GetTakeProfitConfig() *ExitConfig {
   525  	if x != nil {
   526  		return x.TakeProfitConfig
   527  	}
   528  	return nil
   529  }
   530  
   531  func (x *TradingStrategy) GetStrategyType() string {
   532  	if x != nil {
   533  		return x.StrategyType
   534  	}
   535  	return ""
   536  }
   537  
   538  func (x *TradingStrategy) GetContractVersion() string {
   539  	if x != nil {
   540  		return x.ContractVersion
   541  	}
   542  	return ""
   543  }
   544  
   545  func (x *TradingStrategy) GetContractName() string {
   546  	if x != nil {
   547  		return x.ContractName
   548  	}
   549  	return ""
   550  }
   551  
   552  func (x *TradingStrategy) GetMarketType() string {
   553  	if x != nil {
   554  		return x.MarketType
   555  	}
   556  	return ""
   557  }
   558  
   559  type ExitConfig struct {
   560  	state         protoimpl.MessageState
   561  	sizeCache     protoimpl.SizeCache
   562  	unknownFields protoimpl.UnknownFields
   563  
   564  	// strategy exit type (stopLoss/takeProfit)
   565  	ExitType string `protobuf:"bytes,1,opt,name=exit_type,json=exitType,proto3" json:"exit_type,omitempty"`
   566  	// strategy stopLoss/takeProfit price
   567  	ExitPrice string `protobuf:"bytes,2,opt,name=exit_price,json=exitPrice,proto3" json:"exit_price,omitempty"`
   568  }
   569  
   570  func (x *ExitConfig) Reset() {
   571  	*x = ExitConfig{}
   572  	if protoimpl.UnsafeEnabled {
   573  		mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[3]
   574  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   575  		ms.StoreMessageInfo(mi)
   576  	}
   577  }
   578  
   579  func (x *ExitConfig) String() string {
   580  	return protoimpl.X.MessageStringOf(x)
   581  }
   582  
   583  func (*ExitConfig) ProtoMessage() {}
   584  
   585  func (x *ExitConfig) ProtoReflect() protoreflect.Message {
   586  	mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[3]
   587  	if protoimpl.UnsafeEnabled && x != nil {
   588  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   589  		if ms.LoadMessageInfo() == nil {
   590  			ms.StoreMessageInfo(mi)
   591  		}
   592  		return ms
   593  	}
   594  	return mi.MessageOf(x)
   595  }
   596  
   597  // Deprecated: Use ExitConfig.ProtoReflect.Descriptor instead.
   598  func (*ExitConfig) Descriptor() ([]byte, []int) {
   599  	return file_goadesign_goagen_injective_trading_rpc_proto_rawDescGZIP(), []int{3}
   600  }
   601  
   602  func (x *ExitConfig) GetExitType() string {
   603  	if x != nil {
   604  		return x.ExitType
   605  	}
   606  	return ""
   607  }
   608  
   609  func (x *ExitConfig) GetExitPrice() string {
   610  	if x != nil {
   611  		return x.ExitPrice
   612  	}
   613  	return ""
   614  }
   615  
   616  // Paging defines the structure for required params for handling pagination
   617  type Paging struct {
   618  	state         protoimpl.MessageState
   619  	sizeCache     protoimpl.SizeCache
   620  	unknownFields protoimpl.UnknownFields
   621  
   622  	// total number of txs saved in database
   623  	Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"`
   624  	// can be either block height or index num
   625  	From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"`
   626  	// can be either block height or index num
   627  	To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
   628  	// count entries by subaccount, serving some places on helix
   629  	CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
   630  	// array of tokens to navigate to the next pages
   631  	Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"`
   632  }
   633  
   634  func (x *Paging) Reset() {
   635  	*x = Paging{}
   636  	if protoimpl.UnsafeEnabled {
   637  		mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[4]
   638  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   639  		ms.StoreMessageInfo(mi)
   640  	}
   641  }
   642  
   643  func (x *Paging) String() string {
   644  	return protoimpl.X.MessageStringOf(x)
   645  }
   646  
   647  func (*Paging) ProtoMessage() {}
   648  
   649  func (x *Paging) ProtoReflect() protoreflect.Message {
   650  	mi := &file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[4]
   651  	if protoimpl.UnsafeEnabled && x != nil {
   652  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   653  		if ms.LoadMessageInfo() == nil {
   654  			ms.StoreMessageInfo(mi)
   655  		}
   656  		return ms
   657  	}
   658  	return mi.MessageOf(x)
   659  }
   660  
   661  // Deprecated: Use Paging.ProtoReflect.Descriptor instead.
   662  func (*Paging) Descriptor() ([]byte, []int) {
   663  	return file_goadesign_goagen_injective_trading_rpc_proto_rawDescGZIP(), []int{4}
   664  }
   665  
   666  func (x *Paging) GetTotal() int64 {
   667  	if x != nil {
   668  		return x.Total
   669  	}
   670  	return 0
   671  }
   672  
   673  func (x *Paging) GetFrom() int32 {
   674  	if x != nil {
   675  		return x.From
   676  	}
   677  	return 0
   678  }
   679  
   680  func (x *Paging) GetTo() int32 {
   681  	if x != nil {
   682  		return x.To
   683  	}
   684  	return 0
   685  }
   686  
   687  func (x *Paging) GetCountBySubaccount() int64 {
   688  	if x != nil {
   689  		return x.CountBySubaccount
   690  	}
   691  	return 0
   692  }
   693  
   694  func (x *Paging) GetNext() []string {
   695  	if x != nil {
   696  		return x.Next
   697  	}
   698  	return nil
   699  }
   700  
   701  var File_goadesign_goagen_injective_trading_rpc_proto protoreflect.FileDescriptor
   702  
   703  var file_goadesign_goagen_injective_trading_rpc_proto_rawDesc = []byte{
   704  	0x0a, 0x2c, 0x67, 0x6f, 0x61, 0x64, 0x65, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x67, 0x6f, 0x61, 0x67,
   705  	0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61,
   706  	0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15,
   707  	0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x69, 0x6e,
   708  	0x67, 0x5f, 0x72, 0x70, 0x63, 0x22, 0xf6, 0x02, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72,
   709  	0x61, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x52,
   710  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
   711  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09,
   712  	0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   713  	0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62,
   714  	0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
   715  	0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27,
   716  	0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
   717  	0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
   718  	0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x65, 0x6e, 0x64, 0x69,
   719  	0x6e, 0x67, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01,
   720  	0x28, 0x08, 0x52, 0x10, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75,
   721  	0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69,
   722  	0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
   723  	0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
   724  	0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14,
   725  	0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c,
   726  	0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x09, 0x20, 0x01,
   727  	0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x61,
   728  	0x74, 0x65, 0x67, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52,
   729  	0x0c, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a,
   730  	0x0b, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01,
   731  	0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x9e,
   732  	0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74,
   733  	0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   734  	0x12, 0x46, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x18, 0x01,
   735  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
   736  	0x5f, 0x74, 0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61,
   737  	0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0a, 0x73, 0x74,
   738  	0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69,
   739  	0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
   740  	0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63,
   741  	0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22,
   742  	0xd9, 0x0a, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74,
   743  	0x65, 0x67, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
   744  	0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72,
   745  	0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61,
   746  	0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
   747  	0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
   748  	0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61,
   749  	0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04,
   750  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64,
   751  	0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
   752  	0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
   753  	0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
   754  	0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69,
   755  	0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
   756  	0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65,
   757  	0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
   758  	0x0c, 0x62, 0x61, 0x73, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a,
   759  	0x0e, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18,
   760  	0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x51, 0x75, 0x61, 0x6e,
   761  	0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f,
   762  	0x75, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72,
   763  	0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62,
   764  	0x6f, 0x75, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65,
   765  	0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x6c,
   766  	0x6f, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x4c,
   767  	0x6f, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x66,
   768  	0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x72,
   769  	0x6f, 0x66, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x77, 0x61, 0x70, 0x5f, 0x66, 0x65, 0x65,
   770  	0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x77, 0x61, 0x70, 0x46, 0x65, 0x65, 0x12,
   771  	0x21, 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18,
   772  	0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x44, 0x65, 0x70, 0x6f, 0x73,
   773  	0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x70, 0x6f,
   774  	0x73, 0x69, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x71, 0x75, 0x6f, 0x74, 0x65,
   775  	0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x72, 0x6b, 0x65,
   776  	0x74, 0x5f, 0x6d, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28,
   777  	0x09, 0x52, 0x0e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x50, 0x72, 0x69, 0x63,
   778  	0x65, 0x12, 0x3e, 0x0a, 0x1b, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
   779  	0x6e, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
   780  	0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x19, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
   781  	0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
   782  	0x79, 0x12, 0x3c, 0x0a, 0x1a, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
   783  	0x6e, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18,
   784  	0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
   785  	0x69, 0x6f, 0x6e, 0x42, 0x61, 0x73, 0x65, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
   786  	0x31, 0x0a, 0x15, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x6f, 0x66, 0x5f, 0x67, 0x72, 0x69,
   787  	0x64, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
   788  	0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x66, 0x47, 0x72, 0x69, 0x64, 0x4c, 0x65, 0x76, 0x65,
   789  	0x6c, 0x73, 0x12, 0x3c, 0x0a, 0x1b, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x5f, 0x65, 0x78, 0x69,
   790  	0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c,
   791  	0x79, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x73, 0x68, 0x6f, 0x75, 0x6c, 0x64, 0x45,
   792  	0x78, 0x69, 0x74, 0x57, 0x69, 0x74, 0x68, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x4f, 0x6e, 0x6c, 0x79,
   793  	0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18,
   794  	0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f,
   795  	0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x65,
   796  	0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x70, 0x65,
   797  	0x6e, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25,
   798  	0x0a, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
   799  	0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x48,
   800  	0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64,
   801  	0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0d, 0x72,
   802  	0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
   803  	0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x12,
   804  	0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
   805  	0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x12, 0x52,
   806  	0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78,
   807  	0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
   808  	0x78, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x70, 0x5f,
   809  	0x6c, 0x6f, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1c, 0x20, 0x01, 0x28,
   810  	0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72,
   811  	0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x43, 0x6f,
   812  	0x6e, 0x66, 0x69, 0x67, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x70, 0x4c, 0x6f, 0x73, 0x73, 0x43, 0x6f,
   813  	0x6e, 0x66, 0x69, 0x67, 0x12, 0x4f, 0x0a, 0x12, 0x74, 0x61, 0x6b, 0x65, 0x5f, 0x70, 0x72, 0x6f,
   814  	0x66, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b,
   815  	0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61,
   816  	0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x6e,
   817  	0x66, 0x69, 0x67, 0x52, 0x10, 0x74, 0x61, 0x6b, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x43,
   818  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
   819  	0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74,
   820  	0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f,
   821  	0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x1f,
   822  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x56, 0x65,
   823  	0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
   824  	0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f,
   825  	0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61,
   826  	0x72, 0x6b, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52,
   827  	0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x48, 0x0a, 0x0a, 0x45,
   828  	0x78, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69,
   829  	0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78,
   830  	0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x70,
   831  	0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x69, 0x74,
   832  	0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67,
   833  	0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52,
   834  	0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02,
   835  	0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f,
   836  	0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f,
   837  	0x75, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
   838  	0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79,
   839  	0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65,
   840  	0x78, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x32, 0x9a,
   841  	0x01, 0x0a, 0x13, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64,
   842  	0x69, 0x6e, 0x67, 0x52, 0x50, 0x43, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x54,
   843  	0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73,
   844  	0x12, 0x33, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61,
   845  	0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x72, 0x61,
   846  	0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x69, 0x65, 0x73, 0x52, 0x65,
   847  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
   848  	0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
   849  	0x73, 0x74, 0x54, 0x72, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
   850  	0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1a, 0x5a, 0x18, 0x2f,
   851  	0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x61, 0x64, 0x69, 0x6e,
   852  	0x67, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   853  }
   854  
   855  var (
   856  	file_goadesign_goagen_injective_trading_rpc_proto_rawDescOnce sync.Once
   857  	file_goadesign_goagen_injective_trading_rpc_proto_rawDescData = file_goadesign_goagen_injective_trading_rpc_proto_rawDesc
   858  )
   859  
   860  func file_goadesign_goagen_injective_trading_rpc_proto_rawDescGZIP() []byte {
   861  	file_goadesign_goagen_injective_trading_rpc_proto_rawDescOnce.Do(func() {
   862  		file_goadesign_goagen_injective_trading_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_goadesign_goagen_injective_trading_rpc_proto_rawDescData)
   863  	})
   864  	return file_goadesign_goagen_injective_trading_rpc_proto_rawDescData
   865  }
   866  
   867  var file_goadesign_goagen_injective_trading_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   868  var file_goadesign_goagen_injective_trading_rpc_proto_goTypes = []interface{}{
   869  	(*ListTradingStrategiesRequest)(nil),  // 0: injective_trading_rpc.ListTradingStrategiesRequest
   870  	(*ListTradingStrategiesResponse)(nil), // 1: injective_trading_rpc.ListTradingStrategiesResponse
   871  	(*TradingStrategy)(nil),               // 2: injective_trading_rpc.TradingStrategy
   872  	(*ExitConfig)(nil),                    // 3: injective_trading_rpc.ExitConfig
   873  	(*Paging)(nil),                        // 4: injective_trading_rpc.Paging
   874  }
   875  var file_goadesign_goagen_injective_trading_rpc_proto_depIdxs = []int32{
   876  	2, // 0: injective_trading_rpc.ListTradingStrategiesResponse.strategies:type_name -> injective_trading_rpc.TradingStrategy
   877  	4, // 1: injective_trading_rpc.ListTradingStrategiesResponse.paging:type_name -> injective_trading_rpc.Paging
   878  	3, // 2: injective_trading_rpc.TradingStrategy.stop_loss_config:type_name -> injective_trading_rpc.ExitConfig
   879  	3, // 3: injective_trading_rpc.TradingStrategy.take_profit_config:type_name -> injective_trading_rpc.ExitConfig
   880  	0, // 4: injective_trading_rpc.InjectiveTradingRPC.ListTradingStrategies:input_type -> injective_trading_rpc.ListTradingStrategiesRequest
   881  	1, // 5: injective_trading_rpc.InjectiveTradingRPC.ListTradingStrategies:output_type -> injective_trading_rpc.ListTradingStrategiesResponse
   882  	5, // [5:6] is the sub-list for method output_type
   883  	4, // [4:5] is the sub-list for method input_type
   884  	4, // [4:4] is the sub-list for extension type_name
   885  	4, // [4:4] is the sub-list for extension extendee
   886  	0, // [0:4] is the sub-list for field type_name
   887  }
   888  
   889  func init() { file_goadesign_goagen_injective_trading_rpc_proto_init() }
   890  func file_goadesign_goagen_injective_trading_rpc_proto_init() {
   891  	if File_goadesign_goagen_injective_trading_rpc_proto != nil {
   892  		return
   893  	}
   894  	if !protoimpl.UnsafeEnabled {
   895  		file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   896  			switch v := v.(*ListTradingStrategiesRequest); i {
   897  			case 0:
   898  				return &v.state
   899  			case 1:
   900  				return &v.sizeCache
   901  			case 2:
   902  				return &v.unknownFields
   903  			default:
   904  				return nil
   905  			}
   906  		}
   907  		file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   908  			switch v := v.(*ListTradingStrategiesResponse); i {
   909  			case 0:
   910  				return &v.state
   911  			case 1:
   912  				return &v.sizeCache
   913  			case 2:
   914  				return &v.unknownFields
   915  			default:
   916  				return nil
   917  			}
   918  		}
   919  		file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   920  			switch v := v.(*TradingStrategy); i {
   921  			case 0:
   922  				return &v.state
   923  			case 1:
   924  				return &v.sizeCache
   925  			case 2:
   926  				return &v.unknownFields
   927  			default:
   928  				return nil
   929  			}
   930  		}
   931  		file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   932  			switch v := v.(*ExitConfig); i {
   933  			case 0:
   934  				return &v.state
   935  			case 1:
   936  				return &v.sizeCache
   937  			case 2:
   938  				return &v.unknownFields
   939  			default:
   940  				return nil
   941  			}
   942  		}
   943  		file_goadesign_goagen_injective_trading_rpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   944  			switch v := v.(*Paging); i {
   945  			case 0:
   946  				return &v.state
   947  			case 1:
   948  				return &v.sizeCache
   949  			case 2:
   950  				return &v.unknownFields
   951  			default:
   952  				return nil
   953  			}
   954  		}
   955  	}
   956  	type x struct{}
   957  	out := protoimpl.TypeBuilder{
   958  		File: protoimpl.DescBuilder{
   959  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   960  			RawDescriptor: file_goadesign_goagen_injective_trading_rpc_proto_rawDesc,
   961  			NumEnums:      0,
   962  			NumMessages:   5,
   963  			NumExtensions: 0,
   964  			NumServices:   1,
   965  		},
   966  		GoTypes:           file_goadesign_goagen_injective_trading_rpc_proto_goTypes,
   967  		DependencyIndexes: file_goadesign_goagen_injective_trading_rpc_proto_depIdxs,
   968  		MessageInfos:      file_goadesign_goagen_injective_trading_rpc_proto_msgTypes,
   969  	}.Build()
   970  	File_goadesign_goagen_injective_trading_rpc_proto = out.File
   971  	file_goadesign_goagen_injective_trading_rpc_proto_rawDesc = nil
   972  	file_goadesign_goagen_injective_trading_rpc_proto_goTypes = nil
   973  	file_goadesign_goagen_injective_trading_rpc_proto_depIdxs = nil
   974  }