github.com/InjectiveLabs/sdk-go@v1.53.0/chain/exchange/types/tx.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: injective/exchange/v1beta1/tx.proto
     3  
     4  package types
     5  
     6  import (
     7  	context "context"
     8  	cosmossdk_io_math "cosmossdk.io/math"
     9  	fmt "fmt"
    10  	types1 "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
    11  	_ "github.com/cosmos/cosmos-proto"
    12  	github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
    13  	types "github.com/cosmos/cosmos-sdk/types"
    14  	_ "github.com/cosmos/cosmos-sdk/types/msgservice"
    15  	_ "github.com/cosmos/cosmos-sdk/types/tx/amino"
    16  	_ "github.com/cosmos/cosmos-sdk/x/distribution/types"
    17  	_ "github.com/cosmos/gogoproto/gogoproto"
    18  	grpc1 "github.com/cosmos/gogoproto/grpc"
    19  	proto "github.com/cosmos/gogoproto/proto"
    20  	grpc "google.golang.org/grpc"
    21  	codes "google.golang.org/grpc/codes"
    22  	status "google.golang.org/grpc/status"
    23  	io "io"
    24  	math "math"
    25  	math_bits "math/bits"
    26  )
    27  
    28  // Reference imports to suppress errors if they are not otherwise used.
    29  var _ = proto.Marshal
    30  var _ = fmt.Errorf
    31  var _ = math.Inf
    32  
    33  // This is a compile-time assertion to ensure that this generated file
    34  // is compatible with the proto package it is being compiled against.
    35  // A compilation error at this line likely means your copy of the
    36  // proto package needs to be updated.
    37  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    38  
    39  type MsgUpdateSpotMarket struct {
    40  	// current admin address of the associated market
    41  	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
    42  	// id of the market to be updated
    43  	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
    44  	// (optional) updated ticker value
    45  	NewTicker string `protobuf:"bytes,3,opt,name=new_ticker,json=newTicker,proto3" json:"new_ticker,omitempty"`
    46  	// (optional) updated min price tick size value
    47  	NewMinPriceTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=new_min_price_tick_size,json=newMinPriceTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_min_price_tick_size"`
    48  	// (optional) updated min quantity tick size value
    49  	NewMinQuantityTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=new_min_quantity_tick_size,json=newMinQuantityTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_min_quantity_tick_size"`
    50  	// (optional) updated min notional
    51  	NewMinNotional cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=new_min_notional,json=newMinNotional,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_min_notional"`
    52  }
    53  
    54  func (m *MsgUpdateSpotMarket) Reset()         { *m = MsgUpdateSpotMarket{} }
    55  func (m *MsgUpdateSpotMarket) String() string { return proto.CompactTextString(m) }
    56  func (*MsgUpdateSpotMarket) ProtoMessage()    {}
    57  func (*MsgUpdateSpotMarket) Descriptor() ([]byte, []int) {
    58  	return fileDescriptor_bd45b74cb6d81462, []int{0}
    59  }
    60  func (m *MsgUpdateSpotMarket) XXX_Unmarshal(b []byte) error {
    61  	return m.Unmarshal(b)
    62  }
    63  func (m *MsgUpdateSpotMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    64  	if deterministic {
    65  		return xxx_messageInfo_MsgUpdateSpotMarket.Marshal(b, m, deterministic)
    66  	} else {
    67  		b = b[:cap(b)]
    68  		n, err := m.MarshalToSizedBuffer(b)
    69  		if err != nil {
    70  			return nil, err
    71  		}
    72  		return b[:n], nil
    73  	}
    74  }
    75  func (m *MsgUpdateSpotMarket) XXX_Merge(src proto.Message) {
    76  	xxx_messageInfo_MsgUpdateSpotMarket.Merge(m, src)
    77  }
    78  func (m *MsgUpdateSpotMarket) XXX_Size() int {
    79  	return m.Size()
    80  }
    81  func (m *MsgUpdateSpotMarket) XXX_DiscardUnknown() {
    82  	xxx_messageInfo_MsgUpdateSpotMarket.DiscardUnknown(m)
    83  }
    84  
    85  var xxx_messageInfo_MsgUpdateSpotMarket proto.InternalMessageInfo
    86  
    87  type MsgUpdateSpotMarketResponse struct {
    88  }
    89  
    90  func (m *MsgUpdateSpotMarketResponse) Reset()         { *m = MsgUpdateSpotMarketResponse{} }
    91  func (m *MsgUpdateSpotMarketResponse) String() string { return proto.CompactTextString(m) }
    92  func (*MsgUpdateSpotMarketResponse) ProtoMessage()    {}
    93  func (*MsgUpdateSpotMarketResponse) Descriptor() ([]byte, []int) {
    94  	return fileDescriptor_bd45b74cb6d81462, []int{1}
    95  }
    96  func (m *MsgUpdateSpotMarketResponse) XXX_Unmarshal(b []byte) error {
    97  	return m.Unmarshal(b)
    98  }
    99  func (m *MsgUpdateSpotMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   100  	if deterministic {
   101  		return xxx_messageInfo_MsgUpdateSpotMarketResponse.Marshal(b, m, deterministic)
   102  	} else {
   103  		b = b[:cap(b)]
   104  		n, err := m.MarshalToSizedBuffer(b)
   105  		if err != nil {
   106  			return nil, err
   107  		}
   108  		return b[:n], nil
   109  	}
   110  }
   111  func (m *MsgUpdateSpotMarketResponse) XXX_Merge(src proto.Message) {
   112  	xxx_messageInfo_MsgUpdateSpotMarketResponse.Merge(m, src)
   113  }
   114  func (m *MsgUpdateSpotMarketResponse) XXX_Size() int {
   115  	return m.Size()
   116  }
   117  func (m *MsgUpdateSpotMarketResponse) XXX_DiscardUnknown() {
   118  	xxx_messageInfo_MsgUpdateSpotMarketResponse.DiscardUnknown(m)
   119  }
   120  
   121  var xxx_messageInfo_MsgUpdateSpotMarketResponse proto.InternalMessageInfo
   122  
   123  type MsgUpdateDerivativeMarket struct {
   124  	// current admin address of the associated market
   125  	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
   126  	// id of the market to be updated
   127  	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
   128  	// (optional) updated value for ticker
   129  	NewTicker string `protobuf:"bytes,3,opt,name=new_ticker,json=newTicker,proto3" json:"new_ticker,omitempty"`
   130  	// (optional) updated value for min_price_tick_size
   131  	NewMinPriceTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,4,opt,name=new_min_price_tick_size,json=newMinPriceTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_min_price_tick_size"`
   132  	// (optional) updated value min_quantity_tick_size
   133  	NewMinQuantityTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=new_min_quantity_tick_size,json=newMinQuantityTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_min_quantity_tick_size"`
   134  	// (optional) updated min notional
   135  	NewMinNotional cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=new_min_notional,json=newMinNotional,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_min_notional"`
   136  	// (optional) updated value for initial_margin_ratio
   137  	NewInitialMarginRatio cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=new_initial_margin_ratio,json=newInitialMarginRatio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_initial_margin_ratio"`
   138  	// (optional) updated value for maintenance_margin_ratio
   139  	NewMaintenanceMarginRatio cosmossdk_io_math.LegacyDec `protobuf:"bytes,8,opt,name=new_maintenance_margin_ratio,json=newMaintenanceMarginRatio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"new_maintenance_margin_ratio"`
   140  }
   141  
   142  func (m *MsgUpdateDerivativeMarket) Reset()         { *m = MsgUpdateDerivativeMarket{} }
   143  func (m *MsgUpdateDerivativeMarket) String() string { return proto.CompactTextString(m) }
   144  func (*MsgUpdateDerivativeMarket) ProtoMessage()    {}
   145  func (*MsgUpdateDerivativeMarket) Descriptor() ([]byte, []int) {
   146  	return fileDescriptor_bd45b74cb6d81462, []int{2}
   147  }
   148  func (m *MsgUpdateDerivativeMarket) XXX_Unmarshal(b []byte) error {
   149  	return m.Unmarshal(b)
   150  }
   151  func (m *MsgUpdateDerivativeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   152  	if deterministic {
   153  		return xxx_messageInfo_MsgUpdateDerivativeMarket.Marshal(b, m, deterministic)
   154  	} else {
   155  		b = b[:cap(b)]
   156  		n, err := m.MarshalToSizedBuffer(b)
   157  		if err != nil {
   158  			return nil, err
   159  		}
   160  		return b[:n], nil
   161  	}
   162  }
   163  func (m *MsgUpdateDerivativeMarket) XXX_Merge(src proto.Message) {
   164  	xxx_messageInfo_MsgUpdateDerivativeMarket.Merge(m, src)
   165  }
   166  func (m *MsgUpdateDerivativeMarket) XXX_Size() int {
   167  	return m.Size()
   168  }
   169  func (m *MsgUpdateDerivativeMarket) XXX_DiscardUnknown() {
   170  	xxx_messageInfo_MsgUpdateDerivativeMarket.DiscardUnknown(m)
   171  }
   172  
   173  var xxx_messageInfo_MsgUpdateDerivativeMarket proto.InternalMessageInfo
   174  
   175  type MsgUpdateDerivativeMarketResponse struct {
   176  }
   177  
   178  func (m *MsgUpdateDerivativeMarketResponse) Reset()         { *m = MsgUpdateDerivativeMarketResponse{} }
   179  func (m *MsgUpdateDerivativeMarketResponse) String() string { return proto.CompactTextString(m) }
   180  func (*MsgUpdateDerivativeMarketResponse) ProtoMessage()    {}
   181  func (*MsgUpdateDerivativeMarketResponse) Descriptor() ([]byte, []int) {
   182  	return fileDescriptor_bd45b74cb6d81462, []int{3}
   183  }
   184  func (m *MsgUpdateDerivativeMarketResponse) XXX_Unmarshal(b []byte) error {
   185  	return m.Unmarshal(b)
   186  }
   187  func (m *MsgUpdateDerivativeMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   188  	if deterministic {
   189  		return xxx_messageInfo_MsgUpdateDerivativeMarketResponse.Marshal(b, m, deterministic)
   190  	} else {
   191  		b = b[:cap(b)]
   192  		n, err := m.MarshalToSizedBuffer(b)
   193  		if err != nil {
   194  			return nil, err
   195  		}
   196  		return b[:n], nil
   197  	}
   198  }
   199  func (m *MsgUpdateDerivativeMarketResponse) XXX_Merge(src proto.Message) {
   200  	xxx_messageInfo_MsgUpdateDerivativeMarketResponse.Merge(m, src)
   201  }
   202  func (m *MsgUpdateDerivativeMarketResponse) XXX_Size() int {
   203  	return m.Size()
   204  }
   205  func (m *MsgUpdateDerivativeMarketResponse) XXX_DiscardUnknown() {
   206  	xxx_messageInfo_MsgUpdateDerivativeMarketResponse.DiscardUnknown(m)
   207  }
   208  
   209  var xxx_messageInfo_MsgUpdateDerivativeMarketResponse proto.InternalMessageInfo
   210  
   211  type MsgUpdateParams struct {
   212  	// authority is the address of the governance account.
   213  	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
   214  	// params defines the exchange parameters to update.
   215  	//
   216  	// NOTE: All parameters must be supplied.
   217  	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
   218  }
   219  
   220  func (m *MsgUpdateParams) Reset()         { *m = MsgUpdateParams{} }
   221  func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) }
   222  func (*MsgUpdateParams) ProtoMessage()    {}
   223  func (*MsgUpdateParams) Descriptor() ([]byte, []int) {
   224  	return fileDescriptor_bd45b74cb6d81462, []int{4}
   225  }
   226  func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error {
   227  	return m.Unmarshal(b)
   228  }
   229  func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   230  	if deterministic {
   231  		return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic)
   232  	} else {
   233  		b = b[:cap(b)]
   234  		n, err := m.MarshalToSizedBuffer(b)
   235  		if err != nil {
   236  			return nil, err
   237  		}
   238  		return b[:n], nil
   239  	}
   240  }
   241  func (m *MsgUpdateParams) XXX_Merge(src proto.Message) {
   242  	xxx_messageInfo_MsgUpdateParams.Merge(m, src)
   243  }
   244  func (m *MsgUpdateParams) XXX_Size() int {
   245  	return m.Size()
   246  }
   247  func (m *MsgUpdateParams) XXX_DiscardUnknown() {
   248  	xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m)
   249  }
   250  
   251  var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo
   252  
   253  func (m *MsgUpdateParams) GetAuthority() string {
   254  	if m != nil {
   255  		return m.Authority
   256  	}
   257  	return ""
   258  }
   259  
   260  func (m *MsgUpdateParams) GetParams() Params {
   261  	if m != nil {
   262  		return m.Params
   263  	}
   264  	return Params{}
   265  }
   266  
   267  type MsgUpdateParamsResponse struct {
   268  }
   269  
   270  func (m *MsgUpdateParamsResponse) Reset()         { *m = MsgUpdateParamsResponse{} }
   271  func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) }
   272  func (*MsgUpdateParamsResponse) ProtoMessage()    {}
   273  func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) {
   274  	return fileDescriptor_bd45b74cb6d81462, []int{5}
   275  }
   276  func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error {
   277  	return m.Unmarshal(b)
   278  }
   279  func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   280  	if deterministic {
   281  		return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic)
   282  	} else {
   283  		b = b[:cap(b)]
   284  		n, err := m.MarshalToSizedBuffer(b)
   285  		if err != nil {
   286  			return nil, err
   287  		}
   288  		return b[:n], nil
   289  	}
   290  }
   291  func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) {
   292  	xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src)
   293  }
   294  func (m *MsgUpdateParamsResponse) XXX_Size() int {
   295  	return m.Size()
   296  }
   297  func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() {
   298  	xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m)
   299  }
   300  
   301  var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo
   302  
   303  // MsgDeposit defines a SDK message for transferring coins from the sender's
   304  // bank balance into the subaccount's exchange deposits
   305  type MsgDeposit struct {
   306  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   307  	// (Optional) bytes32 subaccount ID to deposit funds into. If empty, the coin
   308  	// will be deposited to the sender's default subaccount address.
   309  	SubaccountId string     `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
   310  	Amount       types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
   311  }
   312  
   313  func (m *MsgDeposit) Reset()         { *m = MsgDeposit{} }
   314  func (m *MsgDeposit) String() string { return proto.CompactTextString(m) }
   315  func (*MsgDeposit) ProtoMessage()    {}
   316  func (*MsgDeposit) Descriptor() ([]byte, []int) {
   317  	return fileDescriptor_bd45b74cb6d81462, []int{6}
   318  }
   319  func (m *MsgDeposit) XXX_Unmarshal(b []byte) error {
   320  	return m.Unmarshal(b)
   321  }
   322  func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   323  	if deterministic {
   324  		return xxx_messageInfo_MsgDeposit.Marshal(b, m, deterministic)
   325  	} else {
   326  		b = b[:cap(b)]
   327  		n, err := m.MarshalToSizedBuffer(b)
   328  		if err != nil {
   329  			return nil, err
   330  		}
   331  		return b[:n], nil
   332  	}
   333  }
   334  func (m *MsgDeposit) XXX_Merge(src proto.Message) {
   335  	xxx_messageInfo_MsgDeposit.Merge(m, src)
   336  }
   337  func (m *MsgDeposit) XXX_Size() int {
   338  	return m.Size()
   339  }
   340  func (m *MsgDeposit) XXX_DiscardUnknown() {
   341  	xxx_messageInfo_MsgDeposit.DiscardUnknown(m)
   342  }
   343  
   344  var xxx_messageInfo_MsgDeposit proto.InternalMessageInfo
   345  
   346  // MsgDepositResponse defines the Msg/Deposit response type.
   347  type MsgDepositResponse struct {
   348  }
   349  
   350  func (m *MsgDepositResponse) Reset()         { *m = MsgDepositResponse{} }
   351  func (m *MsgDepositResponse) String() string { return proto.CompactTextString(m) }
   352  func (*MsgDepositResponse) ProtoMessage()    {}
   353  func (*MsgDepositResponse) Descriptor() ([]byte, []int) {
   354  	return fileDescriptor_bd45b74cb6d81462, []int{7}
   355  }
   356  func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error {
   357  	return m.Unmarshal(b)
   358  }
   359  func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   360  	if deterministic {
   361  		return xxx_messageInfo_MsgDepositResponse.Marshal(b, m, deterministic)
   362  	} else {
   363  		b = b[:cap(b)]
   364  		n, err := m.MarshalToSizedBuffer(b)
   365  		if err != nil {
   366  			return nil, err
   367  		}
   368  		return b[:n], nil
   369  	}
   370  }
   371  func (m *MsgDepositResponse) XXX_Merge(src proto.Message) {
   372  	xxx_messageInfo_MsgDepositResponse.Merge(m, src)
   373  }
   374  func (m *MsgDepositResponse) XXX_Size() int {
   375  	return m.Size()
   376  }
   377  func (m *MsgDepositResponse) XXX_DiscardUnknown() {
   378  	xxx_messageInfo_MsgDepositResponse.DiscardUnknown(m)
   379  }
   380  
   381  var xxx_messageInfo_MsgDepositResponse proto.InternalMessageInfo
   382  
   383  // MsgWithdraw defines a SDK message for withdrawing coins from a subaccount's
   384  // deposits to the user's bank balance
   385  type MsgWithdraw struct {
   386  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   387  	// bytes32 subaccount ID to withdraw funds from
   388  	SubaccountId string     `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
   389  	Amount       types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
   390  }
   391  
   392  func (m *MsgWithdraw) Reset()         { *m = MsgWithdraw{} }
   393  func (m *MsgWithdraw) String() string { return proto.CompactTextString(m) }
   394  func (*MsgWithdraw) ProtoMessage()    {}
   395  func (*MsgWithdraw) Descriptor() ([]byte, []int) {
   396  	return fileDescriptor_bd45b74cb6d81462, []int{8}
   397  }
   398  func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error {
   399  	return m.Unmarshal(b)
   400  }
   401  func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   402  	if deterministic {
   403  		return xxx_messageInfo_MsgWithdraw.Marshal(b, m, deterministic)
   404  	} else {
   405  		b = b[:cap(b)]
   406  		n, err := m.MarshalToSizedBuffer(b)
   407  		if err != nil {
   408  			return nil, err
   409  		}
   410  		return b[:n], nil
   411  	}
   412  }
   413  func (m *MsgWithdraw) XXX_Merge(src proto.Message) {
   414  	xxx_messageInfo_MsgWithdraw.Merge(m, src)
   415  }
   416  func (m *MsgWithdraw) XXX_Size() int {
   417  	return m.Size()
   418  }
   419  func (m *MsgWithdraw) XXX_DiscardUnknown() {
   420  	xxx_messageInfo_MsgWithdraw.DiscardUnknown(m)
   421  }
   422  
   423  var xxx_messageInfo_MsgWithdraw proto.InternalMessageInfo
   424  
   425  // MsgWithdraw defines the Msg/Withdraw response type.
   426  type MsgWithdrawResponse struct {
   427  }
   428  
   429  func (m *MsgWithdrawResponse) Reset()         { *m = MsgWithdrawResponse{} }
   430  func (m *MsgWithdrawResponse) String() string { return proto.CompactTextString(m) }
   431  func (*MsgWithdrawResponse) ProtoMessage()    {}
   432  func (*MsgWithdrawResponse) Descriptor() ([]byte, []int) {
   433  	return fileDescriptor_bd45b74cb6d81462, []int{9}
   434  }
   435  func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error {
   436  	return m.Unmarshal(b)
   437  }
   438  func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   439  	if deterministic {
   440  		return xxx_messageInfo_MsgWithdrawResponse.Marshal(b, m, deterministic)
   441  	} else {
   442  		b = b[:cap(b)]
   443  		n, err := m.MarshalToSizedBuffer(b)
   444  		if err != nil {
   445  			return nil, err
   446  		}
   447  		return b[:n], nil
   448  	}
   449  }
   450  func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message) {
   451  	xxx_messageInfo_MsgWithdrawResponse.Merge(m, src)
   452  }
   453  func (m *MsgWithdrawResponse) XXX_Size() int {
   454  	return m.Size()
   455  }
   456  func (m *MsgWithdrawResponse) XXX_DiscardUnknown() {
   457  	xxx_messageInfo_MsgWithdrawResponse.DiscardUnknown(m)
   458  }
   459  
   460  var xxx_messageInfo_MsgWithdrawResponse proto.InternalMessageInfo
   461  
   462  // MsgCreateSpotLimitOrder defines a SDK message for creating a new spot limit
   463  // order.
   464  type MsgCreateSpotLimitOrder struct {
   465  	Sender string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   466  	Order  SpotOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
   467  }
   468  
   469  func (m *MsgCreateSpotLimitOrder) Reset()         { *m = MsgCreateSpotLimitOrder{} }
   470  func (m *MsgCreateSpotLimitOrder) String() string { return proto.CompactTextString(m) }
   471  func (*MsgCreateSpotLimitOrder) ProtoMessage()    {}
   472  func (*MsgCreateSpotLimitOrder) Descriptor() ([]byte, []int) {
   473  	return fileDescriptor_bd45b74cb6d81462, []int{10}
   474  }
   475  func (m *MsgCreateSpotLimitOrder) XXX_Unmarshal(b []byte) error {
   476  	return m.Unmarshal(b)
   477  }
   478  func (m *MsgCreateSpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   479  	if deterministic {
   480  		return xxx_messageInfo_MsgCreateSpotLimitOrder.Marshal(b, m, deterministic)
   481  	} else {
   482  		b = b[:cap(b)]
   483  		n, err := m.MarshalToSizedBuffer(b)
   484  		if err != nil {
   485  			return nil, err
   486  		}
   487  		return b[:n], nil
   488  	}
   489  }
   490  func (m *MsgCreateSpotLimitOrder) XXX_Merge(src proto.Message) {
   491  	xxx_messageInfo_MsgCreateSpotLimitOrder.Merge(m, src)
   492  }
   493  func (m *MsgCreateSpotLimitOrder) XXX_Size() int {
   494  	return m.Size()
   495  }
   496  func (m *MsgCreateSpotLimitOrder) XXX_DiscardUnknown() {
   497  	xxx_messageInfo_MsgCreateSpotLimitOrder.DiscardUnknown(m)
   498  }
   499  
   500  var xxx_messageInfo_MsgCreateSpotLimitOrder proto.InternalMessageInfo
   501  
   502  // MsgCreateSpotLimitOrderResponse defines the Msg/CreateSpotOrder response
   503  // type.
   504  type MsgCreateSpotLimitOrderResponse struct {
   505  	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
   506  	Cid       string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
   507  }
   508  
   509  func (m *MsgCreateSpotLimitOrderResponse) Reset()         { *m = MsgCreateSpotLimitOrderResponse{} }
   510  func (m *MsgCreateSpotLimitOrderResponse) String() string { return proto.CompactTextString(m) }
   511  func (*MsgCreateSpotLimitOrderResponse) ProtoMessage()    {}
   512  func (*MsgCreateSpotLimitOrderResponse) Descriptor() ([]byte, []int) {
   513  	return fileDescriptor_bd45b74cb6d81462, []int{11}
   514  }
   515  func (m *MsgCreateSpotLimitOrderResponse) XXX_Unmarshal(b []byte) error {
   516  	return m.Unmarshal(b)
   517  }
   518  func (m *MsgCreateSpotLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   519  	if deterministic {
   520  		return xxx_messageInfo_MsgCreateSpotLimitOrderResponse.Marshal(b, m, deterministic)
   521  	} else {
   522  		b = b[:cap(b)]
   523  		n, err := m.MarshalToSizedBuffer(b)
   524  		if err != nil {
   525  			return nil, err
   526  		}
   527  		return b[:n], nil
   528  	}
   529  }
   530  func (m *MsgCreateSpotLimitOrderResponse) XXX_Merge(src proto.Message) {
   531  	xxx_messageInfo_MsgCreateSpotLimitOrderResponse.Merge(m, src)
   532  }
   533  func (m *MsgCreateSpotLimitOrderResponse) XXX_Size() int {
   534  	return m.Size()
   535  }
   536  func (m *MsgCreateSpotLimitOrderResponse) XXX_DiscardUnknown() {
   537  	xxx_messageInfo_MsgCreateSpotLimitOrderResponse.DiscardUnknown(m)
   538  }
   539  
   540  var xxx_messageInfo_MsgCreateSpotLimitOrderResponse proto.InternalMessageInfo
   541  
   542  // MsgBatchCreateSpotLimitOrders defines a SDK message for creating a new batch
   543  // of spot limit orders.
   544  type MsgBatchCreateSpotLimitOrders struct {
   545  	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   546  	Orders []SpotOrder `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders"`
   547  }
   548  
   549  func (m *MsgBatchCreateSpotLimitOrders) Reset()         { *m = MsgBatchCreateSpotLimitOrders{} }
   550  func (m *MsgBatchCreateSpotLimitOrders) String() string { return proto.CompactTextString(m) }
   551  func (*MsgBatchCreateSpotLimitOrders) ProtoMessage()    {}
   552  func (*MsgBatchCreateSpotLimitOrders) Descriptor() ([]byte, []int) {
   553  	return fileDescriptor_bd45b74cb6d81462, []int{12}
   554  }
   555  func (m *MsgBatchCreateSpotLimitOrders) XXX_Unmarshal(b []byte) error {
   556  	return m.Unmarshal(b)
   557  }
   558  func (m *MsgBatchCreateSpotLimitOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   559  	if deterministic {
   560  		return xxx_messageInfo_MsgBatchCreateSpotLimitOrders.Marshal(b, m, deterministic)
   561  	} else {
   562  		b = b[:cap(b)]
   563  		n, err := m.MarshalToSizedBuffer(b)
   564  		if err != nil {
   565  			return nil, err
   566  		}
   567  		return b[:n], nil
   568  	}
   569  }
   570  func (m *MsgBatchCreateSpotLimitOrders) XXX_Merge(src proto.Message) {
   571  	xxx_messageInfo_MsgBatchCreateSpotLimitOrders.Merge(m, src)
   572  }
   573  func (m *MsgBatchCreateSpotLimitOrders) XXX_Size() int {
   574  	return m.Size()
   575  }
   576  func (m *MsgBatchCreateSpotLimitOrders) XXX_DiscardUnknown() {
   577  	xxx_messageInfo_MsgBatchCreateSpotLimitOrders.DiscardUnknown(m)
   578  }
   579  
   580  var xxx_messageInfo_MsgBatchCreateSpotLimitOrders proto.InternalMessageInfo
   581  
   582  // MsgBatchCreateSpotLimitOrdersResponse defines the
   583  // Msg/BatchCreateSpotLimitOrders response type.
   584  type MsgBatchCreateSpotLimitOrdersResponse struct {
   585  	OrderHashes       []string `protobuf:"bytes,1,rep,name=order_hashes,json=orderHashes,proto3" json:"order_hashes,omitempty"`
   586  	CreatedOrdersCids []string `protobuf:"bytes,2,rep,name=created_orders_cids,json=createdOrdersCids,proto3" json:"created_orders_cids,omitempty"`
   587  	FailedOrdersCids  []string `protobuf:"bytes,3,rep,name=failed_orders_cids,json=failedOrdersCids,proto3" json:"failed_orders_cids,omitempty"`
   588  }
   589  
   590  func (m *MsgBatchCreateSpotLimitOrdersResponse) Reset()         { *m = MsgBatchCreateSpotLimitOrdersResponse{} }
   591  func (m *MsgBatchCreateSpotLimitOrdersResponse) String() string { return proto.CompactTextString(m) }
   592  func (*MsgBatchCreateSpotLimitOrdersResponse) ProtoMessage()    {}
   593  func (*MsgBatchCreateSpotLimitOrdersResponse) Descriptor() ([]byte, []int) {
   594  	return fileDescriptor_bd45b74cb6d81462, []int{13}
   595  }
   596  func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Unmarshal(b []byte) error {
   597  	return m.Unmarshal(b)
   598  }
   599  func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   600  	if deterministic {
   601  		return xxx_messageInfo_MsgBatchCreateSpotLimitOrdersResponse.Marshal(b, m, deterministic)
   602  	} else {
   603  		b = b[:cap(b)]
   604  		n, err := m.MarshalToSizedBuffer(b)
   605  		if err != nil {
   606  			return nil, err
   607  		}
   608  		return b[:n], nil
   609  	}
   610  }
   611  func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Merge(src proto.Message) {
   612  	xxx_messageInfo_MsgBatchCreateSpotLimitOrdersResponse.Merge(m, src)
   613  }
   614  func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Size() int {
   615  	return m.Size()
   616  }
   617  func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_DiscardUnknown() {
   618  	xxx_messageInfo_MsgBatchCreateSpotLimitOrdersResponse.DiscardUnknown(m)
   619  }
   620  
   621  var xxx_messageInfo_MsgBatchCreateSpotLimitOrdersResponse proto.InternalMessageInfo
   622  
   623  // MsgInstantSpotMarketLaunch defines a SDK message for creating a new spot
   624  // market by paying listing fee without governance
   625  type MsgInstantSpotMarketLaunch struct {
   626  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   627  	// Ticker for the spot market.
   628  	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
   629  	// type of coin to use as the base currency
   630  	BaseDenom string `protobuf:"bytes,3,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
   631  	// type of coin to use as the quote currency
   632  	QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
   633  	// min_price_tick_size defines the minimum tick size of the order's price
   634  	MinPriceTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_price_tick_size"`
   635  	// min_quantity_tick_size defines the minimum tick size of the order's
   636  	// quantity
   637  	MinQuantityTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,6,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_quantity_tick_size"`
   638  	// min_notional defines the minimum notional (in quote asset) required for
   639  	// orders in the market
   640  	MinNotional cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=min_notional,json=minNotional,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_notional"`
   641  }
   642  
   643  func (m *MsgInstantSpotMarketLaunch) Reset()         { *m = MsgInstantSpotMarketLaunch{} }
   644  func (m *MsgInstantSpotMarketLaunch) String() string { return proto.CompactTextString(m) }
   645  func (*MsgInstantSpotMarketLaunch) ProtoMessage()    {}
   646  func (*MsgInstantSpotMarketLaunch) Descriptor() ([]byte, []int) {
   647  	return fileDescriptor_bd45b74cb6d81462, []int{14}
   648  }
   649  func (m *MsgInstantSpotMarketLaunch) XXX_Unmarshal(b []byte) error {
   650  	return m.Unmarshal(b)
   651  }
   652  func (m *MsgInstantSpotMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   653  	if deterministic {
   654  		return xxx_messageInfo_MsgInstantSpotMarketLaunch.Marshal(b, m, deterministic)
   655  	} else {
   656  		b = b[:cap(b)]
   657  		n, err := m.MarshalToSizedBuffer(b)
   658  		if err != nil {
   659  			return nil, err
   660  		}
   661  		return b[:n], nil
   662  	}
   663  }
   664  func (m *MsgInstantSpotMarketLaunch) XXX_Merge(src proto.Message) {
   665  	xxx_messageInfo_MsgInstantSpotMarketLaunch.Merge(m, src)
   666  }
   667  func (m *MsgInstantSpotMarketLaunch) XXX_Size() int {
   668  	return m.Size()
   669  }
   670  func (m *MsgInstantSpotMarketLaunch) XXX_DiscardUnknown() {
   671  	xxx_messageInfo_MsgInstantSpotMarketLaunch.DiscardUnknown(m)
   672  }
   673  
   674  var xxx_messageInfo_MsgInstantSpotMarketLaunch proto.InternalMessageInfo
   675  
   676  // MsgInstantSpotMarketLaunchResponse defines the Msg/InstantSpotMarketLaunch
   677  // response type.
   678  type MsgInstantSpotMarketLaunchResponse struct {
   679  }
   680  
   681  func (m *MsgInstantSpotMarketLaunchResponse) Reset()         { *m = MsgInstantSpotMarketLaunchResponse{} }
   682  func (m *MsgInstantSpotMarketLaunchResponse) String() string { return proto.CompactTextString(m) }
   683  func (*MsgInstantSpotMarketLaunchResponse) ProtoMessage()    {}
   684  func (*MsgInstantSpotMarketLaunchResponse) Descriptor() ([]byte, []int) {
   685  	return fileDescriptor_bd45b74cb6d81462, []int{15}
   686  }
   687  func (m *MsgInstantSpotMarketLaunchResponse) XXX_Unmarshal(b []byte) error {
   688  	return m.Unmarshal(b)
   689  }
   690  func (m *MsgInstantSpotMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   691  	if deterministic {
   692  		return xxx_messageInfo_MsgInstantSpotMarketLaunchResponse.Marshal(b, m, deterministic)
   693  	} else {
   694  		b = b[:cap(b)]
   695  		n, err := m.MarshalToSizedBuffer(b)
   696  		if err != nil {
   697  			return nil, err
   698  		}
   699  		return b[:n], nil
   700  	}
   701  }
   702  func (m *MsgInstantSpotMarketLaunchResponse) XXX_Merge(src proto.Message) {
   703  	xxx_messageInfo_MsgInstantSpotMarketLaunchResponse.Merge(m, src)
   704  }
   705  func (m *MsgInstantSpotMarketLaunchResponse) XXX_Size() int {
   706  	return m.Size()
   707  }
   708  func (m *MsgInstantSpotMarketLaunchResponse) XXX_DiscardUnknown() {
   709  	xxx_messageInfo_MsgInstantSpotMarketLaunchResponse.DiscardUnknown(m)
   710  }
   711  
   712  var xxx_messageInfo_MsgInstantSpotMarketLaunchResponse proto.InternalMessageInfo
   713  
   714  // MsgInstantPerpetualMarketLaunch defines a SDK message for creating a new
   715  // perpetual futures market by paying listing fee without governance
   716  type MsgInstantPerpetualMarketLaunch struct {
   717  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   718  	// Ticker for the derivative market.
   719  	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
   720  	// type of coin to use as the base currency
   721  	QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
   722  	// Oracle base currency
   723  	OracleBase string `protobuf:"bytes,4,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
   724  	// Oracle quote currency
   725  	OracleQuote string `protobuf:"bytes,5,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
   726  	// Scale factor for oracle prices.
   727  	OracleScaleFactor uint32 `protobuf:"varint,6,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
   728  	// Oracle type
   729  	OracleType types1.OracleType `protobuf:"varint,7,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
   730  	// maker_fee_rate defines the trade fee rate for makers on the perpetual
   731  	// market
   732  	MakerFeeRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,8,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"maker_fee_rate"`
   733  	// taker_fee_rate defines the trade fee rate for takers on the perpetual
   734  	// market
   735  	TakerFeeRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,9,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"taker_fee_rate"`
   736  	// initial_margin_ratio defines the initial margin ratio for the perpetual
   737  	// market
   738  	InitialMarginRatio cosmossdk_io_math.LegacyDec `protobuf:"bytes,10,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"initial_margin_ratio"`
   739  	// maintenance_margin_ratio defines the maintenance margin ratio for the
   740  	// perpetual market
   741  	MaintenanceMarginRatio cosmossdk_io_math.LegacyDec `protobuf:"bytes,11,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"maintenance_margin_ratio"`
   742  	// min_price_tick_size defines the minimum tick size of the order's price and
   743  	// margin
   744  	MinPriceTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,12,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_price_tick_size"`
   745  	// min_quantity_tick_size defines the minimum tick size of the order's
   746  	// quantity
   747  	MinQuantityTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,13,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_quantity_tick_size"`
   748  	// min_notional defines the minimum notional (in quote asset) required for
   749  	// orders in the market
   750  	MinNotional cosmossdk_io_math.LegacyDec `protobuf:"bytes,14,opt,name=min_notional,json=minNotional,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_notional"`
   751  }
   752  
   753  func (m *MsgInstantPerpetualMarketLaunch) Reset()         { *m = MsgInstantPerpetualMarketLaunch{} }
   754  func (m *MsgInstantPerpetualMarketLaunch) String() string { return proto.CompactTextString(m) }
   755  func (*MsgInstantPerpetualMarketLaunch) ProtoMessage()    {}
   756  func (*MsgInstantPerpetualMarketLaunch) Descriptor() ([]byte, []int) {
   757  	return fileDescriptor_bd45b74cb6d81462, []int{16}
   758  }
   759  func (m *MsgInstantPerpetualMarketLaunch) XXX_Unmarshal(b []byte) error {
   760  	return m.Unmarshal(b)
   761  }
   762  func (m *MsgInstantPerpetualMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   763  	if deterministic {
   764  		return xxx_messageInfo_MsgInstantPerpetualMarketLaunch.Marshal(b, m, deterministic)
   765  	} else {
   766  		b = b[:cap(b)]
   767  		n, err := m.MarshalToSizedBuffer(b)
   768  		if err != nil {
   769  			return nil, err
   770  		}
   771  		return b[:n], nil
   772  	}
   773  }
   774  func (m *MsgInstantPerpetualMarketLaunch) XXX_Merge(src proto.Message) {
   775  	xxx_messageInfo_MsgInstantPerpetualMarketLaunch.Merge(m, src)
   776  }
   777  func (m *MsgInstantPerpetualMarketLaunch) XXX_Size() int {
   778  	return m.Size()
   779  }
   780  func (m *MsgInstantPerpetualMarketLaunch) XXX_DiscardUnknown() {
   781  	xxx_messageInfo_MsgInstantPerpetualMarketLaunch.DiscardUnknown(m)
   782  }
   783  
   784  var xxx_messageInfo_MsgInstantPerpetualMarketLaunch proto.InternalMessageInfo
   785  
   786  // MsgInstantPerpetualMarketLaunchResponse defines the
   787  // Msg/InstantPerpetualMarketLaunchResponse response type.
   788  type MsgInstantPerpetualMarketLaunchResponse struct {
   789  }
   790  
   791  func (m *MsgInstantPerpetualMarketLaunchResponse) Reset() {
   792  	*m = MsgInstantPerpetualMarketLaunchResponse{}
   793  }
   794  func (m *MsgInstantPerpetualMarketLaunchResponse) String() string { return proto.CompactTextString(m) }
   795  func (*MsgInstantPerpetualMarketLaunchResponse) ProtoMessage()    {}
   796  func (*MsgInstantPerpetualMarketLaunchResponse) Descriptor() ([]byte, []int) {
   797  	return fileDescriptor_bd45b74cb6d81462, []int{17}
   798  }
   799  func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Unmarshal(b []byte) error {
   800  	return m.Unmarshal(b)
   801  }
   802  func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   803  	if deterministic {
   804  		return xxx_messageInfo_MsgInstantPerpetualMarketLaunchResponse.Marshal(b, m, deterministic)
   805  	} else {
   806  		b = b[:cap(b)]
   807  		n, err := m.MarshalToSizedBuffer(b)
   808  		if err != nil {
   809  			return nil, err
   810  		}
   811  		return b[:n], nil
   812  	}
   813  }
   814  func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Merge(src proto.Message) {
   815  	xxx_messageInfo_MsgInstantPerpetualMarketLaunchResponse.Merge(m, src)
   816  }
   817  func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Size() int {
   818  	return m.Size()
   819  }
   820  func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_DiscardUnknown() {
   821  	xxx_messageInfo_MsgInstantPerpetualMarketLaunchResponse.DiscardUnknown(m)
   822  }
   823  
   824  var xxx_messageInfo_MsgInstantPerpetualMarketLaunchResponse proto.InternalMessageInfo
   825  
   826  // MsgInstantBinaryOptionsMarketLaunch defines a SDK message for creating a new
   827  // perpetual futures market by paying listing fee without governance
   828  type MsgInstantBinaryOptionsMarketLaunch struct {
   829  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   830  	// Ticker for the derivative contract.
   831  	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
   832  	// Oracle symbol
   833  	OracleSymbol string `protobuf:"bytes,3,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"`
   834  	// Oracle Provider
   835  	OracleProvider string `protobuf:"bytes,4,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"`
   836  	// Oracle type
   837  	OracleType types1.OracleType `protobuf:"varint,5,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
   838  	// Scale factor for oracle prices.
   839  	OracleScaleFactor uint32 `protobuf:"varint,6,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
   840  	// maker_fee_rate defines the trade fee rate for makers on the perpetual
   841  	// market
   842  	MakerFeeRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,7,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"maker_fee_rate"`
   843  	// taker_fee_rate defines the trade fee rate for takers on the perpetual
   844  	// market
   845  	TakerFeeRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,8,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"taker_fee_rate"`
   846  	// expiration timestamp
   847  	ExpirationTimestamp int64 `protobuf:"varint,9,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
   848  	// expiration timestamp
   849  	SettlementTimestamp int64 `protobuf:"varint,10,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
   850  	// admin of the market
   851  	Admin string `protobuf:"bytes,11,opt,name=admin,proto3" json:"admin,omitempty"`
   852  	// Address of the quote currency denomination for the binary options contract
   853  	QuoteDenom string `protobuf:"bytes,12,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
   854  	// min_price_tick_size defines the minimum tick size that the price and margin
   855  	// required for orders in the market
   856  	MinPriceTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,13,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_price_tick_size"`
   857  	// min_quantity_tick_size defines the minimum tick size of the quantity
   858  	// required for orders in the market
   859  	MinQuantityTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,14,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_quantity_tick_size"`
   860  	// min_notional defines the minimum notional (in quote asset) required for
   861  	// orders in the market
   862  	MinNotional cosmossdk_io_math.LegacyDec `protobuf:"bytes,15,opt,name=min_notional,json=minNotional,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_notional"`
   863  }
   864  
   865  func (m *MsgInstantBinaryOptionsMarketLaunch) Reset()         { *m = MsgInstantBinaryOptionsMarketLaunch{} }
   866  func (m *MsgInstantBinaryOptionsMarketLaunch) String() string { return proto.CompactTextString(m) }
   867  func (*MsgInstantBinaryOptionsMarketLaunch) ProtoMessage()    {}
   868  func (*MsgInstantBinaryOptionsMarketLaunch) Descriptor() ([]byte, []int) {
   869  	return fileDescriptor_bd45b74cb6d81462, []int{18}
   870  }
   871  func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_Unmarshal(b []byte) error {
   872  	return m.Unmarshal(b)
   873  }
   874  func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   875  	if deterministic {
   876  		return xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunch.Marshal(b, m, deterministic)
   877  	} else {
   878  		b = b[:cap(b)]
   879  		n, err := m.MarshalToSizedBuffer(b)
   880  		if err != nil {
   881  			return nil, err
   882  		}
   883  		return b[:n], nil
   884  	}
   885  }
   886  func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_Merge(src proto.Message) {
   887  	xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunch.Merge(m, src)
   888  }
   889  func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_Size() int {
   890  	return m.Size()
   891  }
   892  func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_DiscardUnknown() {
   893  	xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunch.DiscardUnknown(m)
   894  }
   895  
   896  var xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunch proto.InternalMessageInfo
   897  
   898  // MsgInstantBinaryOptionsMarketLaunchResponse defines the
   899  // Msg/InstantBinaryOptionsMarketLaunchResponse response type.
   900  type MsgInstantBinaryOptionsMarketLaunchResponse struct {
   901  }
   902  
   903  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Reset() {
   904  	*m = MsgInstantBinaryOptionsMarketLaunchResponse{}
   905  }
   906  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) String() string {
   907  	return proto.CompactTextString(m)
   908  }
   909  func (*MsgInstantBinaryOptionsMarketLaunchResponse) ProtoMessage() {}
   910  func (*MsgInstantBinaryOptionsMarketLaunchResponse) Descriptor() ([]byte, []int) {
   911  	return fileDescriptor_bd45b74cb6d81462, []int{19}
   912  }
   913  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Unmarshal(b []byte) error {
   914  	return m.Unmarshal(b)
   915  }
   916  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   917  	if deterministic {
   918  		return xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunchResponse.Marshal(b, m, deterministic)
   919  	} else {
   920  		b = b[:cap(b)]
   921  		n, err := m.MarshalToSizedBuffer(b)
   922  		if err != nil {
   923  			return nil, err
   924  		}
   925  		return b[:n], nil
   926  	}
   927  }
   928  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Merge(src proto.Message) {
   929  	xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunchResponse.Merge(m, src)
   930  }
   931  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Size() int {
   932  	return m.Size()
   933  }
   934  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_DiscardUnknown() {
   935  	xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunchResponse.DiscardUnknown(m)
   936  }
   937  
   938  var xxx_messageInfo_MsgInstantBinaryOptionsMarketLaunchResponse proto.InternalMessageInfo
   939  
   940  // MsgInstantExpiryFuturesMarketLaunch defines a SDK message for creating a new
   941  // expiry futures market by paying listing fee without governance
   942  type MsgInstantExpiryFuturesMarketLaunch struct {
   943  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
   944  	// Ticker for the derivative market.
   945  	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
   946  	// type of coin to use as the quote currency
   947  	QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
   948  	// Oracle base currency
   949  	OracleBase string `protobuf:"bytes,4,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
   950  	// Oracle quote currency
   951  	OracleQuote string `protobuf:"bytes,5,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
   952  	// Oracle type
   953  	OracleType types1.OracleType `protobuf:"varint,6,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
   954  	// Scale factor for oracle prices.
   955  	OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
   956  	// Expiration time of the market
   957  	Expiry int64 `protobuf:"varint,8,opt,name=expiry,proto3" json:"expiry,omitempty"`
   958  	// maker_fee_rate defines the trade fee rate for makers on the expiry futures
   959  	// market
   960  	MakerFeeRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,9,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"maker_fee_rate"`
   961  	// taker_fee_rate defines the trade fee rate for takers on the expiry futures
   962  	// market
   963  	TakerFeeRate cosmossdk_io_math.LegacyDec `protobuf:"bytes,10,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"taker_fee_rate"`
   964  	// initial_margin_ratio defines the initial margin ratio for the derivative
   965  	// market
   966  	InitialMarginRatio cosmossdk_io_math.LegacyDec `protobuf:"bytes,11,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"initial_margin_ratio"`
   967  	// maintenance_margin_ratio defines the maintenance margin ratio for the
   968  	// derivative market
   969  	MaintenanceMarginRatio cosmossdk_io_math.LegacyDec `protobuf:"bytes,12,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"maintenance_margin_ratio"`
   970  	// min_price_tick_size defines the minimum tick size of the order's price and
   971  	// margin
   972  	MinPriceTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,13,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_price_tick_size"`
   973  	// min_quantity_tick_size defines the minimum tick size of the order's
   974  	// quantity
   975  	MinQuantityTickSize cosmossdk_io_math.LegacyDec `protobuf:"bytes,14,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_quantity_tick_size"`
   976  	// min_notional defines the minimum notional (in quote asset) required for
   977  	// orders in the market
   978  	MinNotional cosmossdk_io_math.LegacyDec `protobuf:"bytes,15,opt,name=min_notional,json=minNotional,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"min_notional"`
   979  }
   980  
   981  func (m *MsgInstantExpiryFuturesMarketLaunch) Reset()         { *m = MsgInstantExpiryFuturesMarketLaunch{} }
   982  func (m *MsgInstantExpiryFuturesMarketLaunch) String() string { return proto.CompactTextString(m) }
   983  func (*MsgInstantExpiryFuturesMarketLaunch) ProtoMessage()    {}
   984  func (*MsgInstantExpiryFuturesMarketLaunch) Descriptor() ([]byte, []int) {
   985  	return fileDescriptor_bd45b74cb6d81462, []int{20}
   986  }
   987  func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Unmarshal(b []byte) error {
   988  	return m.Unmarshal(b)
   989  }
   990  func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   991  	if deterministic {
   992  		return xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunch.Marshal(b, m, deterministic)
   993  	} else {
   994  		b = b[:cap(b)]
   995  		n, err := m.MarshalToSizedBuffer(b)
   996  		if err != nil {
   997  			return nil, err
   998  		}
   999  		return b[:n], nil
  1000  	}
  1001  }
  1002  func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Merge(src proto.Message) {
  1003  	xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunch.Merge(m, src)
  1004  }
  1005  func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Size() int {
  1006  	return m.Size()
  1007  }
  1008  func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_DiscardUnknown() {
  1009  	xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunch.DiscardUnknown(m)
  1010  }
  1011  
  1012  var xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunch proto.InternalMessageInfo
  1013  
  1014  // MsgInstantExpiryFuturesMarketLaunchResponse defines the
  1015  // Msg/InstantExpiryFuturesMarketLaunch response type.
  1016  type MsgInstantExpiryFuturesMarketLaunchResponse struct {
  1017  }
  1018  
  1019  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Reset() {
  1020  	*m = MsgInstantExpiryFuturesMarketLaunchResponse{}
  1021  }
  1022  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) String() string {
  1023  	return proto.CompactTextString(m)
  1024  }
  1025  func (*MsgInstantExpiryFuturesMarketLaunchResponse) ProtoMessage() {}
  1026  func (*MsgInstantExpiryFuturesMarketLaunchResponse) Descriptor() ([]byte, []int) {
  1027  	return fileDescriptor_bd45b74cb6d81462, []int{21}
  1028  }
  1029  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Unmarshal(b []byte) error {
  1030  	return m.Unmarshal(b)
  1031  }
  1032  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1033  	if deterministic {
  1034  		return xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunchResponse.Marshal(b, m, deterministic)
  1035  	} else {
  1036  		b = b[:cap(b)]
  1037  		n, err := m.MarshalToSizedBuffer(b)
  1038  		if err != nil {
  1039  			return nil, err
  1040  		}
  1041  		return b[:n], nil
  1042  	}
  1043  }
  1044  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Merge(src proto.Message) {
  1045  	xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunchResponse.Merge(m, src)
  1046  }
  1047  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Size() int {
  1048  	return m.Size()
  1049  }
  1050  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_DiscardUnknown() {
  1051  	xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunchResponse.DiscardUnknown(m)
  1052  }
  1053  
  1054  var xxx_messageInfo_MsgInstantExpiryFuturesMarketLaunchResponse proto.InternalMessageInfo
  1055  
  1056  // MsgCreateSpotMarketOrder defines a SDK message for creating a new spot market
  1057  // order.
  1058  type MsgCreateSpotMarketOrder struct {
  1059  	Sender string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1060  	Order  SpotOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
  1061  }
  1062  
  1063  func (m *MsgCreateSpotMarketOrder) Reset()         { *m = MsgCreateSpotMarketOrder{} }
  1064  func (m *MsgCreateSpotMarketOrder) String() string { return proto.CompactTextString(m) }
  1065  func (*MsgCreateSpotMarketOrder) ProtoMessage()    {}
  1066  func (*MsgCreateSpotMarketOrder) Descriptor() ([]byte, []int) {
  1067  	return fileDescriptor_bd45b74cb6d81462, []int{22}
  1068  }
  1069  func (m *MsgCreateSpotMarketOrder) XXX_Unmarshal(b []byte) error {
  1070  	return m.Unmarshal(b)
  1071  }
  1072  func (m *MsgCreateSpotMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1073  	if deterministic {
  1074  		return xxx_messageInfo_MsgCreateSpotMarketOrder.Marshal(b, m, deterministic)
  1075  	} else {
  1076  		b = b[:cap(b)]
  1077  		n, err := m.MarshalToSizedBuffer(b)
  1078  		if err != nil {
  1079  			return nil, err
  1080  		}
  1081  		return b[:n], nil
  1082  	}
  1083  }
  1084  func (m *MsgCreateSpotMarketOrder) XXX_Merge(src proto.Message) {
  1085  	xxx_messageInfo_MsgCreateSpotMarketOrder.Merge(m, src)
  1086  }
  1087  func (m *MsgCreateSpotMarketOrder) XXX_Size() int {
  1088  	return m.Size()
  1089  }
  1090  func (m *MsgCreateSpotMarketOrder) XXX_DiscardUnknown() {
  1091  	xxx_messageInfo_MsgCreateSpotMarketOrder.DiscardUnknown(m)
  1092  }
  1093  
  1094  var xxx_messageInfo_MsgCreateSpotMarketOrder proto.InternalMessageInfo
  1095  
  1096  // MsgCreateSpotMarketOrderResponse defines the Msg/CreateSpotMarketLimitOrder
  1097  // response type.
  1098  type MsgCreateSpotMarketOrderResponse struct {
  1099  	OrderHash string                  `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1100  	Results   *SpotMarketOrderResults `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
  1101  	Cid       string                  `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
  1102  }
  1103  
  1104  func (m *MsgCreateSpotMarketOrderResponse) Reset()         { *m = MsgCreateSpotMarketOrderResponse{} }
  1105  func (m *MsgCreateSpotMarketOrderResponse) String() string { return proto.CompactTextString(m) }
  1106  func (*MsgCreateSpotMarketOrderResponse) ProtoMessage()    {}
  1107  func (*MsgCreateSpotMarketOrderResponse) Descriptor() ([]byte, []int) {
  1108  	return fileDescriptor_bd45b74cb6d81462, []int{23}
  1109  }
  1110  func (m *MsgCreateSpotMarketOrderResponse) XXX_Unmarshal(b []byte) error {
  1111  	return m.Unmarshal(b)
  1112  }
  1113  func (m *MsgCreateSpotMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1114  	if deterministic {
  1115  		return xxx_messageInfo_MsgCreateSpotMarketOrderResponse.Marshal(b, m, deterministic)
  1116  	} else {
  1117  		b = b[:cap(b)]
  1118  		n, err := m.MarshalToSizedBuffer(b)
  1119  		if err != nil {
  1120  			return nil, err
  1121  		}
  1122  		return b[:n], nil
  1123  	}
  1124  }
  1125  func (m *MsgCreateSpotMarketOrderResponse) XXX_Merge(src proto.Message) {
  1126  	xxx_messageInfo_MsgCreateSpotMarketOrderResponse.Merge(m, src)
  1127  }
  1128  func (m *MsgCreateSpotMarketOrderResponse) XXX_Size() int {
  1129  	return m.Size()
  1130  }
  1131  func (m *MsgCreateSpotMarketOrderResponse) XXX_DiscardUnknown() {
  1132  	xxx_messageInfo_MsgCreateSpotMarketOrderResponse.DiscardUnknown(m)
  1133  }
  1134  
  1135  var xxx_messageInfo_MsgCreateSpotMarketOrderResponse proto.InternalMessageInfo
  1136  
  1137  type SpotMarketOrderResults struct {
  1138  	Quantity cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=quantity,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"quantity"`
  1139  	Price    cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"`
  1140  	Fee      cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=fee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"fee"`
  1141  }
  1142  
  1143  func (m *SpotMarketOrderResults) Reset()         { *m = SpotMarketOrderResults{} }
  1144  func (m *SpotMarketOrderResults) String() string { return proto.CompactTextString(m) }
  1145  func (*SpotMarketOrderResults) ProtoMessage()    {}
  1146  func (*SpotMarketOrderResults) Descriptor() ([]byte, []int) {
  1147  	return fileDescriptor_bd45b74cb6d81462, []int{24}
  1148  }
  1149  func (m *SpotMarketOrderResults) XXX_Unmarshal(b []byte) error {
  1150  	return m.Unmarshal(b)
  1151  }
  1152  func (m *SpotMarketOrderResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1153  	if deterministic {
  1154  		return xxx_messageInfo_SpotMarketOrderResults.Marshal(b, m, deterministic)
  1155  	} else {
  1156  		b = b[:cap(b)]
  1157  		n, err := m.MarshalToSizedBuffer(b)
  1158  		if err != nil {
  1159  			return nil, err
  1160  		}
  1161  		return b[:n], nil
  1162  	}
  1163  }
  1164  func (m *SpotMarketOrderResults) XXX_Merge(src proto.Message) {
  1165  	xxx_messageInfo_SpotMarketOrderResults.Merge(m, src)
  1166  }
  1167  func (m *SpotMarketOrderResults) XXX_Size() int {
  1168  	return m.Size()
  1169  }
  1170  func (m *SpotMarketOrderResults) XXX_DiscardUnknown() {
  1171  	xxx_messageInfo_SpotMarketOrderResults.DiscardUnknown(m)
  1172  }
  1173  
  1174  var xxx_messageInfo_SpotMarketOrderResults proto.InternalMessageInfo
  1175  
  1176  // A Cosmos-SDK MsgCreateDerivativeLimitOrder
  1177  type MsgCreateDerivativeLimitOrder struct {
  1178  	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1179  	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
  1180  }
  1181  
  1182  func (m *MsgCreateDerivativeLimitOrder) Reset()         { *m = MsgCreateDerivativeLimitOrder{} }
  1183  func (m *MsgCreateDerivativeLimitOrder) String() string { return proto.CompactTextString(m) }
  1184  func (*MsgCreateDerivativeLimitOrder) ProtoMessage()    {}
  1185  func (*MsgCreateDerivativeLimitOrder) Descriptor() ([]byte, []int) {
  1186  	return fileDescriptor_bd45b74cb6d81462, []int{25}
  1187  }
  1188  func (m *MsgCreateDerivativeLimitOrder) XXX_Unmarshal(b []byte) error {
  1189  	return m.Unmarshal(b)
  1190  }
  1191  func (m *MsgCreateDerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1192  	if deterministic {
  1193  		return xxx_messageInfo_MsgCreateDerivativeLimitOrder.Marshal(b, m, deterministic)
  1194  	} else {
  1195  		b = b[:cap(b)]
  1196  		n, err := m.MarshalToSizedBuffer(b)
  1197  		if err != nil {
  1198  			return nil, err
  1199  		}
  1200  		return b[:n], nil
  1201  	}
  1202  }
  1203  func (m *MsgCreateDerivativeLimitOrder) XXX_Merge(src proto.Message) {
  1204  	xxx_messageInfo_MsgCreateDerivativeLimitOrder.Merge(m, src)
  1205  }
  1206  func (m *MsgCreateDerivativeLimitOrder) XXX_Size() int {
  1207  	return m.Size()
  1208  }
  1209  func (m *MsgCreateDerivativeLimitOrder) XXX_DiscardUnknown() {
  1210  	xxx_messageInfo_MsgCreateDerivativeLimitOrder.DiscardUnknown(m)
  1211  }
  1212  
  1213  var xxx_messageInfo_MsgCreateDerivativeLimitOrder proto.InternalMessageInfo
  1214  
  1215  // MsgCreateDerivativeLimitOrderResponse defines the
  1216  // Msg/CreateDerivativeMarketOrder response type.
  1217  type MsgCreateDerivativeLimitOrderResponse struct {
  1218  	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1219  	Cid       string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
  1220  }
  1221  
  1222  func (m *MsgCreateDerivativeLimitOrderResponse) Reset()         { *m = MsgCreateDerivativeLimitOrderResponse{} }
  1223  func (m *MsgCreateDerivativeLimitOrderResponse) String() string { return proto.CompactTextString(m) }
  1224  func (*MsgCreateDerivativeLimitOrderResponse) ProtoMessage()    {}
  1225  func (*MsgCreateDerivativeLimitOrderResponse) Descriptor() ([]byte, []int) {
  1226  	return fileDescriptor_bd45b74cb6d81462, []int{26}
  1227  }
  1228  func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Unmarshal(b []byte) error {
  1229  	return m.Unmarshal(b)
  1230  }
  1231  func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1232  	if deterministic {
  1233  		return xxx_messageInfo_MsgCreateDerivativeLimitOrderResponse.Marshal(b, m, deterministic)
  1234  	} else {
  1235  		b = b[:cap(b)]
  1236  		n, err := m.MarshalToSizedBuffer(b)
  1237  		if err != nil {
  1238  			return nil, err
  1239  		}
  1240  		return b[:n], nil
  1241  	}
  1242  }
  1243  func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Merge(src proto.Message) {
  1244  	xxx_messageInfo_MsgCreateDerivativeLimitOrderResponse.Merge(m, src)
  1245  }
  1246  func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Size() int {
  1247  	return m.Size()
  1248  }
  1249  func (m *MsgCreateDerivativeLimitOrderResponse) XXX_DiscardUnknown() {
  1250  	xxx_messageInfo_MsgCreateDerivativeLimitOrderResponse.DiscardUnknown(m)
  1251  }
  1252  
  1253  var xxx_messageInfo_MsgCreateDerivativeLimitOrderResponse proto.InternalMessageInfo
  1254  
  1255  // A Cosmos-SDK MsgCreateBinaryOptionsLimitOrder
  1256  type MsgCreateBinaryOptionsLimitOrder struct {
  1257  	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1258  	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
  1259  }
  1260  
  1261  func (m *MsgCreateBinaryOptionsLimitOrder) Reset()         { *m = MsgCreateBinaryOptionsLimitOrder{} }
  1262  func (m *MsgCreateBinaryOptionsLimitOrder) String() string { return proto.CompactTextString(m) }
  1263  func (*MsgCreateBinaryOptionsLimitOrder) ProtoMessage()    {}
  1264  func (*MsgCreateBinaryOptionsLimitOrder) Descriptor() ([]byte, []int) {
  1265  	return fileDescriptor_bd45b74cb6d81462, []int{27}
  1266  }
  1267  func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Unmarshal(b []byte) error {
  1268  	return m.Unmarshal(b)
  1269  }
  1270  func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1271  	if deterministic {
  1272  		return xxx_messageInfo_MsgCreateBinaryOptionsLimitOrder.Marshal(b, m, deterministic)
  1273  	} else {
  1274  		b = b[:cap(b)]
  1275  		n, err := m.MarshalToSizedBuffer(b)
  1276  		if err != nil {
  1277  			return nil, err
  1278  		}
  1279  		return b[:n], nil
  1280  	}
  1281  }
  1282  func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Merge(src proto.Message) {
  1283  	xxx_messageInfo_MsgCreateBinaryOptionsLimitOrder.Merge(m, src)
  1284  }
  1285  func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Size() int {
  1286  	return m.Size()
  1287  }
  1288  func (m *MsgCreateBinaryOptionsLimitOrder) XXX_DiscardUnknown() {
  1289  	xxx_messageInfo_MsgCreateBinaryOptionsLimitOrder.DiscardUnknown(m)
  1290  }
  1291  
  1292  var xxx_messageInfo_MsgCreateBinaryOptionsLimitOrder proto.InternalMessageInfo
  1293  
  1294  // MsgCreateBinaryOptionsLimitOrderResponse defines the
  1295  // Msg/CreateBinaryOptionsLimitOrder response type.
  1296  type MsgCreateBinaryOptionsLimitOrderResponse struct {
  1297  	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1298  	Cid       string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
  1299  }
  1300  
  1301  func (m *MsgCreateBinaryOptionsLimitOrderResponse) Reset() {
  1302  	*m = MsgCreateBinaryOptionsLimitOrderResponse{}
  1303  }
  1304  func (m *MsgCreateBinaryOptionsLimitOrderResponse) String() string { return proto.CompactTextString(m) }
  1305  func (*MsgCreateBinaryOptionsLimitOrderResponse) ProtoMessage()    {}
  1306  func (*MsgCreateBinaryOptionsLimitOrderResponse) Descriptor() ([]byte, []int) {
  1307  	return fileDescriptor_bd45b74cb6d81462, []int{28}
  1308  }
  1309  func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_Unmarshal(b []byte) error {
  1310  	return m.Unmarshal(b)
  1311  }
  1312  func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1313  	if deterministic {
  1314  		return xxx_messageInfo_MsgCreateBinaryOptionsLimitOrderResponse.Marshal(b, m, deterministic)
  1315  	} else {
  1316  		b = b[:cap(b)]
  1317  		n, err := m.MarshalToSizedBuffer(b)
  1318  		if err != nil {
  1319  			return nil, err
  1320  		}
  1321  		return b[:n], nil
  1322  	}
  1323  }
  1324  func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_Merge(src proto.Message) {
  1325  	xxx_messageInfo_MsgCreateBinaryOptionsLimitOrderResponse.Merge(m, src)
  1326  }
  1327  func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_Size() int {
  1328  	return m.Size()
  1329  }
  1330  func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_DiscardUnknown() {
  1331  	xxx_messageInfo_MsgCreateBinaryOptionsLimitOrderResponse.DiscardUnknown(m)
  1332  }
  1333  
  1334  var xxx_messageInfo_MsgCreateBinaryOptionsLimitOrderResponse proto.InternalMessageInfo
  1335  
  1336  // A Cosmos-SDK MsgBatchCreateDerivativeLimitOrders
  1337  type MsgBatchCreateDerivativeLimitOrders struct {
  1338  	Sender string            `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1339  	Orders []DerivativeOrder `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders"`
  1340  }
  1341  
  1342  func (m *MsgBatchCreateDerivativeLimitOrders) Reset()         { *m = MsgBatchCreateDerivativeLimitOrders{} }
  1343  func (m *MsgBatchCreateDerivativeLimitOrders) String() string { return proto.CompactTextString(m) }
  1344  func (*MsgBatchCreateDerivativeLimitOrders) ProtoMessage()    {}
  1345  func (*MsgBatchCreateDerivativeLimitOrders) Descriptor() ([]byte, []int) {
  1346  	return fileDescriptor_bd45b74cb6d81462, []int{29}
  1347  }
  1348  func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Unmarshal(b []byte) error {
  1349  	return m.Unmarshal(b)
  1350  }
  1351  func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1352  	if deterministic {
  1353  		return xxx_messageInfo_MsgBatchCreateDerivativeLimitOrders.Marshal(b, m, deterministic)
  1354  	} else {
  1355  		b = b[:cap(b)]
  1356  		n, err := m.MarshalToSizedBuffer(b)
  1357  		if err != nil {
  1358  			return nil, err
  1359  		}
  1360  		return b[:n], nil
  1361  	}
  1362  }
  1363  func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Merge(src proto.Message) {
  1364  	xxx_messageInfo_MsgBatchCreateDerivativeLimitOrders.Merge(m, src)
  1365  }
  1366  func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Size() int {
  1367  	return m.Size()
  1368  }
  1369  func (m *MsgBatchCreateDerivativeLimitOrders) XXX_DiscardUnknown() {
  1370  	xxx_messageInfo_MsgBatchCreateDerivativeLimitOrders.DiscardUnknown(m)
  1371  }
  1372  
  1373  var xxx_messageInfo_MsgBatchCreateDerivativeLimitOrders proto.InternalMessageInfo
  1374  
  1375  // MsgBatchCreateDerivativeLimitOrdersResponse defines the
  1376  // Msg/BatchCreateDerivativeLimitOrders response type.
  1377  type MsgBatchCreateDerivativeLimitOrdersResponse struct {
  1378  	OrderHashes       []string `protobuf:"bytes,1,rep,name=order_hashes,json=orderHashes,proto3" json:"order_hashes,omitempty"`
  1379  	CreatedOrdersCids []string `protobuf:"bytes,2,rep,name=created_orders_cids,json=createdOrdersCids,proto3" json:"created_orders_cids,omitempty"`
  1380  	FailedOrdersCids  []string `protobuf:"bytes,3,rep,name=failed_orders_cids,json=failedOrdersCids,proto3" json:"failed_orders_cids,omitempty"`
  1381  }
  1382  
  1383  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Reset() {
  1384  	*m = MsgBatchCreateDerivativeLimitOrdersResponse{}
  1385  }
  1386  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) String() string {
  1387  	return proto.CompactTextString(m)
  1388  }
  1389  func (*MsgBatchCreateDerivativeLimitOrdersResponse) ProtoMessage() {}
  1390  func (*MsgBatchCreateDerivativeLimitOrdersResponse) Descriptor() ([]byte, []int) {
  1391  	return fileDescriptor_bd45b74cb6d81462, []int{30}
  1392  }
  1393  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Unmarshal(b []byte) error {
  1394  	return m.Unmarshal(b)
  1395  }
  1396  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1397  	if deterministic {
  1398  		return xxx_messageInfo_MsgBatchCreateDerivativeLimitOrdersResponse.Marshal(b, m, deterministic)
  1399  	} else {
  1400  		b = b[:cap(b)]
  1401  		n, err := m.MarshalToSizedBuffer(b)
  1402  		if err != nil {
  1403  			return nil, err
  1404  		}
  1405  		return b[:n], nil
  1406  	}
  1407  }
  1408  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Merge(src proto.Message) {
  1409  	xxx_messageInfo_MsgBatchCreateDerivativeLimitOrdersResponse.Merge(m, src)
  1410  }
  1411  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Size() int {
  1412  	return m.Size()
  1413  }
  1414  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_DiscardUnknown() {
  1415  	xxx_messageInfo_MsgBatchCreateDerivativeLimitOrdersResponse.DiscardUnknown(m)
  1416  }
  1417  
  1418  var xxx_messageInfo_MsgBatchCreateDerivativeLimitOrdersResponse proto.InternalMessageInfo
  1419  
  1420  // MsgCancelSpotOrder defines the Msg/CancelSpotOrder response type.
  1421  type MsgCancelSpotOrder struct {
  1422  	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1423  	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  1424  	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  1425  	OrderHash    string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1426  	Cid          string `protobuf:"bytes,5,opt,name=cid,proto3" json:"cid,omitempty"`
  1427  }
  1428  
  1429  func (m *MsgCancelSpotOrder) Reset()         { *m = MsgCancelSpotOrder{} }
  1430  func (m *MsgCancelSpotOrder) String() string { return proto.CompactTextString(m) }
  1431  func (*MsgCancelSpotOrder) ProtoMessage()    {}
  1432  func (*MsgCancelSpotOrder) Descriptor() ([]byte, []int) {
  1433  	return fileDescriptor_bd45b74cb6d81462, []int{31}
  1434  }
  1435  func (m *MsgCancelSpotOrder) XXX_Unmarshal(b []byte) error {
  1436  	return m.Unmarshal(b)
  1437  }
  1438  func (m *MsgCancelSpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1439  	if deterministic {
  1440  		return xxx_messageInfo_MsgCancelSpotOrder.Marshal(b, m, deterministic)
  1441  	} else {
  1442  		b = b[:cap(b)]
  1443  		n, err := m.MarshalToSizedBuffer(b)
  1444  		if err != nil {
  1445  			return nil, err
  1446  		}
  1447  		return b[:n], nil
  1448  	}
  1449  }
  1450  func (m *MsgCancelSpotOrder) XXX_Merge(src proto.Message) {
  1451  	xxx_messageInfo_MsgCancelSpotOrder.Merge(m, src)
  1452  }
  1453  func (m *MsgCancelSpotOrder) XXX_Size() int {
  1454  	return m.Size()
  1455  }
  1456  func (m *MsgCancelSpotOrder) XXX_DiscardUnknown() {
  1457  	xxx_messageInfo_MsgCancelSpotOrder.DiscardUnknown(m)
  1458  }
  1459  
  1460  var xxx_messageInfo_MsgCancelSpotOrder proto.InternalMessageInfo
  1461  
  1462  // MsgCancelSpotOrderResponse defines the Msg/CancelSpotOrder response type.
  1463  type MsgCancelSpotOrderResponse struct {
  1464  }
  1465  
  1466  func (m *MsgCancelSpotOrderResponse) Reset()         { *m = MsgCancelSpotOrderResponse{} }
  1467  func (m *MsgCancelSpotOrderResponse) String() string { return proto.CompactTextString(m) }
  1468  func (*MsgCancelSpotOrderResponse) ProtoMessage()    {}
  1469  func (*MsgCancelSpotOrderResponse) Descriptor() ([]byte, []int) {
  1470  	return fileDescriptor_bd45b74cb6d81462, []int{32}
  1471  }
  1472  func (m *MsgCancelSpotOrderResponse) XXX_Unmarshal(b []byte) error {
  1473  	return m.Unmarshal(b)
  1474  }
  1475  func (m *MsgCancelSpotOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1476  	if deterministic {
  1477  		return xxx_messageInfo_MsgCancelSpotOrderResponse.Marshal(b, m, deterministic)
  1478  	} else {
  1479  		b = b[:cap(b)]
  1480  		n, err := m.MarshalToSizedBuffer(b)
  1481  		if err != nil {
  1482  			return nil, err
  1483  		}
  1484  		return b[:n], nil
  1485  	}
  1486  }
  1487  func (m *MsgCancelSpotOrderResponse) XXX_Merge(src proto.Message) {
  1488  	xxx_messageInfo_MsgCancelSpotOrderResponse.Merge(m, src)
  1489  }
  1490  func (m *MsgCancelSpotOrderResponse) XXX_Size() int {
  1491  	return m.Size()
  1492  }
  1493  func (m *MsgCancelSpotOrderResponse) XXX_DiscardUnknown() {
  1494  	xxx_messageInfo_MsgCancelSpotOrderResponse.DiscardUnknown(m)
  1495  }
  1496  
  1497  var xxx_messageInfo_MsgCancelSpotOrderResponse proto.InternalMessageInfo
  1498  
  1499  // MsgBatchCancelSpotOrders defines the Msg/BatchCancelSpotOrders response type.
  1500  type MsgBatchCancelSpotOrders struct {
  1501  	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1502  	Data   []OrderData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
  1503  }
  1504  
  1505  func (m *MsgBatchCancelSpotOrders) Reset()         { *m = MsgBatchCancelSpotOrders{} }
  1506  func (m *MsgBatchCancelSpotOrders) String() string { return proto.CompactTextString(m) }
  1507  func (*MsgBatchCancelSpotOrders) ProtoMessage()    {}
  1508  func (*MsgBatchCancelSpotOrders) Descriptor() ([]byte, []int) {
  1509  	return fileDescriptor_bd45b74cb6d81462, []int{33}
  1510  }
  1511  func (m *MsgBatchCancelSpotOrders) XXX_Unmarshal(b []byte) error {
  1512  	return m.Unmarshal(b)
  1513  }
  1514  func (m *MsgBatchCancelSpotOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1515  	if deterministic {
  1516  		return xxx_messageInfo_MsgBatchCancelSpotOrders.Marshal(b, m, deterministic)
  1517  	} else {
  1518  		b = b[:cap(b)]
  1519  		n, err := m.MarshalToSizedBuffer(b)
  1520  		if err != nil {
  1521  			return nil, err
  1522  		}
  1523  		return b[:n], nil
  1524  	}
  1525  }
  1526  func (m *MsgBatchCancelSpotOrders) XXX_Merge(src proto.Message) {
  1527  	xxx_messageInfo_MsgBatchCancelSpotOrders.Merge(m, src)
  1528  }
  1529  func (m *MsgBatchCancelSpotOrders) XXX_Size() int {
  1530  	return m.Size()
  1531  }
  1532  func (m *MsgBatchCancelSpotOrders) XXX_DiscardUnknown() {
  1533  	xxx_messageInfo_MsgBatchCancelSpotOrders.DiscardUnknown(m)
  1534  }
  1535  
  1536  var xxx_messageInfo_MsgBatchCancelSpotOrders proto.InternalMessageInfo
  1537  
  1538  // MsgBatchCancelSpotOrdersResponse defines the Msg/BatchCancelSpotOrders
  1539  // response type.
  1540  type MsgBatchCancelSpotOrdersResponse struct {
  1541  	Success []bool `protobuf:"varint,1,rep,packed,name=success,proto3" json:"success,omitempty"`
  1542  }
  1543  
  1544  func (m *MsgBatchCancelSpotOrdersResponse) Reset()         { *m = MsgBatchCancelSpotOrdersResponse{} }
  1545  func (m *MsgBatchCancelSpotOrdersResponse) String() string { return proto.CompactTextString(m) }
  1546  func (*MsgBatchCancelSpotOrdersResponse) ProtoMessage()    {}
  1547  func (*MsgBatchCancelSpotOrdersResponse) Descriptor() ([]byte, []int) {
  1548  	return fileDescriptor_bd45b74cb6d81462, []int{34}
  1549  }
  1550  func (m *MsgBatchCancelSpotOrdersResponse) XXX_Unmarshal(b []byte) error {
  1551  	return m.Unmarshal(b)
  1552  }
  1553  func (m *MsgBatchCancelSpotOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1554  	if deterministic {
  1555  		return xxx_messageInfo_MsgBatchCancelSpotOrdersResponse.Marshal(b, m, deterministic)
  1556  	} else {
  1557  		b = b[:cap(b)]
  1558  		n, err := m.MarshalToSizedBuffer(b)
  1559  		if err != nil {
  1560  			return nil, err
  1561  		}
  1562  		return b[:n], nil
  1563  	}
  1564  }
  1565  func (m *MsgBatchCancelSpotOrdersResponse) XXX_Merge(src proto.Message) {
  1566  	xxx_messageInfo_MsgBatchCancelSpotOrdersResponse.Merge(m, src)
  1567  }
  1568  func (m *MsgBatchCancelSpotOrdersResponse) XXX_Size() int {
  1569  	return m.Size()
  1570  }
  1571  func (m *MsgBatchCancelSpotOrdersResponse) XXX_DiscardUnknown() {
  1572  	xxx_messageInfo_MsgBatchCancelSpotOrdersResponse.DiscardUnknown(m)
  1573  }
  1574  
  1575  var xxx_messageInfo_MsgBatchCancelSpotOrdersResponse proto.InternalMessageInfo
  1576  
  1577  // MsgBatchCancelBinaryOptionsOrders defines the
  1578  // Msg/BatchCancelBinaryOptionsOrders response type.
  1579  type MsgBatchCancelBinaryOptionsOrders struct {
  1580  	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1581  	Data   []OrderData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
  1582  }
  1583  
  1584  func (m *MsgBatchCancelBinaryOptionsOrders) Reset()         { *m = MsgBatchCancelBinaryOptionsOrders{} }
  1585  func (m *MsgBatchCancelBinaryOptionsOrders) String() string { return proto.CompactTextString(m) }
  1586  func (*MsgBatchCancelBinaryOptionsOrders) ProtoMessage()    {}
  1587  func (*MsgBatchCancelBinaryOptionsOrders) Descriptor() ([]byte, []int) {
  1588  	return fileDescriptor_bd45b74cb6d81462, []int{35}
  1589  }
  1590  func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Unmarshal(b []byte) error {
  1591  	return m.Unmarshal(b)
  1592  }
  1593  func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1594  	if deterministic {
  1595  		return xxx_messageInfo_MsgBatchCancelBinaryOptionsOrders.Marshal(b, m, deterministic)
  1596  	} else {
  1597  		b = b[:cap(b)]
  1598  		n, err := m.MarshalToSizedBuffer(b)
  1599  		if err != nil {
  1600  			return nil, err
  1601  		}
  1602  		return b[:n], nil
  1603  	}
  1604  }
  1605  func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Merge(src proto.Message) {
  1606  	xxx_messageInfo_MsgBatchCancelBinaryOptionsOrders.Merge(m, src)
  1607  }
  1608  func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Size() int {
  1609  	return m.Size()
  1610  }
  1611  func (m *MsgBatchCancelBinaryOptionsOrders) XXX_DiscardUnknown() {
  1612  	xxx_messageInfo_MsgBatchCancelBinaryOptionsOrders.DiscardUnknown(m)
  1613  }
  1614  
  1615  var xxx_messageInfo_MsgBatchCancelBinaryOptionsOrders proto.InternalMessageInfo
  1616  
  1617  // BatchCancelBinaryOptionsOrdersResponse defines the
  1618  // Msg/BatchCancelBinaryOptionsOrders response type.
  1619  type MsgBatchCancelBinaryOptionsOrdersResponse struct {
  1620  	Success []bool `protobuf:"varint,1,rep,packed,name=success,proto3" json:"success,omitempty"`
  1621  }
  1622  
  1623  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Reset() {
  1624  	*m = MsgBatchCancelBinaryOptionsOrdersResponse{}
  1625  }
  1626  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) String() string {
  1627  	return proto.CompactTextString(m)
  1628  }
  1629  func (*MsgBatchCancelBinaryOptionsOrdersResponse) ProtoMessage() {}
  1630  func (*MsgBatchCancelBinaryOptionsOrdersResponse) Descriptor() ([]byte, []int) {
  1631  	return fileDescriptor_bd45b74cb6d81462, []int{36}
  1632  }
  1633  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Unmarshal(b []byte) error {
  1634  	return m.Unmarshal(b)
  1635  }
  1636  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1637  	if deterministic {
  1638  		return xxx_messageInfo_MsgBatchCancelBinaryOptionsOrdersResponse.Marshal(b, m, deterministic)
  1639  	} else {
  1640  		b = b[:cap(b)]
  1641  		n, err := m.MarshalToSizedBuffer(b)
  1642  		if err != nil {
  1643  			return nil, err
  1644  		}
  1645  		return b[:n], nil
  1646  	}
  1647  }
  1648  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Merge(src proto.Message) {
  1649  	xxx_messageInfo_MsgBatchCancelBinaryOptionsOrdersResponse.Merge(m, src)
  1650  }
  1651  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Size() int {
  1652  	return m.Size()
  1653  }
  1654  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_DiscardUnknown() {
  1655  	xxx_messageInfo_MsgBatchCancelBinaryOptionsOrdersResponse.DiscardUnknown(m)
  1656  }
  1657  
  1658  var xxx_messageInfo_MsgBatchCancelBinaryOptionsOrdersResponse proto.InternalMessageInfo
  1659  
  1660  // MsgBatchUpdateOrders defines the Msg/BatchUpdateOrders response type.
  1661  type MsgBatchUpdateOrders struct {
  1662  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1663  	// subaccount_id only used for the spot_market_ids_to_cancel_all and
  1664  	// derivative_market_ids_to_cancel_all.
  1665  	SubaccountId                      string             `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  1666  	SpotMarketIdsToCancelAll          []string           `protobuf:"bytes,3,rep,name=spot_market_ids_to_cancel_all,json=spotMarketIdsToCancelAll,proto3" json:"spot_market_ids_to_cancel_all,omitempty"`
  1667  	DerivativeMarketIdsToCancelAll    []string           `protobuf:"bytes,4,rep,name=derivative_market_ids_to_cancel_all,json=derivativeMarketIdsToCancelAll,proto3" json:"derivative_market_ids_to_cancel_all,omitempty"`
  1668  	SpotOrdersToCancel                []*OrderData       `protobuf:"bytes,5,rep,name=spot_orders_to_cancel,json=spotOrdersToCancel,proto3" json:"spot_orders_to_cancel,omitempty"`
  1669  	DerivativeOrdersToCancel          []*OrderData       `protobuf:"bytes,6,rep,name=derivative_orders_to_cancel,json=derivativeOrdersToCancel,proto3" json:"derivative_orders_to_cancel,omitempty"`
  1670  	SpotOrdersToCreate                []*SpotOrder       `protobuf:"bytes,7,rep,name=spot_orders_to_create,json=spotOrdersToCreate,proto3" json:"spot_orders_to_create,omitempty"`
  1671  	DerivativeOrdersToCreate          []*DerivativeOrder `protobuf:"bytes,8,rep,name=derivative_orders_to_create,json=derivativeOrdersToCreate,proto3" json:"derivative_orders_to_create,omitempty"`
  1672  	BinaryOptionsOrdersToCancel       []*OrderData       `protobuf:"bytes,9,rep,name=binary_options_orders_to_cancel,json=binaryOptionsOrdersToCancel,proto3" json:"binary_options_orders_to_cancel,omitempty"`
  1673  	BinaryOptionsMarketIdsToCancelAll []string           `protobuf:"bytes,10,rep,name=binary_options_market_ids_to_cancel_all,json=binaryOptionsMarketIdsToCancelAll,proto3" json:"binary_options_market_ids_to_cancel_all,omitempty"`
  1674  	BinaryOptionsOrdersToCreate       []*DerivativeOrder `protobuf:"bytes,11,rep,name=binary_options_orders_to_create,json=binaryOptionsOrdersToCreate,proto3" json:"binary_options_orders_to_create,omitempty"`
  1675  }
  1676  
  1677  func (m *MsgBatchUpdateOrders) Reset()         { *m = MsgBatchUpdateOrders{} }
  1678  func (m *MsgBatchUpdateOrders) String() string { return proto.CompactTextString(m) }
  1679  func (*MsgBatchUpdateOrders) ProtoMessage()    {}
  1680  func (*MsgBatchUpdateOrders) Descriptor() ([]byte, []int) {
  1681  	return fileDescriptor_bd45b74cb6d81462, []int{37}
  1682  }
  1683  func (m *MsgBatchUpdateOrders) XXX_Unmarshal(b []byte) error {
  1684  	return m.Unmarshal(b)
  1685  }
  1686  func (m *MsgBatchUpdateOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1687  	if deterministic {
  1688  		return xxx_messageInfo_MsgBatchUpdateOrders.Marshal(b, m, deterministic)
  1689  	} else {
  1690  		b = b[:cap(b)]
  1691  		n, err := m.MarshalToSizedBuffer(b)
  1692  		if err != nil {
  1693  			return nil, err
  1694  		}
  1695  		return b[:n], nil
  1696  	}
  1697  }
  1698  func (m *MsgBatchUpdateOrders) XXX_Merge(src proto.Message) {
  1699  	xxx_messageInfo_MsgBatchUpdateOrders.Merge(m, src)
  1700  }
  1701  func (m *MsgBatchUpdateOrders) XXX_Size() int {
  1702  	return m.Size()
  1703  }
  1704  func (m *MsgBatchUpdateOrders) XXX_DiscardUnknown() {
  1705  	xxx_messageInfo_MsgBatchUpdateOrders.DiscardUnknown(m)
  1706  }
  1707  
  1708  var xxx_messageInfo_MsgBatchUpdateOrders proto.InternalMessageInfo
  1709  
  1710  // MsgBatchUpdateOrdersResponse defines the Msg/BatchUpdateOrders response type.
  1711  type MsgBatchUpdateOrdersResponse struct {
  1712  	SpotCancelSuccess              []bool   `protobuf:"varint,1,rep,packed,name=spot_cancel_success,json=spotCancelSuccess,proto3" json:"spot_cancel_success,omitempty"`
  1713  	DerivativeCancelSuccess        []bool   `protobuf:"varint,2,rep,packed,name=derivative_cancel_success,json=derivativeCancelSuccess,proto3" json:"derivative_cancel_success,omitempty"`
  1714  	SpotOrderHashes                []string `protobuf:"bytes,3,rep,name=spot_order_hashes,json=spotOrderHashes,proto3" json:"spot_order_hashes,omitempty"`
  1715  	DerivativeOrderHashes          []string `protobuf:"bytes,4,rep,name=derivative_order_hashes,json=derivativeOrderHashes,proto3" json:"derivative_order_hashes,omitempty"`
  1716  	BinaryOptionsCancelSuccess     []bool   `protobuf:"varint,5,rep,packed,name=binary_options_cancel_success,json=binaryOptionsCancelSuccess,proto3" json:"binary_options_cancel_success,omitempty"`
  1717  	BinaryOptionsOrderHashes       []string `protobuf:"bytes,6,rep,name=binary_options_order_hashes,json=binaryOptionsOrderHashes,proto3" json:"binary_options_order_hashes,omitempty"`
  1718  	CreatedSpotOrdersCids          []string `protobuf:"bytes,7,rep,name=created_spot_orders_cids,json=createdSpotOrdersCids,proto3" json:"created_spot_orders_cids,omitempty"`
  1719  	FailedSpotOrdersCids           []string `protobuf:"bytes,8,rep,name=failed_spot_orders_cids,json=failedSpotOrdersCids,proto3" json:"failed_spot_orders_cids,omitempty"`
  1720  	CreatedDerivativeOrdersCids    []string `protobuf:"bytes,9,rep,name=created_derivative_orders_cids,json=createdDerivativeOrdersCids,proto3" json:"created_derivative_orders_cids,omitempty"`
  1721  	FailedDerivativeOrdersCids     []string `protobuf:"bytes,10,rep,name=failed_derivative_orders_cids,json=failedDerivativeOrdersCids,proto3" json:"failed_derivative_orders_cids,omitempty"`
  1722  	CreatedBinaryOptionsOrdersCids []string `protobuf:"bytes,11,rep,name=created_binary_options_orders_cids,json=createdBinaryOptionsOrdersCids,proto3" json:"created_binary_options_orders_cids,omitempty"`
  1723  	FailedBinaryOptionsOrdersCids  []string `protobuf:"bytes,12,rep,name=failed_binary_options_orders_cids,json=failedBinaryOptionsOrdersCids,proto3" json:"failed_binary_options_orders_cids,omitempty"`
  1724  }
  1725  
  1726  func (m *MsgBatchUpdateOrdersResponse) Reset()         { *m = MsgBatchUpdateOrdersResponse{} }
  1727  func (m *MsgBatchUpdateOrdersResponse) String() string { return proto.CompactTextString(m) }
  1728  func (*MsgBatchUpdateOrdersResponse) ProtoMessage()    {}
  1729  func (*MsgBatchUpdateOrdersResponse) Descriptor() ([]byte, []int) {
  1730  	return fileDescriptor_bd45b74cb6d81462, []int{38}
  1731  }
  1732  func (m *MsgBatchUpdateOrdersResponse) XXX_Unmarshal(b []byte) error {
  1733  	return m.Unmarshal(b)
  1734  }
  1735  func (m *MsgBatchUpdateOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1736  	if deterministic {
  1737  		return xxx_messageInfo_MsgBatchUpdateOrdersResponse.Marshal(b, m, deterministic)
  1738  	} else {
  1739  		b = b[:cap(b)]
  1740  		n, err := m.MarshalToSizedBuffer(b)
  1741  		if err != nil {
  1742  			return nil, err
  1743  		}
  1744  		return b[:n], nil
  1745  	}
  1746  }
  1747  func (m *MsgBatchUpdateOrdersResponse) XXX_Merge(src proto.Message) {
  1748  	xxx_messageInfo_MsgBatchUpdateOrdersResponse.Merge(m, src)
  1749  }
  1750  func (m *MsgBatchUpdateOrdersResponse) XXX_Size() int {
  1751  	return m.Size()
  1752  }
  1753  func (m *MsgBatchUpdateOrdersResponse) XXX_DiscardUnknown() {
  1754  	xxx_messageInfo_MsgBatchUpdateOrdersResponse.DiscardUnknown(m)
  1755  }
  1756  
  1757  var xxx_messageInfo_MsgBatchUpdateOrdersResponse proto.InternalMessageInfo
  1758  
  1759  // A Cosmos-SDK MsgCreateDerivativeMarketOrder
  1760  type MsgCreateDerivativeMarketOrder struct {
  1761  	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1762  	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
  1763  }
  1764  
  1765  func (m *MsgCreateDerivativeMarketOrder) Reset()         { *m = MsgCreateDerivativeMarketOrder{} }
  1766  func (m *MsgCreateDerivativeMarketOrder) String() string { return proto.CompactTextString(m) }
  1767  func (*MsgCreateDerivativeMarketOrder) ProtoMessage()    {}
  1768  func (*MsgCreateDerivativeMarketOrder) Descriptor() ([]byte, []int) {
  1769  	return fileDescriptor_bd45b74cb6d81462, []int{39}
  1770  }
  1771  func (m *MsgCreateDerivativeMarketOrder) XXX_Unmarshal(b []byte) error {
  1772  	return m.Unmarshal(b)
  1773  }
  1774  func (m *MsgCreateDerivativeMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1775  	if deterministic {
  1776  		return xxx_messageInfo_MsgCreateDerivativeMarketOrder.Marshal(b, m, deterministic)
  1777  	} else {
  1778  		b = b[:cap(b)]
  1779  		n, err := m.MarshalToSizedBuffer(b)
  1780  		if err != nil {
  1781  			return nil, err
  1782  		}
  1783  		return b[:n], nil
  1784  	}
  1785  }
  1786  func (m *MsgCreateDerivativeMarketOrder) XXX_Merge(src proto.Message) {
  1787  	xxx_messageInfo_MsgCreateDerivativeMarketOrder.Merge(m, src)
  1788  }
  1789  func (m *MsgCreateDerivativeMarketOrder) XXX_Size() int {
  1790  	return m.Size()
  1791  }
  1792  func (m *MsgCreateDerivativeMarketOrder) XXX_DiscardUnknown() {
  1793  	xxx_messageInfo_MsgCreateDerivativeMarketOrder.DiscardUnknown(m)
  1794  }
  1795  
  1796  var xxx_messageInfo_MsgCreateDerivativeMarketOrder proto.InternalMessageInfo
  1797  
  1798  // MsgCreateDerivativeMarketOrderResponse defines the
  1799  // Msg/CreateDerivativeMarketOrder response type.
  1800  type MsgCreateDerivativeMarketOrderResponse struct {
  1801  	OrderHash string                        `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1802  	Results   *DerivativeMarketOrderResults `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
  1803  	Cid       string                        `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
  1804  }
  1805  
  1806  func (m *MsgCreateDerivativeMarketOrderResponse) Reset() {
  1807  	*m = MsgCreateDerivativeMarketOrderResponse{}
  1808  }
  1809  func (m *MsgCreateDerivativeMarketOrderResponse) String() string { return proto.CompactTextString(m) }
  1810  func (*MsgCreateDerivativeMarketOrderResponse) ProtoMessage()    {}
  1811  func (*MsgCreateDerivativeMarketOrderResponse) Descriptor() ([]byte, []int) {
  1812  	return fileDescriptor_bd45b74cb6d81462, []int{40}
  1813  }
  1814  func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Unmarshal(b []byte) error {
  1815  	return m.Unmarshal(b)
  1816  }
  1817  func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1818  	if deterministic {
  1819  		return xxx_messageInfo_MsgCreateDerivativeMarketOrderResponse.Marshal(b, m, deterministic)
  1820  	} else {
  1821  		b = b[:cap(b)]
  1822  		n, err := m.MarshalToSizedBuffer(b)
  1823  		if err != nil {
  1824  			return nil, err
  1825  		}
  1826  		return b[:n], nil
  1827  	}
  1828  }
  1829  func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Merge(src proto.Message) {
  1830  	xxx_messageInfo_MsgCreateDerivativeMarketOrderResponse.Merge(m, src)
  1831  }
  1832  func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Size() int {
  1833  	return m.Size()
  1834  }
  1835  func (m *MsgCreateDerivativeMarketOrderResponse) XXX_DiscardUnknown() {
  1836  	xxx_messageInfo_MsgCreateDerivativeMarketOrderResponse.DiscardUnknown(m)
  1837  }
  1838  
  1839  var xxx_messageInfo_MsgCreateDerivativeMarketOrderResponse proto.InternalMessageInfo
  1840  
  1841  type DerivativeMarketOrderResults struct {
  1842  	Quantity      cosmossdk_io_math.LegacyDec `protobuf:"bytes,1,opt,name=quantity,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"quantity"`
  1843  	Price         cosmossdk_io_math.LegacyDec `protobuf:"bytes,2,opt,name=price,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"price"`
  1844  	Fee           cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=fee,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"fee"`
  1845  	PositionDelta PositionDelta               `protobuf:"bytes,4,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta"`
  1846  	Payout        cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=payout,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"payout"`
  1847  }
  1848  
  1849  func (m *DerivativeMarketOrderResults) Reset()         { *m = DerivativeMarketOrderResults{} }
  1850  func (m *DerivativeMarketOrderResults) String() string { return proto.CompactTextString(m) }
  1851  func (*DerivativeMarketOrderResults) ProtoMessage()    {}
  1852  func (*DerivativeMarketOrderResults) Descriptor() ([]byte, []int) {
  1853  	return fileDescriptor_bd45b74cb6d81462, []int{41}
  1854  }
  1855  func (m *DerivativeMarketOrderResults) XXX_Unmarshal(b []byte) error {
  1856  	return m.Unmarshal(b)
  1857  }
  1858  func (m *DerivativeMarketOrderResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1859  	if deterministic {
  1860  		return xxx_messageInfo_DerivativeMarketOrderResults.Marshal(b, m, deterministic)
  1861  	} else {
  1862  		b = b[:cap(b)]
  1863  		n, err := m.MarshalToSizedBuffer(b)
  1864  		if err != nil {
  1865  			return nil, err
  1866  		}
  1867  		return b[:n], nil
  1868  	}
  1869  }
  1870  func (m *DerivativeMarketOrderResults) XXX_Merge(src proto.Message) {
  1871  	xxx_messageInfo_DerivativeMarketOrderResults.Merge(m, src)
  1872  }
  1873  func (m *DerivativeMarketOrderResults) XXX_Size() int {
  1874  	return m.Size()
  1875  }
  1876  func (m *DerivativeMarketOrderResults) XXX_DiscardUnknown() {
  1877  	xxx_messageInfo_DerivativeMarketOrderResults.DiscardUnknown(m)
  1878  }
  1879  
  1880  var xxx_messageInfo_DerivativeMarketOrderResults proto.InternalMessageInfo
  1881  
  1882  // A Cosmos-SDK MsgCreateBinaryOptionsMarketOrder
  1883  type MsgCreateBinaryOptionsMarketOrder struct {
  1884  	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1885  	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
  1886  }
  1887  
  1888  func (m *MsgCreateBinaryOptionsMarketOrder) Reset()         { *m = MsgCreateBinaryOptionsMarketOrder{} }
  1889  func (m *MsgCreateBinaryOptionsMarketOrder) String() string { return proto.CompactTextString(m) }
  1890  func (*MsgCreateBinaryOptionsMarketOrder) ProtoMessage()    {}
  1891  func (*MsgCreateBinaryOptionsMarketOrder) Descriptor() ([]byte, []int) {
  1892  	return fileDescriptor_bd45b74cb6d81462, []int{42}
  1893  }
  1894  func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Unmarshal(b []byte) error {
  1895  	return m.Unmarshal(b)
  1896  }
  1897  func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1898  	if deterministic {
  1899  		return xxx_messageInfo_MsgCreateBinaryOptionsMarketOrder.Marshal(b, m, deterministic)
  1900  	} else {
  1901  		b = b[:cap(b)]
  1902  		n, err := m.MarshalToSizedBuffer(b)
  1903  		if err != nil {
  1904  			return nil, err
  1905  		}
  1906  		return b[:n], nil
  1907  	}
  1908  }
  1909  func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Merge(src proto.Message) {
  1910  	xxx_messageInfo_MsgCreateBinaryOptionsMarketOrder.Merge(m, src)
  1911  }
  1912  func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Size() int {
  1913  	return m.Size()
  1914  }
  1915  func (m *MsgCreateBinaryOptionsMarketOrder) XXX_DiscardUnknown() {
  1916  	xxx_messageInfo_MsgCreateBinaryOptionsMarketOrder.DiscardUnknown(m)
  1917  }
  1918  
  1919  var xxx_messageInfo_MsgCreateBinaryOptionsMarketOrder proto.InternalMessageInfo
  1920  
  1921  // MsgCreateBinaryOptionsMarketOrderResponse defines the
  1922  // Msg/CreateBinaryOptionsMarketOrder response type.
  1923  type MsgCreateBinaryOptionsMarketOrderResponse struct {
  1924  	OrderHash string                        `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1925  	Results   *DerivativeMarketOrderResults `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
  1926  	Cid       string                        `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
  1927  }
  1928  
  1929  func (m *MsgCreateBinaryOptionsMarketOrderResponse) Reset() {
  1930  	*m = MsgCreateBinaryOptionsMarketOrderResponse{}
  1931  }
  1932  func (m *MsgCreateBinaryOptionsMarketOrderResponse) String() string {
  1933  	return proto.CompactTextString(m)
  1934  }
  1935  func (*MsgCreateBinaryOptionsMarketOrderResponse) ProtoMessage() {}
  1936  func (*MsgCreateBinaryOptionsMarketOrderResponse) Descriptor() ([]byte, []int) {
  1937  	return fileDescriptor_bd45b74cb6d81462, []int{43}
  1938  }
  1939  func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_Unmarshal(b []byte) error {
  1940  	return m.Unmarshal(b)
  1941  }
  1942  func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1943  	if deterministic {
  1944  		return xxx_messageInfo_MsgCreateBinaryOptionsMarketOrderResponse.Marshal(b, m, deterministic)
  1945  	} else {
  1946  		b = b[:cap(b)]
  1947  		n, err := m.MarshalToSizedBuffer(b)
  1948  		if err != nil {
  1949  			return nil, err
  1950  		}
  1951  		return b[:n], nil
  1952  	}
  1953  }
  1954  func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_Merge(src proto.Message) {
  1955  	xxx_messageInfo_MsgCreateBinaryOptionsMarketOrderResponse.Merge(m, src)
  1956  }
  1957  func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_Size() int {
  1958  	return m.Size()
  1959  }
  1960  func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_DiscardUnknown() {
  1961  	xxx_messageInfo_MsgCreateBinaryOptionsMarketOrderResponse.DiscardUnknown(m)
  1962  }
  1963  
  1964  var xxx_messageInfo_MsgCreateBinaryOptionsMarketOrderResponse proto.InternalMessageInfo
  1965  
  1966  // MsgCancelDerivativeOrder defines the Msg/CancelDerivativeOrder response type.
  1967  type MsgCancelDerivativeOrder struct {
  1968  	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  1969  	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  1970  	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  1971  	OrderHash    string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  1972  	OrderMask    int32  `protobuf:"varint,5,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
  1973  	Cid          string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
  1974  }
  1975  
  1976  func (m *MsgCancelDerivativeOrder) Reset()         { *m = MsgCancelDerivativeOrder{} }
  1977  func (m *MsgCancelDerivativeOrder) String() string { return proto.CompactTextString(m) }
  1978  func (*MsgCancelDerivativeOrder) ProtoMessage()    {}
  1979  func (*MsgCancelDerivativeOrder) Descriptor() ([]byte, []int) {
  1980  	return fileDescriptor_bd45b74cb6d81462, []int{44}
  1981  }
  1982  func (m *MsgCancelDerivativeOrder) XXX_Unmarshal(b []byte) error {
  1983  	return m.Unmarshal(b)
  1984  }
  1985  func (m *MsgCancelDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1986  	if deterministic {
  1987  		return xxx_messageInfo_MsgCancelDerivativeOrder.Marshal(b, m, deterministic)
  1988  	} else {
  1989  		b = b[:cap(b)]
  1990  		n, err := m.MarshalToSizedBuffer(b)
  1991  		if err != nil {
  1992  			return nil, err
  1993  		}
  1994  		return b[:n], nil
  1995  	}
  1996  }
  1997  func (m *MsgCancelDerivativeOrder) XXX_Merge(src proto.Message) {
  1998  	xxx_messageInfo_MsgCancelDerivativeOrder.Merge(m, src)
  1999  }
  2000  func (m *MsgCancelDerivativeOrder) XXX_Size() int {
  2001  	return m.Size()
  2002  }
  2003  func (m *MsgCancelDerivativeOrder) XXX_DiscardUnknown() {
  2004  	xxx_messageInfo_MsgCancelDerivativeOrder.DiscardUnknown(m)
  2005  }
  2006  
  2007  var xxx_messageInfo_MsgCancelDerivativeOrder proto.InternalMessageInfo
  2008  
  2009  // MsgCancelDerivativeOrderResponse defines the
  2010  // Msg/CancelDerivativeOrderResponse response type.
  2011  type MsgCancelDerivativeOrderResponse struct {
  2012  }
  2013  
  2014  func (m *MsgCancelDerivativeOrderResponse) Reset()         { *m = MsgCancelDerivativeOrderResponse{} }
  2015  func (m *MsgCancelDerivativeOrderResponse) String() string { return proto.CompactTextString(m) }
  2016  func (*MsgCancelDerivativeOrderResponse) ProtoMessage()    {}
  2017  func (*MsgCancelDerivativeOrderResponse) Descriptor() ([]byte, []int) {
  2018  	return fileDescriptor_bd45b74cb6d81462, []int{45}
  2019  }
  2020  func (m *MsgCancelDerivativeOrderResponse) XXX_Unmarshal(b []byte) error {
  2021  	return m.Unmarshal(b)
  2022  }
  2023  func (m *MsgCancelDerivativeOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2024  	if deterministic {
  2025  		return xxx_messageInfo_MsgCancelDerivativeOrderResponse.Marshal(b, m, deterministic)
  2026  	} else {
  2027  		b = b[:cap(b)]
  2028  		n, err := m.MarshalToSizedBuffer(b)
  2029  		if err != nil {
  2030  			return nil, err
  2031  		}
  2032  		return b[:n], nil
  2033  	}
  2034  }
  2035  func (m *MsgCancelDerivativeOrderResponse) XXX_Merge(src proto.Message) {
  2036  	xxx_messageInfo_MsgCancelDerivativeOrderResponse.Merge(m, src)
  2037  }
  2038  func (m *MsgCancelDerivativeOrderResponse) XXX_Size() int {
  2039  	return m.Size()
  2040  }
  2041  func (m *MsgCancelDerivativeOrderResponse) XXX_DiscardUnknown() {
  2042  	xxx_messageInfo_MsgCancelDerivativeOrderResponse.DiscardUnknown(m)
  2043  }
  2044  
  2045  var xxx_messageInfo_MsgCancelDerivativeOrderResponse proto.InternalMessageInfo
  2046  
  2047  // MsgCancelBinaryOptionsOrder defines the Msg/CancelBinaryOptionsOrder response
  2048  // type.
  2049  type MsgCancelBinaryOptionsOrder struct {
  2050  	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2051  	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  2052  	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  2053  	OrderHash    string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  2054  	OrderMask    int32  `protobuf:"varint,5,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
  2055  	Cid          string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
  2056  }
  2057  
  2058  func (m *MsgCancelBinaryOptionsOrder) Reset()         { *m = MsgCancelBinaryOptionsOrder{} }
  2059  func (m *MsgCancelBinaryOptionsOrder) String() string { return proto.CompactTextString(m) }
  2060  func (*MsgCancelBinaryOptionsOrder) ProtoMessage()    {}
  2061  func (*MsgCancelBinaryOptionsOrder) Descriptor() ([]byte, []int) {
  2062  	return fileDescriptor_bd45b74cb6d81462, []int{46}
  2063  }
  2064  func (m *MsgCancelBinaryOptionsOrder) XXX_Unmarshal(b []byte) error {
  2065  	return m.Unmarshal(b)
  2066  }
  2067  func (m *MsgCancelBinaryOptionsOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2068  	if deterministic {
  2069  		return xxx_messageInfo_MsgCancelBinaryOptionsOrder.Marshal(b, m, deterministic)
  2070  	} else {
  2071  		b = b[:cap(b)]
  2072  		n, err := m.MarshalToSizedBuffer(b)
  2073  		if err != nil {
  2074  			return nil, err
  2075  		}
  2076  		return b[:n], nil
  2077  	}
  2078  }
  2079  func (m *MsgCancelBinaryOptionsOrder) XXX_Merge(src proto.Message) {
  2080  	xxx_messageInfo_MsgCancelBinaryOptionsOrder.Merge(m, src)
  2081  }
  2082  func (m *MsgCancelBinaryOptionsOrder) XXX_Size() int {
  2083  	return m.Size()
  2084  }
  2085  func (m *MsgCancelBinaryOptionsOrder) XXX_DiscardUnknown() {
  2086  	xxx_messageInfo_MsgCancelBinaryOptionsOrder.DiscardUnknown(m)
  2087  }
  2088  
  2089  var xxx_messageInfo_MsgCancelBinaryOptionsOrder proto.InternalMessageInfo
  2090  
  2091  // MsgCancelBinaryOptionsOrderResponse defines the
  2092  // Msg/CancelBinaryOptionsOrderResponse response type.
  2093  type MsgCancelBinaryOptionsOrderResponse struct {
  2094  }
  2095  
  2096  func (m *MsgCancelBinaryOptionsOrderResponse) Reset()         { *m = MsgCancelBinaryOptionsOrderResponse{} }
  2097  func (m *MsgCancelBinaryOptionsOrderResponse) String() string { return proto.CompactTextString(m) }
  2098  func (*MsgCancelBinaryOptionsOrderResponse) ProtoMessage()    {}
  2099  func (*MsgCancelBinaryOptionsOrderResponse) Descriptor() ([]byte, []int) {
  2100  	return fileDescriptor_bd45b74cb6d81462, []int{47}
  2101  }
  2102  func (m *MsgCancelBinaryOptionsOrderResponse) XXX_Unmarshal(b []byte) error {
  2103  	return m.Unmarshal(b)
  2104  }
  2105  func (m *MsgCancelBinaryOptionsOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2106  	if deterministic {
  2107  		return xxx_messageInfo_MsgCancelBinaryOptionsOrderResponse.Marshal(b, m, deterministic)
  2108  	} else {
  2109  		b = b[:cap(b)]
  2110  		n, err := m.MarshalToSizedBuffer(b)
  2111  		if err != nil {
  2112  			return nil, err
  2113  		}
  2114  		return b[:n], nil
  2115  	}
  2116  }
  2117  func (m *MsgCancelBinaryOptionsOrderResponse) XXX_Merge(src proto.Message) {
  2118  	xxx_messageInfo_MsgCancelBinaryOptionsOrderResponse.Merge(m, src)
  2119  }
  2120  func (m *MsgCancelBinaryOptionsOrderResponse) XXX_Size() int {
  2121  	return m.Size()
  2122  }
  2123  func (m *MsgCancelBinaryOptionsOrderResponse) XXX_DiscardUnknown() {
  2124  	xxx_messageInfo_MsgCancelBinaryOptionsOrderResponse.DiscardUnknown(m)
  2125  }
  2126  
  2127  var xxx_messageInfo_MsgCancelBinaryOptionsOrderResponse proto.InternalMessageInfo
  2128  
  2129  type OrderData struct {
  2130  	MarketId     string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  2131  	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  2132  	OrderHash    string `protobuf:"bytes,3,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
  2133  	OrderMask    int32  `protobuf:"varint,4,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
  2134  	Cid          string `protobuf:"bytes,5,opt,name=cid,proto3" json:"cid,omitempty"`
  2135  }
  2136  
  2137  func (m *OrderData) Reset()         { *m = OrderData{} }
  2138  func (m *OrderData) String() string { return proto.CompactTextString(m) }
  2139  func (*OrderData) ProtoMessage()    {}
  2140  func (*OrderData) Descriptor() ([]byte, []int) {
  2141  	return fileDescriptor_bd45b74cb6d81462, []int{48}
  2142  }
  2143  func (m *OrderData) XXX_Unmarshal(b []byte) error {
  2144  	return m.Unmarshal(b)
  2145  }
  2146  func (m *OrderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2147  	if deterministic {
  2148  		return xxx_messageInfo_OrderData.Marshal(b, m, deterministic)
  2149  	} else {
  2150  		b = b[:cap(b)]
  2151  		n, err := m.MarshalToSizedBuffer(b)
  2152  		if err != nil {
  2153  			return nil, err
  2154  		}
  2155  		return b[:n], nil
  2156  	}
  2157  }
  2158  func (m *OrderData) XXX_Merge(src proto.Message) {
  2159  	xxx_messageInfo_OrderData.Merge(m, src)
  2160  }
  2161  func (m *OrderData) XXX_Size() int {
  2162  	return m.Size()
  2163  }
  2164  func (m *OrderData) XXX_DiscardUnknown() {
  2165  	xxx_messageInfo_OrderData.DiscardUnknown(m)
  2166  }
  2167  
  2168  var xxx_messageInfo_OrderData proto.InternalMessageInfo
  2169  
  2170  func (m *OrderData) GetMarketId() string {
  2171  	if m != nil {
  2172  		return m.MarketId
  2173  	}
  2174  	return ""
  2175  }
  2176  
  2177  func (m *OrderData) GetSubaccountId() string {
  2178  	if m != nil {
  2179  		return m.SubaccountId
  2180  	}
  2181  	return ""
  2182  }
  2183  
  2184  func (m *OrderData) GetOrderHash() string {
  2185  	if m != nil {
  2186  		return m.OrderHash
  2187  	}
  2188  	return ""
  2189  }
  2190  
  2191  func (m *OrderData) GetOrderMask() int32 {
  2192  	if m != nil {
  2193  		return m.OrderMask
  2194  	}
  2195  	return 0
  2196  }
  2197  
  2198  func (m *OrderData) GetCid() string {
  2199  	if m != nil {
  2200  		return m.Cid
  2201  	}
  2202  	return ""
  2203  }
  2204  
  2205  // MsgBatchCancelDerivativeOrders defines the Msg/CancelDerivativeOrders
  2206  // response type.
  2207  type MsgBatchCancelDerivativeOrders struct {
  2208  	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2209  	Data   []OrderData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
  2210  }
  2211  
  2212  func (m *MsgBatchCancelDerivativeOrders) Reset()         { *m = MsgBatchCancelDerivativeOrders{} }
  2213  func (m *MsgBatchCancelDerivativeOrders) String() string { return proto.CompactTextString(m) }
  2214  func (*MsgBatchCancelDerivativeOrders) ProtoMessage()    {}
  2215  func (*MsgBatchCancelDerivativeOrders) Descriptor() ([]byte, []int) {
  2216  	return fileDescriptor_bd45b74cb6d81462, []int{49}
  2217  }
  2218  func (m *MsgBatchCancelDerivativeOrders) XXX_Unmarshal(b []byte) error {
  2219  	return m.Unmarshal(b)
  2220  }
  2221  func (m *MsgBatchCancelDerivativeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2222  	if deterministic {
  2223  		return xxx_messageInfo_MsgBatchCancelDerivativeOrders.Marshal(b, m, deterministic)
  2224  	} else {
  2225  		b = b[:cap(b)]
  2226  		n, err := m.MarshalToSizedBuffer(b)
  2227  		if err != nil {
  2228  			return nil, err
  2229  		}
  2230  		return b[:n], nil
  2231  	}
  2232  }
  2233  func (m *MsgBatchCancelDerivativeOrders) XXX_Merge(src proto.Message) {
  2234  	xxx_messageInfo_MsgBatchCancelDerivativeOrders.Merge(m, src)
  2235  }
  2236  func (m *MsgBatchCancelDerivativeOrders) XXX_Size() int {
  2237  	return m.Size()
  2238  }
  2239  func (m *MsgBatchCancelDerivativeOrders) XXX_DiscardUnknown() {
  2240  	xxx_messageInfo_MsgBatchCancelDerivativeOrders.DiscardUnknown(m)
  2241  }
  2242  
  2243  var xxx_messageInfo_MsgBatchCancelDerivativeOrders proto.InternalMessageInfo
  2244  
  2245  // MsgBatchCancelDerivativeOrdersResponse defines the
  2246  // Msg/CancelDerivativeOrderResponse response type.
  2247  type MsgBatchCancelDerivativeOrdersResponse struct {
  2248  	Success []bool `protobuf:"varint,1,rep,packed,name=success,proto3" json:"success,omitempty"`
  2249  }
  2250  
  2251  func (m *MsgBatchCancelDerivativeOrdersResponse) Reset() {
  2252  	*m = MsgBatchCancelDerivativeOrdersResponse{}
  2253  }
  2254  func (m *MsgBatchCancelDerivativeOrdersResponse) String() string { return proto.CompactTextString(m) }
  2255  func (*MsgBatchCancelDerivativeOrdersResponse) ProtoMessage()    {}
  2256  func (*MsgBatchCancelDerivativeOrdersResponse) Descriptor() ([]byte, []int) {
  2257  	return fileDescriptor_bd45b74cb6d81462, []int{50}
  2258  }
  2259  func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Unmarshal(b []byte) error {
  2260  	return m.Unmarshal(b)
  2261  }
  2262  func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2263  	if deterministic {
  2264  		return xxx_messageInfo_MsgBatchCancelDerivativeOrdersResponse.Marshal(b, m, deterministic)
  2265  	} else {
  2266  		b = b[:cap(b)]
  2267  		n, err := m.MarshalToSizedBuffer(b)
  2268  		if err != nil {
  2269  			return nil, err
  2270  		}
  2271  		return b[:n], nil
  2272  	}
  2273  }
  2274  func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Merge(src proto.Message) {
  2275  	xxx_messageInfo_MsgBatchCancelDerivativeOrdersResponse.Merge(m, src)
  2276  }
  2277  func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Size() int {
  2278  	return m.Size()
  2279  }
  2280  func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_DiscardUnknown() {
  2281  	xxx_messageInfo_MsgBatchCancelDerivativeOrdersResponse.DiscardUnknown(m)
  2282  }
  2283  
  2284  var xxx_messageInfo_MsgBatchCancelDerivativeOrdersResponse proto.InternalMessageInfo
  2285  
  2286  // A Cosmos-SDK MsgSubaccountTransfer
  2287  type MsgSubaccountTransfer struct {
  2288  	Sender                  string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2289  	SourceSubaccountId      string     `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
  2290  	DestinationSubaccountId string     `protobuf:"bytes,3,opt,name=destination_subaccount_id,json=destinationSubaccountId,proto3" json:"destination_subaccount_id,omitempty"`
  2291  	Amount                  types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
  2292  }
  2293  
  2294  func (m *MsgSubaccountTransfer) Reset()         { *m = MsgSubaccountTransfer{} }
  2295  func (m *MsgSubaccountTransfer) String() string { return proto.CompactTextString(m) }
  2296  func (*MsgSubaccountTransfer) ProtoMessage()    {}
  2297  func (*MsgSubaccountTransfer) Descriptor() ([]byte, []int) {
  2298  	return fileDescriptor_bd45b74cb6d81462, []int{51}
  2299  }
  2300  func (m *MsgSubaccountTransfer) XXX_Unmarshal(b []byte) error {
  2301  	return m.Unmarshal(b)
  2302  }
  2303  func (m *MsgSubaccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2304  	if deterministic {
  2305  		return xxx_messageInfo_MsgSubaccountTransfer.Marshal(b, m, deterministic)
  2306  	} else {
  2307  		b = b[:cap(b)]
  2308  		n, err := m.MarshalToSizedBuffer(b)
  2309  		if err != nil {
  2310  			return nil, err
  2311  		}
  2312  		return b[:n], nil
  2313  	}
  2314  }
  2315  func (m *MsgSubaccountTransfer) XXX_Merge(src proto.Message) {
  2316  	xxx_messageInfo_MsgSubaccountTransfer.Merge(m, src)
  2317  }
  2318  func (m *MsgSubaccountTransfer) XXX_Size() int {
  2319  	return m.Size()
  2320  }
  2321  func (m *MsgSubaccountTransfer) XXX_DiscardUnknown() {
  2322  	xxx_messageInfo_MsgSubaccountTransfer.DiscardUnknown(m)
  2323  }
  2324  
  2325  var xxx_messageInfo_MsgSubaccountTransfer proto.InternalMessageInfo
  2326  
  2327  func (m *MsgSubaccountTransfer) GetSender() string {
  2328  	if m != nil {
  2329  		return m.Sender
  2330  	}
  2331  	return ""
  2332  }
  2333  
  2334  func (m *MsgSubaccountTransfer) GetSourceSubaccountId() string {
  2335  	if m != nil {
  2336  		return m.SourceSubaccountId
  2337  	}
  2338  	return ""
  2339  }
  2340  
  2341  func (m *MsgSubaccountTransfer) GetDestinationSubaccountId() string {
  2342  	if m != nil {
  2343  		return m.DestinationSubaccountId
  2344  	}
  2345  	return ""
  2346  }
  2347  
  2348  func (m *MsgSubaccountTransfer) GetAmount() types.Coin {
  2349  	if m != nil {
  2350  		return m.Amount
  2351  	}
  2352  	return types.Coin{}
  2353  }
  2354  
  2355  // MsgSubaccountTransferResponse defines the Msg/SubaccountTransfer response
  2356  // type.
  2357  type MsgSubaccountTransferResponse struct {
  2358  }
  2359  
  2360  func (m *MsgSubaccountTransferResponse) Reset()         { *m = MsgSubaccountTransferResponse{} }
  2361  func (m *MsgSubaccountTransferResponse) String() string { return proto.CompactTextString(m) }
  2362  func (*MsgSubaccountTransferResponse) ProtoMessage()    {}
  2363  func (*MsgSubaccountTransferResponse) Descriptor() ([]byte, []int) {
  2364  	return fileDescriptor_bd45b74cb6d81462, []int{52}
  2365  }
  2366  func (m *MsgSubaccountTransferResponse) XXX_Unmarshal(b []byte) error {
  2367  	return m.Unmarshal(b)
  2368  }
  2369  func (m *MsgSubaccountTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2370  	if deterministic {
  2371  		return xxx_messageInfo_MsgSubaccountTransferResponse.Marshal(b, m, deterministic)
  2372  	} else {
  2373  		b = b[:cap(b)]
  2374  		n, err := m.MarshalToSizedBuffer(b)
  2375  		if err != nil {
  2376  			return nil, err
  2377  		}
  2378  		return b[:n], nil
  2379  	}
  2380  }
  2381  func (m *MsgSubaccountTransferResponse) XXX_Merge(src proto.Message) {
  2382  	xxx_messageInfo_MsgSubaccountTransferResponse.Merge(m, src)
  2383  }
  2384  func (m *MsgSubaccountTransferResponse) XXX_Size() int {
  2385  	return m.Size()
  2386  }
  2387  func (m *MsgSubaccountTransferResponse) XXX_DiscardUnknown() {
  2388  	xxx_messageInfo_MsgSubaccountTransferResponse.DiscardUnknown(m)
  2389  }
  2390  
  2391  var xxx_messageInfo_MsgSubaccountTransferResponse proto.InternalMessageInfo
  2392  
  2393  // A Cosmos-SDK MsgExternalTransfer
  2394  type MsgExternalTransfer struct {
  2395  	Sender                  string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2396  	SourceSubaccountId      string     `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
  2397  	DestinationSubaccountId string     `protobuf:"bytes,3,opt,name=destination_subaccount_id,json=destinationSubaccountId,proto3" json:"destination_subaccount_id,omitempty"`
  2398  	Amount                  types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
  2399  }
  2400  
  2401  func (m *MsgExternalTransfer) Reset()         { *m = MsgExternalTransfer{} }
  2402  func (m *MsgExternalTransfer) String() string { return proto.CompactTextString(m) }
  2403  func (*MsgExternalTransfer) ProtoMessage()    {}
  2404  func (*MsgExternalTransfer) Descriptor() ([]byte, []int) {
  2405  	return fileDescriptor_bd45b74cb6d81462, []int{53}
  2406  }
  2407  func (m *MsgExternalTransfer) XXX_Unmarshal(b []byte) error {
  2408  	return m.Unmarshal(b)
  2409  }
  2410  func (m *MsgExternalTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2411  	if deterministic {
  2412  		return xxx_messageInfo_MsgExternalTransfer.Marshal(b, m, deterministic)
  2413  	} else {
  2414  		b = b[:cap(b)]
  2415  		n, err := m.MarshalToSizedBuffer(b)
  2416  		if err != nil {
  2417  			return nil, err
  2418  		}
  2419  		return b[:n], nil
  2420  	}
  2421  }
  2422  func (m *MsgExternalTransfer) XXX_Merge(src proto.Message) {
  2423  	xxx_messageInfo_MsgExternalTransfer.Merge(m, src)
  2424  }
  2425  func (m *MsgExternalTransfer) XXX_Size() int {
  2426  	return m.Size()
  2427  }
  2428  func (m *MsgExternalTransfer) XXX_DiscardUnknown() {
  2429  	xxx_messageInfo_MsgExternalTransfer.DiscardUnknown(m)
  2430  }
  2431  
  2432  var xxx_messageInfo_MsgExternalTransfer proto.InternalMessageInfo
  2433  
  2434  func (m *MsgExternalTransfer) GetSender() string {
  2435  	if m != nil {
  2436  		return m.Sender
  2437  	}
  2438  	return ""
  2439  }
  2440  
  2441  func (m *MsgExternalTransfer) GetSourceSubaccountId() string {
  2442  	if m != nil {
  2443  		return m.SourceSubaccountId
  2444  	}
  2445  	return ""
  2446  }
  2447  
  2448  func (m *MsgExternalTransfer) GetDestinationSubaccountId() string {
  2449  	if m != nil {
  2450  		return m.DestinationSubaccountId
  2451  	}
  2452  	return ""
  2453  }
  2454  
  2455  func (m *MsgExternalTransfer) GetAmount() types.Coin {
  2456  	if m != nil {
  2457  		return m.Amount
  2458  	}
  2459  	return types.Coin{}
  2460  }
  2461  
  2462  // MsgExternalTransferResponse defines the Msg/ExternalTransfer response type.
  2463  type MsgExternalTransferResponse struct {
  2464  }
  2465  
  2466  func (m *MsgExternalTransferResponse) Reset()         { *m = MsgExternalTransferResponse{} }
  2467  func (m *MsgExternalTransferResponse) String() string { return proto.CompactTextString(m) }
  2468  func (*MsgExternalTransferResponse) ProtoMessage()    {}
  2469  func (*MsgExternalTransferResponse) Descriptor() ([]byte, []int) {
  2470  	return fileDescriptor_bd45b74cb6d81462, []int{54}
  2471  }
  2472  func (m *MsgExternalTransferResponse) XXX_Unmarshal(b []byte) error {
  2473  	return m.Unmarshal(b)
  2474  }
  2475  func (m *MsgExternalTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2476  	if deterministic {
  2477  		return xxx_messageInfo_MsgExternalTransferResponse.Marshal(b, m, deterministic)
  2478  	} else {
  2479  		b = b[:cap(b)]
  2480  		n, err := m.MarshalToSizedBuffer(b)
  2481  		if err != nil {
  2482  			return nil, err
  2483  		}
  2484  		return b[:n], nil
  2485  	}
  2486  }
  2487  func (m *MsgExternalTransferResponse) XXX_Merge(src proto.Message) {
  2488  	xxx_messageInfo_MsgExternalTransferResponse.Merge(m, src)
  2489  }
  2490  func (m *MsgExternalTransferResponse) XXX_Size() int {
  2491  	return m.Size()
  2492  }
  2493  func (m *MsgExternalTransferResponse) XXX_DiscardUnknown() {
  2494  	xxx_messageInfo_MsgExternalTransferResponse.DiscardUnknown(m)
  2495  }
  2496  
  2497  var xxx_messageInfo_MsgExternalTransferResponse proto.InternalMessageInfo
  2498  
  2499  // A Cosmos-SDK MsgLiquidatePosition
  2500  type MsgLiquidatePosition struct {
  2501  	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2502  	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  2503  	MarketId     string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  2504  	// optional order to provide for liquidation
  2505  	Order *DerivativeOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"`
  2506  }
  2507  
  2508  func (m *MsgLiquidatePosition) Reset()         { *m = MsgLiquidatePosition{} }
  2509  func (m *MsgLiquidatePosition) String() string { return proto.CompactTextString(m) }
  2510  func (*MsgLiquidatePosition) ProtoMessage()    {}
  2511  func (*MsgLiquidatePosition) Descriptor() ([]byte, []int) {
  2512  	return fileDescriptor_bd45b74cb6d81462, []int{55}
  2513  }
  2514  func (m *MsgLiquidatePosition) XXX_Unmarshal(b []byte) error {
  2515  	return m.Unmarshal(b)
  2516  }
  2517  func (m *MsgLiquidatePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2518  	if deterministic {
  2519  		return xxx_messageInfo_MsgLiquidatePosition.Marshal(b, m, deterministic)
  2520  	} else {
  2521  		b = b[:cap(b)]
  2522  		n, err := m.MarshalToSizedBuffer(b)
  2523  		if err != nil {
  2524  			return nil, err
  2525  		}
  2526  		return b[:n], nil
  2527  	}
  2528  }
  2529  func (m *MsgLiquidatePosition) XXX_Merge(src proto.Message) {
  2530  	xxx_messageInfo_MsgLiquidatePosition.Merge(m, src)
  2531  }
  2532  func (m *MsgLiquidatePosition) XXX_Size() int {
  2533  	return m.Size()
  2534  }
  2535  func (m *MsgLiquidatePosition) XXX_DiscardUnknown() {
  2536  	xxx_messageInfo_MsgLiquidatePosition.DiscardUnknown(m)
  2537  }
  2538  
  2539  var xxx_messageInfo_MsgLiquidatePosition proto.InternalMessageInfo
  2540  
  2541  func (m *MsgLiquidatePosition) GetSender() string {
  2542  	if m != nil {
  2543  		return m.Sender
  2544  	}
  2545  	return ""
  2546  }
  2547  
  2548  func (m *MsgLiquidatePosition) GetSubaccountId() string {
  2549  	if m != nil {
  2550  		return m.SubaccountId
  2551  	}
  2552  	return ""
  2553  }
  2554  
  2555  func (m *MsgLiquidatePosition) GetMarketId() string {
  2556  	if m != nil {
  2557  		return m.MarketId
  2558  	}
  2559  	return ""
  2560  }
  2561  
  2562  func (m *MsgLiquidatePosition) GetOrder() *DerivativeOrder {
  2563  	if m != nil {
  2564  		return m.Order
  2565  	}
  2566  	return nil
  2567  }
  2568  
  2569  // MsgLiquidatePositionResponse defines the Msg/LiquidatePosition response type.
  2570  type MsgLiquidatePositionResponse struct {
  2571  }
  2572  
  2573  func (m *MsgLiquidatePositionResponse) Reset()         { *m = MsgLiquidatePositionResponse{} }
  2574  func (m *MsgLiquidatePositionResponse) String() string { return proto.CompactTextString(m) }
  2575  func (*MsgLiquidatePositionResponse) ProtoMessage()    {}
  2576  func (*MsgLiquidatePositionResponse) Descriptor() ([]byte, []int) {
  2577  	return fileDescriptor_bd45b74cb6d81462, []int{56}
  2578  }
  2579  func (m *MsgLiquidatePositionResponse) XXX_Unmarshal(b []byte) error {
  2580  	return m.Unmarshal(b)
  2581  }
  2582  func (m *MsgLiquidatePositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2583  	if deterministic {
  2584  		return xxx_messageInfo_MsgLiquidatePositionResponse.Marshal(b, m, deterministic)
  2585  	} else {
  2586  		b = b[:cap(b)]
  2587  		n, err := m.MarshalToSizedBuffer(b)
  2588  		if err != nil {
  2589  			return nil, err
  2590  		}
  2591  		return b[:n], nil
  2592  	}
  2593  }
  2594  func (m *MsgLiquidatePositionResponse) XXX_Merge(src proto.Message) {
  2595  	xxx_messageInfo_MsgLiquidatePositionResponse.Merge(m, src)
  2596  }
  2597  func (m *MsgLiquidatePositionResponse) XXX_Size() int {
  2598  	return m.Size()
  2599  }
  2600  func (m *MsgLiquidatePositionResponse) XXX_DiscardUnknown() {
  2601  	xxx_messageInfo_MsgLiquidatePositionResponse.DiscardUnknown(m)
  2602  }
  2603  
  2604  var xxx_messageInfo_MsgLiquidatePositionResponse proto.InternalMessageInfo
  2605  
  2606  // A Cosmos-SDK MsgEmergencySettleMarket
  2607  type MsgEmergencySettleMarket struct {
  2608  	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2609  	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
  2610  	MarketId     string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  2611  }
  2612  
  2613  func (m *MsgEmergencySettleMarket) Reset()         { *m = MsgEmergencySettleMarket{} }
  2614  func (m *MsgEmergencySettleMarket) String() string { return proto.CompactTextString(m) }
  2615  func (*MsgEmergencySettleMarket) ProtoMessage()    {}
  2616  func (*MsgEmergencySettleMarket) Descriptor() ([]byte, []int) {
  2617  	return fileDescriptor_bd45b74cb6d81462, []int{57}
  2618  }
  2619  func (m *MsgEmergencySettleMarket) XXX_Unmarshal(b []byte) error {
  2620  	return m.Unmarshal(b)
  2621  }
  2622  func (m *MsgEmergencySettleMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2623  	if deterministic {
  2624  		return xxx_messageInfo_MsgEmergencySettleMarket.Marshal(b, m, deterministic)
  2625  	} else {
  2626  		b = b[:cap(b)]
  2627  		n, err := m.MarshalToSizedBuffer(b)
  2628  		if err != nil {
  2629  			return nil, err
  2630  		}
  2631  		return b[:n], nil
  2632  	}
  2633  }
  2634  func (m *MsgEmergencySettleMarket) XXX_Merge(src proto.Message) {
  2635  	xxx_messageInfo_MsgEmergencySettleMarket.Merge(m, src)
  2636  }
  2637  func (m *MsgEmergencySettleMarket) XXX_Size() int {
  2638  	return m.Size()
  2639  }
  2640  func (m *MsgEmergencySettleMarket) XXX_DiscardUnknown() {
  2641  	xxx_messageInfo_MsgEmergencySettleMarket.DiscardUnknown(m)
  2642  }
  2643  
  2644  var xxx_messageInfo_MsgEmergencySettleMarket proto.InternalMessageInfo
  2645  
  2646  func (m *MsgEmergencySettleMarket) GetSender() string {
  2647  	if m != nil {
  2648  		return m.Sender
  2649  	}
  2650  	return ""
  2651  }
  2652  
  2653  func (m *MsgEmergencySettleMarket) GetSubaccountId() string {
  2654  	if m != nil {
  2655  		return m.SubaccountId
  2656  	}
  2657  	return ""
  2658  }
  2659  
  2660  func (m *MsgEmergencySettleMarket) GetMarketId() string {
  2661  	if m != nil {
  2662  		return m.MarketId
  2663  	}
  2664  	return ""
  2665  }
  2666  
  2667  // MsgEmergencySettleMarketResponse defines the Msg/EmergencySettleMarket
  2668  // response type.
  2669  type MsgEmergencySettleMarketResponse struct {
  2670  }
  2671  
  2672  func (m *MsgEmergencySettleMarketResponse) Reset()         { *m = MsgEmergencySettleMarketResponse{} }
  2673  func (m *MsgEmergencySettleMarketResponse) String() string { return proto.CompactTextString(m) }
  2674  func (*MsgEmergencySettleMarketResponse) ProtoMessage()    {}
  2675  func (*MsgEmergencySettleMarketResponse) Descriptor() ([]byte, []int) {
  2676  	return fileDescriptor_bd45b74cb6d81462, []int{58}
  2677  }
  2678  func (m *MsgEmergencySettleMarketResponse) XXX_Unmarshal(b []byte) error {
  2679  	return m.Unmarshal(b)
  2680  }
  2681  func (m *MsgEmergencySettleMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2682  	if deterministic {
  2683  		return xxx_messageInfo_MsgEmergencySettleMarketResponse.Marshal(b, m, deterministic)
  2684  	} else {
  2685  		b = b[:cap(b)]
  2686  		n, err := m.MarshalToSizedBuffer(b)
  2687  		if err != nil {
  2688  			return nil, err
  2689  		}
  2690  		return b[:n], nil
  2691  	}
  2692  }
  2693  func (m *MsgEmergencySettleMarketResponse) XXX_Merge(src proto.Message) {
  2694  	xxx_messageInfo_MsgEmergencySettleMarketResponse.Merge(m, src)
  2695  }
  2696  func (m *MsgEmergencySettleMarketResponse) XXX_Size() int {
  2697  	return m.Size()
  2698  }
  2699  func (m *MsgEmergencySettleMarketResponse) XXX_DiscardUnknown() {
  2700  	xxx_messageInfo_MsgEmergencySettleMarketResponse.DiscardUnknown(m)
  2701  }
  2702  
  2703  var xxx_messageInfo_MsgEmergencySettleMarketResponse proto.InternalMessageInfo
  2704  
  2705  // A Cosmos-SDK MsgIncreasePositionMargin
  2706  type MsgIncreasePositionMargin struct {
  2707  	Sender                  string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2708  	SourceSubaccountId      string `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
  2709  	DestinationSubaccountId string `protobuf:"bytes,3,opt,name=destination_subaccount_id,json=destinationSubaccountId,proto3" json:"destination_subaccount_id,omitempty"`
  2710  	MarketId                string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  2711  	// amount defines the amount of margin to add to the position
  2712  	Amount cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=amount,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"amount"`
  2713  }
  2714  
  2715  func (m *MsgIncreasePositionMargin) Reset()         { *m = MsgIncreasePositionMargin{} }
  2716  func (m *MsgIncreasePositionMargin) String() string { return proto.CompactTextString(m) }
  2717  func (*MsgIncreasePositionMargin) ProtoMessage()    {}
  2718  func (*MsgIncreasePositionMargin) Descriptor() ([]byte, []int) {
  2719  	return fileDescriptor_bd45b74cb6d81462, []int{59}
  2720  }
  2721  func (m *MsgIncreasePositionMargin) XXX_Unmarshal(b []byte) error {
  2722  	return m.Unmarshal(b)
  2723  }
  2724  func (m *MsgIncreasePositionMargin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2725  	if deterministic {
  2726  		return xxx_messageInfo_MsgIncreasePositionMargin.Marshal(b, m, deterministic)
  2727  	} else {
  2728  		b = b[:cap(b)]
  2729  		n, err := m.MarshalToSizedBuffer(b)
  2730  		if err != nil {
  2731  			return nil, err
  2732  		}
  2733  		return b[:n], nil
  2734  	}
  2735  }
  2736  func (m *MsgIncreasePositionMargin) XXX_Merge(src proto.Message) {
  2737  	xxx_messageInfo_MsgIncreasePositionMargin.Merge(m, src)
  2738  }
  2739  func (m *MsgIncreasePositionMargin) XXX_Size() int {
  2740  	return m.Size()
  2741  }
  2742  func (m *MsgIncreasePositionMargin) XXX_DiscardUnknown() {
  2743  	xxx_messageInfo_MsgIncreasePositionMargin.DiscardUnknown(m)
  2744  }
  2745  
  2746  var xxx_messageInfo_MsgIncreasePositionMargin proto.InternalMessageInfo
  2747  
  2748  func (m *MsgIncreasePositionMargin) GetSender() string {
  2749  	if m != nil {
  2750  		return m.Sender
  2751  	}
  2752  	return ""
  2753  }
  2754  
  2755  func (m *MsgIncreasePositionMargin) GetSourceSubaccountId() string {
  2756  	if m != nil {
  2757  		return m.SourceSubaccountId
  2758  	}
  2759  	return ""
  2760  }
  2761  
  2762  func (m *MsgIncreasePositionMargin) GetDestinationSubaccountId() string {
  2763  	if m != nil {
  2764  		return m.DestinationSubaccountId
  2765  	}
  2766  	return ""
  2767  }
  2768  
  2769  func (m *MsgIncreasePositionMargin) GetMarketId() string {
  2770  	if m != nil {
  2771  		return m.MarketId
  2772  	}
  2773  	return ""
  2774  }
  2775  
  2776  // MsgIncreasePositionMarginResponse defines the Msg/IncreasePositionMargin
  2777  // response type.
  2778  type MsgIncreasePositionMarginResponse struct {
  2779  }
  2780  
  2781  func (m *MsgIncreasePositionMarginResponse) Reset()         { *m = MsgIncreasePositionMarginResponse{} }
  2782  func (m *MsgIncreasePositionMarginResponse) String() string { return proto.CompactTextString(m) }
  2783  func (*MsgIncreasePositionMarginResponse) ProtoMessage()    {}
  2784  func (*MsgIncreasePositionMarginResponse) Descriptor() ([]byte, []int) {
  2785  	return fileDescriptor_bd45b74cb6d81462, []int{60}
  2786  }
  2787  func (m *MsgIncreasePositionMarginResponse) XXX_Unmarshal(b []byte) error {
  2788  	return m.Unmarshal(b)
  2789  }
  2790  func (m *MsgIncreasePositionMarginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2791  	if deterministic {
  2792  		return xxx_messageInfo_MsgIncreasePositionMarginResponse.Marshal(b, m, deterministic)
  2793  	} else {
  2794  		b = b[:cap(b)]
  2795  		n, err := m.MarshalToSizedBuffer(b)
  2796  		if err != nil {
  2797  			return nil, err
  2798  		}
  2799  		return b[:n], nil
  2800  	}
  2801  }
  2802  func (m *MsgIncreasePositionMarginResponse) XXX_Merge(src proto.Message) {
  2803  	xxx_messageInfo_MsgIncreasePositionMarginResponse.Merge(m, src)
  2804  }
  2805  func (m *MsgIncreasePositionMarginResponse) XXX_Size() int {
  2806  	return m.Size()
  2807  }
  2808  func (m *MsgIncreasePositionMarginResponse) XXX_DiscardUnknown() {
  2809  	xxx_messageInfo_MsgIncreasePositionMarginResponse.DiscardUnknown(m)
  2810  }
  2811  
  2812  var xxx_messageInfo_MsgIncreasePositionMarginResponse proto.InternalMessageInfo
  2813  
  2814  // A Cosmos-SDK MsgDecreasePositionMargin
  2815  type MsgDecreasePositionMargin struct {
  2816  	Sender                  string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2817  	SourceSubaccountId      string `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
  2818  	DestinationSubaccountId string `protobuf:"bytes,3,opt,name=destination_subaccount_id,json=destinationSubaccountId,proto3" json:"destination_subaccount_id,omitempty"`
  2819  	MarketId                string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  2820  	// amount defines the amount of margin to withdraw from the position
  2821  	Amount cosmossdk_io_math.LegacyDec `protobuf:"bytes,5,opt,name=amount,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"amount"`
  2822  }
  2823  
  2824  func (m *MsgDecreasePositionMargin) Reset()         { *m = MsgDecreasePositionMargin{} }
  2825  func (m *MsgDecreasePositionMargin) String() string { return proto.CompactTextString(m) }
  2826  func (*MsgDecreasePositionMargin) ProtoMessage()    {}
  2827  func (*MsgDecreasePositionMargin) Descriptor() ([]byte, []int) {
  2828  	return fileDescriptor_bd45b74cb6d81462, []int{61}
  2829  }
  2830  func (m *MsgDecreasePositionMargin) XXX_Unmarshal(b []byte) error {
  2831  	return m.Unmarshal(b)
  2832  }
  2833  func (m *MsgDecreasePositionMargin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2834  	if deterministic {
  2835  		return xxx_messageInfo_MsgDecreasePositionMargin.Marshal(b, m, deterministic)
  2836  	} else {
  2837  		b = b[:cap(b)]
  2838  		n, err := m.MarshalToSizedBuffer(b)
  2839  		if err != nil {
  2840  			return nil, err
  2841  		}
  2842  		return b[:n], nil
  2843  	}
  2844  }
  2845  func (m *MsgDecreasePositionMargin) XXX_Merge(src proto.Message) {
  2846  	xxx_messageInfo_MsgDecreasePositionMargin.Merge(m, src)
  2847  }
  2848  func (m *MsgDecreasePositionMargin) XXX_Size() int {
  2849  	return m.Size()
  2850  }
  2851  func (m *MsgDecreasePositionMargin) XXX_DiscardUnknown() {
  2852  	xxx_messageInfo_MsgDecreasePositionMargin.DiscardUnknown(m)
  2853  }
  2854  
  2855  var xxx_messageInfo_MsgDecreasePositionMargin proto.InternalMessageInfo
  2856  
  2857  func (m *MsgDecreasePositionMargin) GetSender() string {
  2858  	if m != nil {
  2859  		return m.Sender
  2860  	}
  2861  	return ""
  2862  }
  2863  
  2864  func (m *MsgDecreasePositionMargin) GetSourceSubaccountId() string {
  2865  	if m != nil {
  2866  		return m.SourceSubaccountId
  2867  	}
  2868  	return ""
  2869  }
  2870  
  2871  func (m *MsgDecreasePositionMargin) GetDestinationSubaccountId() string {
  2872  	if m != nil {
  2873  		return m.DestinationSubaccountId
  2874  	}
  2875  	return ""
  2876  }
  2877  
  2878  func (m *MsgDecreasePositionMargin) GetMarketId() string {
  2879  	if m != nil {
  2880  		return m.MarketId
  2881  	}
  2882  	return ""
  2883  }
  2884  
  2885  // MsgDecreasePositionMarginResponse defines the Msg/MsgDecreasePositionMargin
  2886  // response type.
  2887  type MsgDecreasePositionMarginResponse struct {
  2888  }
  2889  
  2890  func (m *MsgDecreasePositionMarginResponse) Reset()         { *m = MsgDecreasePositionMarginResponse{} }
  2891  func (m *MsgDecreasePositionMarginResponse) String() string { return proto.CompactTextString(m) }
  2892  func (*MsgDecreasePositionMarginResponse) ProtoMessage()    {}
  2893  func (*MsgDecreasePositionMarginResponse) Descriptor() ([]byte, []int) {
  2894  	return fileDescriptor_bd45b74cb6d81462, []int{62}
  2895  }
  2896  func (m *MsgDecreasePositionMarginResponse) XXX_Unmarshal(b []byte) error {
  2897  	return m.Unmarshal(b)
  2898  }
  2899  func (m *MsgDecreasePositionMarginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2900  	if deterministic {
  2901  		return xxx_messageInfo_MsgDecreasePositionMarginResponse.Marshal(b, m, deterministic)
  2902  	} else {
  2903  		b = b[:cap(b)]
  2904  		n, err := m.MarshalToSizedBuffer(b)
  2905  		if err != nil {
  2906  			return nil, err
  2907  		}
  2908  		return b[:n], nil
  2909  	}
  2910  }
  2911  func (m *MsgDecreasePositionMarginResponse) XXX_Merge(src proto.Message) {
  2912  	xxx_messageInfo_MsgDecreasePositionMarginResponse.Merge(m, src)
  2913  }
  2914  func (m *MsgDecreasePositionMarginResponse) XXX_Size() int {
  2915  	return m.Size()
  2916  }
  2917  func (m *MsgDecreasePositionMarginResponse) XXX_DiscardUnknown() {
  2918  	xxx_messageInfo_MsgDecreasePositionMarginResponse.DiscardUnknown(m)
  2919  }
  2920  
  2921  var xxx_messageInfo_MsgDecreasePositionMarginResponse proto.InternalMessageInfo
  2922  
  2923  // MsgPrivilegedExecuteContract defines the Msg/Exec message type
  2924  type MsgPrivilegedExecuteContract struct {
  2925  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  2926  	// funds defines the user's bank coins used to fund the execution (e.g.
  2927  	// 100inj).
  2928  	Funds string `protobuf:"bytes,2,opt,name=funds,proto3" json:"funds,omitempty"`
  2929  	// contract_address defines the contract address to execute
  2930  	ContractAddress string `protobuf:"bytes,3,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
  2931  	// data defines the call data used when executing the contract
  2932  	Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
  2933  }
  2934  
  2935  func (m *MsgPrivilegedExecuteContract) Reset()         { *m = MsgPrivilegedExecuteContract{} }
  2936  func (m *MsgPrivilegedExecuteContract) String() string { return proto.CompactTextString(m) }
  2937  func (*MsgPrivilegedExecuteContract) ProtoMessage()    {}
  2938  func (*MsgPrivilegedExecuteContract) Descriptor() ([]byte, []int) {
  2939  	return fileDescriptor_bd45b74cb6d81462, []int{63}
  2940  }
  2941  func (m *MsgPrivilegedExecuteContract) XXX_Unmarshal(b []byte) error {
  2942  	return m.Unmarshal(b)
  2943  }
  2944  func (m *MsgPrivilegedExecuteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2945  	if deterministic {
  2946  		return xxx_messageInfo_MsgPrivilegedExecuteContract.Marshal(b, m, deterministic)
  2947  	} else {
  2948  		b = b[:cap(b)]
  2949  		n, err := m.MarshalToSizedBuffer(b)
  2950  		if err != nil {
  2951  			return nil, err
  2952  		}
  2953  		return b[:n], nil
  2954  	}
  2955  }
  2956  func (m *MsgPrivilegedExecuteContract) XXX_Merge(src proto.Message) {
  2957  	xxx_messageInfo_MsgPrivilegedExecuteContract.Merge(m, src)
  2958  }
  2959  func (m *MsgPrivilegedExecuteContract) XXX_Size() int {
  2960  	return m.Size()
  2961  }
  2962  func (m *MsgPrivilegedExecuteContract) XXX_DiscardUnknown() {
  2963  	xxx_messageInfo_MsgPrivilegedExecuteContract.DiscardUnknown(m)
  2964  }
  2965  
  2966  var xxx_messageInfo_MsgPrivilegedExecuteContract proto.InternalMessageInfo
  2967  
  2968  // MsgPrivilegedExecuteContractResponse defines the Msg/Exec response type.
  2969  type MsgPrivilegedExecuteContractResponse struct {
  2970  	FundsDiff github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=funds_diff,json=fundsDiff,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds_diff"`
  2971  }
  2972  
  2973  func (m *MsgPrivilegedExecuteContractResponse) Reset()         { *m = MsgPrivilegedExecuteContractResponse{} }
  2974  func (m *MsgPrivilegedExecuteContractResponse) String() string { return proto.CompactTextString(m) }
  2975  func (*MsgPrivilegedExecuteContractResponse) ProtoMessage()    {}
  2976  func (*MsgPrivilegedExecuteContractResponse) Descriptor() ([]byte, []int) {
  2977  	return fileDescriptor_bd45b74cb6d81462, []int{64}
  2978  }
  2979  func (m *MsgPrivilegedExecuteContractResponse) XXX_Unmarshal(b []byte) error {
  2980  	return m.Unmarshal(b)
  2981  }
  2982  func (m *MsgPrivilegedExecuteContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2983  	if deterministic {
  2984  		return xxx_messageInfo_MsgPrivilegedExecuteContractResponse.Marshal(b, m, deterministic)
  2985  	} else {
  2986  		b = b[:cap(b)]
  2987  		n, err := m.MarshalToSizedBuffer(b)
  2988  		if err != nil {
  2989  			return nil, err
  2990  		}
  2991  		return b[:n], nil
  2992  	}
  2993  }
  2994  func (m *MsgPrivilegedExecuteContractResponse) XXX_Merge(src proto.Message) {
  2995  	xxx_messageInfo_MsgPrivilegedExecuteContractResponse.Merge(m, src)
  2996  }
  2997  func (m *MsgPrivilegedExecuteContractResponse) XXX_Size() int {
  2998  	return m.Size()
  2999  }
  3000  func (m *MsgPrivilegedExecuteContractResponse) XXX_DiscardUnknown() {
  3001  	xxx_messageInfo_MsgPrivilegedExecuteContractResponse.DiscardUnknown(m)
  3002  }
  3003  
  3004  var xxx_messageInfo_MsgPrivilegedExecuteContractResponse proto.InternalMessageInfo
  3005  
  3006  // A Cosmos-SDK MsgRewardsOptOut
  3007  type MsgRewardsOptOut struct {
  3008  	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  3009  }
  3010  
  3011  func (m *MsgRewardsOptOut) Reset()         { *m = MsgRewardsOptOut{} }
  3012  func (m *MsgRewardsOptOut) String() string { return proto.CompactTextString(m) }
  3013  func (*MsgRewardsOptOut) ProtoMessage()    {}
  3014  func (*MsgRewardsOptOut) Descriptor() ([]byte, []int) {
  3015  	return fileDescriptor_bd45b74cb6d81462, []int{65}
  3016  }
  3017  func (m *MsgRewardsOptOut) XXX_Unmarshal(b []byte) error {
  3018  	return m.Unmarshal(b)
  3019  }
  3020  func (m *MsgRewardsOptOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3021  	if deterministic {
  3022  		return xxx_messageInfo_MsgRewardsOptOut.Marshal(b, m, deterministic)
  3023  	} else {
  3024  		b = b[:cap(b)]
  3025  		n, err := m.MarshalToSizedBuffer(b)
  3026  		if err != nil {
  3027  			return nil, err
  3028  		}
  3029  		return b[:n], nil
  3030  	}
  3031  }
  3032  func (m *MsgRewardsOptOut) XXX_Merge(src proto.Message) {
  3033  	xxx_messageInfo_MsgRewardsOptOut.Merge(m, src)
  3034  }
  3035  func (m *MsgRewardsOptOut) XXX_Size() int {
  3036  	return m.Size()
  3037  }
  3038  func (m *MsgRewardsOptOut) XXX_DiscardUnknown() {
  3039  	xxx_messageInfo_MsgRewardsOptOut.DiscardUnknown(m)
  3040  }
  3041  
  3042  var xxx_messageInfo_MsgRewardsOptOut proto.InternalMessageInfo
  3043  
  3044  // MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type.
  3045  type MsgRewardsOptOutResponse struct {
  3046  }
  3047  
  3048  func (m *MsgRewardsOptOutResponse) Reset()         { *m = MsgRewardsOptOutResponse{} }
  3049  func (m *MsgRewardsOptOutResponse) String() string { return proto.CompactTextString(m) }
  3050  func (*MsgRewardsOptOutResponse) ProtoMessage()    {}
  3051  func (*MsgRewardsOptOutResponse) Descriptor() ([]byte, []int) {
  3052  	return fileDescriptor_bd45b74cb6d81462, []int{66}
  3053  }
  3054  func (m *MsgRewardsOptOutResponse) XXX_Unmarshal(b []byte) error {
  3055  	return m.Unmarshal(b)
  3056  }
  3057  func (m *MsgRewardsOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3058  	if deterministic {
  3059  		return xxx_messageInfo_MsgRewardsOptOutResponse.Marshal(b, m, deterministic)
  3060  	} else {
  3061  		b = b[:cap(b)]
  3062  		n, err := m.MarshalToSizedBuffer(b)
  3063  		if err != nil {
  3064  			return nil, err
  3065  		}
  3066  		return b[:n], nil
  3067  	}
  3068  }
  3069  func (m *MsgRewardsOptOutResponse) XXX_Merge(src proto.Message) {
  3070  	xxx_messageInfo_MsgRewardsOptOutResponse.Merge(m, src)
  3071  }
  3072  func (m *MsgRewardsOptOutResponse) XXX_Size() int {
  3073  	return m.Size()
  3074  }
  3075  func (m *MsgRewardsOptOutResponse) XXX_DiscardUnknown() {
  3076  	xxx_messageInfo_MsgRewardsOptOutResponse.DiscardUnknown(m)
  3077  }
  3078  
  3079  var xxx_messageInfo_MsgRewardsOptOutResponse proto.InternalMessageInfo
  3080  
  3081  // A Cosmos-SDK MsgReclaimLockedFunds
  3082  type MsgReclaimLockedFunds struct {
  3083  	Sender              string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  3084  	LockedAccountPubKey []byte `protobuf:"bytes,2,opt,name=lockedAccountPubKey,proto3" json:"lockedAccountPubKey,omitempty"`
  3085  	Signature           []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
  3086  }
  3087  
  3088  func (m *MsgReclaimLockedFunds) Reset()         { *m = MsgReclaimLockedFunds{} }
  3089  func (m *MsgReclaimLockedFunds) String() string { return proto.CompactTextString(m) }
  3090  func (*MsgReclaimLockedFunds) ProtoMessage()    {}
  3091  func (*MsgReclaimLockedFunds) Descriptor() ([]byte, []int) {
  3092  	return fileDescriptor_bd45b74cb6d81462, []int{67}
  3093  }
  3094  func (m *MsgReclaimLockedFunds) XXX_Unmarshal(b []byte) error {
  3095  	return m.Unmarshal(b)
  3096  }
  3097  func (m *MsgReclaimLockedFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3098  	if deterministic {
  3099  		return xxx_messageInfo_MsgReclaimLockedFunds.Marshal(b, m, deterministic)
  3100  	} else {
  3101  		b = b[:cap(b)]
  3102  		n, err := m.MarshalToSizedBuffer(b)
  3103  		if err != nil {
  3104  			return nil, err
  3105  		}
  3106  		return b[:n], nil
  3107  	}
  3108  }
  3109  func (m *MsgReclaimLockedFunds) XXX_Merge(src proto.Message) {
  3110  	xxx_messageInfo_MsgReclaimLockedFunds.Merge(m, src)
  3111  }
  3112  func (m *MsgReclaimLockedFunds) XXX_Size() int {
  3113  	return m.Size()
  3114  }
  3115  func (m *MsgReclaimLockedFunds) XXX_DiscardUnknown() {
  3116  	xxx_messageInfo_MsgReclaimLockedFunds.DiscardUnknown(m)
  3117  }
  3118  
  3119  var xxx_messageInfo_MsgReclaimLockedFunds proto.InternalMessageInfo
  3120  
  3121  func (m *MsgReclaimLockedFunds) GetSender() string {
  3122  	if m != nil {
  3123  		return m.Sender
  3124  	}
  3125  	return ""
  3126  }
  3127  
  3128  func (m *MsgReclaimLockedFunds) GetLockedAccountPubKey() []byte {
  3129  	if m != nil {
  3130  		return m.LockedAccountPubKey
  3131  	}
  3132  	return nil
  3133  }
  3134  
  3135  func (m *MsgReclaimLockedFunds) GetSignature() []byte {
  3136  	if m != nil {
  3137  		return m.Signature
  3138  	}
  3139  	return nil
  3140  }
  3141  
  3142  // MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response
  3143  // type.
  3144  type MsgReclaimLockedFundsResponse struct {
  3145  }
  3146  
  3147  func (m *MsgReclaimLockedFundsResponse) Reset()         { *m = MsgReclaimLockedFundsResponse{} }
  3148  func (m *MsgReclaimLockedFundsResponse) String() string { return proto.CompactTextString(m) }
  3149  func (*MsgReclaimLockedFundsResponse) ProtoMessage()    {}
  3150  func (*MsgReclaimLockedFundsResponse) Descriptor() ([]byte, []int) {
  3151  	return fileDescriptor_bd45b74cb6d81462, []int{68}
  3152  }
  3153  func (m *MsgReclaimLockedFundsResponse) XXX_Unmarshal(b []byte) error {
  3154  	return m.Unmarshal(b)
  3155  }
  3156  func (m *MsgReclaimLockedFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3157  	if deterministic {
  3158  		return xxx_messageInfo_MsgReclaimLockedFundsResponse.Marshal(b, m, deterministic)
  3159  	} else {
  3160  		b = b[:cap(b)]
  3161  		n, err := m.MarshalToSizedBuffer(b)
  3162  		if err != nil {
  3163  			return nil, err
  3164  		}
  3165  		return b[:n], nil
  3166  	}
  3167  }
  3168  func (m *MsgReclaimLockedFundsResponse) XXX_Merge(src proto.Message) {
  3169  	xxx_messageInfo_MsgReclaimLockedFundsResponse.Merge(m, src)
  3170  }
  3171  func (m *MsgReclaimLockedFundsResponse) XXX_Size() int {
  3172  	return m.Size()
  3173  }
  3174  func (m *MsgReclaimLockedFundsResponse) XXX_DiscardUnknown() {
  3175  	xxx_messageInfo_MsgReclaimLockedFundsResponse.DiscardUnknown(m)
  3176  }
  3177  
  3178  var xxx_messageInfo_MsgReclaimLockedFundsResponse proto.InternalMessageInfo
  3179  
  3180  // MsgSignData defines an arbitrary, general-purpose, off-chain message
  3181  type MsgSignData struct {
  3182  	// Signer is the sdk.AccAddress of the message signer
  3183  	Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=Signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer"`
  3184  	// Data represents the raw bytes of the content that is signed (text, json,
  3185  	// etc)
  3186  	Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"data"`
  3187  }
  3188  
  3189  func (m *MsgSignData) Reset()         { *m = MsgSignData{} }
  3190  func (m *MsgSignData) String() string { return proto.CompactTextString(m) }
  3191  func (*MsgSignData) ProtoMessage()    {}
  3192  func (*MsgSignData) Descriptor() ([]byte, []int) {
  3193  	return fileDescriptor_bd45b74cb6d81462, []int{69}
  3194  }
  3195  func (m *MsgSignData) XXX_Unmarshal(b []byte) error {
  3196  	return m.Unmarshal(b)
  3197  }
  3198  func (m *MsgSignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3199  	if deterministic {
  3200  		return xxx_messageInfo_MsgSignData.Marshal(b, m, deterministic)
  3201  	} else {
  3202  		b = b[:cap(b)]
  3203  		n, err := m.MarshalToSizedBuffer(b)
  3204  		if err != nil {
  3205  			return nil, err
  3206  		}
  3207  		return b[:n], nil
  3208  	}
  3209  }
  3210  func (m *MsgSignData) XXX_Merge(src proto.Message) {
  3211  	xxx_messageInfo_MsgSignData.Merge(m, src)
  3212  }
  3213  func (m *MsgSignData) XXX_Size() int {
  3214  	return m.Size()
  3215  }
  3216  func (m *MsgSignData) XXX_DiscardUnknown() {
  3217  	xxx_messageInfo_MsgSignData.DiscardUnknown(m)
  3218  }
  3219  
  3220  var xxx_messageInfo_MsgSignData proto.InternalMessageInfo
  3221  
  3222  func (m *MsgSignData) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress {
  3223  	if m != nil {
  3224  		return m.Signer
  3225  	}
  3226  	return nil
  3227  }
  3228  
  3229  func (m *MsgSignData) GetData() []byte {
  3230  	if m != nil {
  3231  		return m.Data
  3232  	}
  3233  	return nil
  3234  }
  3235  
  3236  // MsgSignDoc defines an arbitrary, general-purpose, off-chain message
  3237  type MsgSignDoc struct {
  3238  	SignType string      `protobuf:"bytes,1,opt,name=sign_type,json=signType,proto3" json:"type"`
  3239  	Value    MsgSignData `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
  3240  }
  3241  
  3242  func (m *MsgSignDoc) Reset()         { *m = MsgSignDoc{} }
  3243  func (m *MsgSignDoc) String() string { return proto.CompactTextString(m) }
  3244  func (*MsgSignDoc) ProtoMessage()    {}
  3245  func (*MsgSignDoc) Descriptor() ([]byte, []int) {
  3246  	return fileDescriptor_bd45b74cb6d81462, []int{70}
  3247  }
  3248  func (m *MsgSignDoc) XXX_Unmarshal(b []byte) error {
  3249  	return m.Unmarshal(b)
  3250  }
  3251  func (m *MsgSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3252  	if deterministic {
  3253  		return xxx_messageInfo_MsgSignDoc.Marshal(b, m, deterministic)
  3254  	} else {
  3255  		b = b[:cap(b)]
  3256  		n, err := m.MarshalToSizedBuffer(b)
  3257  		if err != nil {
  3258  			return nil, err
  3259  		}
  3260  		return b[:n], nil
  3261  	}
  3262  }
  3263  func (m *MsgSignDoc) XXX_Merge(src proto.Message) {
  3264  	xxx_messageInfo_MsgSignDoc.Merge(m, src)
  3265  }
  3266  func (m *MsgSignDoc) XXX_Size() int {
  3267  	return m.Size()
  3268  }
  3269  func (m *MsgSignDoc) XXX_DiscardUnknown() {
  3270  	xxx_messageInfo_MsgSignDoc.DiscardUnknown(m)
  3271  }
  3272  
  3273  var xxx_messageInfo_MsgSignDoc proto.InternalMessageInfo
  3274  
  3275  func (m *MsgSignDoc) GetSignType() string {
  3276  	if m != nil {
  3277  		return m.SignType
  3278  	}
  3279  	return ""
  3280  }
  3281  
  3282  func (m *MsgSignDoc) GetValue() MsgSignData {
  3283  	if m != nil {
  3284  		return m.Value
  3285  	}
  3286  	return MsgSignData{}
  3287  }
  3288  
  3289  // MsgAdminUpdateBinaryOptionsMarket is used by the market Admin to operate the
  3290  // market
  3291  type MsgAdminUpdateBinaryOptionsMarket struct {
  3292  	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  3293  	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
  3294  	// new price at which market will be settled
  3295  	SettlementPrice *cosmossdk_io_math.LegacyDec `protobuf:"bytes,3,opt,name=settlement_price,json=settlementPrice,proto3,customtype=cosmossdk.io/math.LegacyDec" json:"settlement_price,omitempty"`
  3296  	// expiration timestamp
  3297  	ExpirationTimestamp int64 `protobuf:"varint,4,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
  3298  	// expiration timestamp
  3299  	SettlementTimestamp int64 `protobuf:"varint,5,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
  3300  	// Status of the market
  3301  	Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
  3302  }
  3303  
  3304  func (m *MsgAdminUpdateBinaryOptionsMarket) Reset()         { *m = MsgAdminUpdateBinaryOptionsMarket{} }
  3305  func (m *MsgAdminUpdateBinaryOptionsMarket) String() string { return proto.CompactTextString(m) }
  3306  func (*MsgAdminUpdateBinaryOptionsMarket) ProtoMessage()    {}
  3307  func (*MsgAdminUpdateBinaryOptionsMarket) Descriptor() ([]byte, []int) {
  3308  	return fileDescriptor_bd45b74cb6d81462, []int{71}
  3309  }
  3310  func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Unmarshal(b []byte) error {
  3311  	return m.Unmarshal(b)
  3312  }
  3313  func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3314  	if deterministic {
  3315  		return xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.Marshal(b, m, deterministic)
  3316  	} else {
  3317  		b = b[:cap(b)]
  3318  		n, err := m.MarshalToSizedBuffer(b)
  3319  		if err != nil {
  3320  			return nil, err
  3321  		}
  3322  		return b[:n], nil
  3323  	}
  3324  }
  3325  func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Merge(src proto.Message) {
  3326  	xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.Merge(m, src)
  3327  }
  3328  func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Size() int {
  3329  	return m.Size()
  3330  }
  3331  func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_DiscardUnknown() {
  3332  	xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.DiscardUnknown(m)
  3333  }
  3334  
  3335  var xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket proto.InternalMessageInfo
  3336  
  3337  func (m *MsgAdminUpdateBinaryOptionsMarket) GetSender() string {
  3338  	if m != nil {
  3339  		return m.Sender
  3340  	}
  3341  	return ""
  3342  }
  3343  
  3344  func (m *MsgAdminUpdateBinaryOptionsMarket) GetMarketId() string {
  3345  	if m != nil {
  3346  		return m.MarketId
  3347  	}
  3348  	return ""
  3349  }
  3350  
  3351  func (m *MsgAdminUpdateBinaryOptionsMarket) GetExpirationTimestamp() int64 {
  3352  	if m != nil {
  3353  		return m.ExpirationTimestamp
  3354  	}
  3355  	return 0
  3356  }
  3357  
  3358  func (m *MsgAdminUpdateBinaryOptionsMarket) GetSettlementTimestamp() int64 {
  3359  	if m != nil {
  3360  		return m.SettlementTimestamp
  3361  	}
  3362  	return 0
  3363  }
  3364  
  3365  func (m *MsgAdminUpdateBinaryOptionsMarket) GetStatus() MarketStatus {
  3366  	if m != nil {
  3367  		return m.Status
  3368  	}
  3369  	return MarketStatus_Unspecified
  3370  }
  3371  
  3372  // MsgAdminUpdateBinaryOptionsMarketResponse is the response for
  3373  // AdminUpdateBinaryOptionsMarket rpc method
  3374  type MsgAdminUpdateBinaryOptionsMarketResponse struct {
  3375  }
  3376  
  3377  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Reset() {
  3378  	*m = MsgAdminUpdateBinaryOptionsMarketResponse{}
  3379  }
  3380  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) String() string {
  3381  	return proto.CompactTextString(m)
  3382  }
  3383  func (*MsgAdminUpdateBinaryOptionsMarketResponse) ProtoMessage() {}
  3384  func (*MsgAdminUpdateBinaryOptionsMarketResponse) Descriptor() ([]byte, []int) {
  3385  	return fileDescriptor_bd45b74cb6d81462, []int{72}
  3386  }
  3387  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Unmarshal(b []byte) error {
  3388  	return m.Unmarshal(b)
  3389  }
  3390  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3391  	if deterministic {
  3392  		return xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.Marshal(b, m, deterministic)
  3393  	} else {
  3394  		b = b[:cap(b)]
  3395  		n, err := m.MarshalToSizedBuffer(b)
  3396  		if err != nil {
  3397  			return nil, err
  3398  		}
  3399  		return b[:n], nil
  3400  	}
  3401  }
  3402  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Merge(src proto.Message) {
  3403  	xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.Merge(m, src)
  3404  }
  3405  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Size() int {
  3406  	return m.Size()
  3407  }
  3408  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_DiscardUnknown() {
  3409  	xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.DiscardUnknown(m)
  3410  }
  3411  
  3412  var xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse proto.InternalMessageInfo
  3413  
  3414  // MsgAuthorizeStakeGrants grants stakes to grantees.
  3415  type MsgAuthorizeStakeGrants struct {
  3416  	Sender string                `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  3417  	Grants []*GrantAuthorization `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants,omitempty"`
  3418  }
  3419  
  3420  func (m *MsgAuthorizeStakeGrants) Reset()         { *m = MsgAuthorizeStakeGrants{} }
  3421  func (m *MsgAuthorizeStakeGrants) String() string { return proto.CompactTextString(m) }
  3422  func (*MsgAuthorizeStakeGrants) ProtoMessage()    {}
  3423  func (*MsgAuthorizeStakeGrants) Descriptor() ([]byte, []int) {
  3424  	return fileDescriptor_bd45b74cb6d81462, []int{73}
  3425  }
  3426  func (m *MsgAuthorizeStakeGrants) XXX_Unmarshal(b []byte) error {
  3427  	return m.Unmarshal(b)
  3428  }
  3429  func (m *MsgAuthorizeStakeGrants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3430  	if deterministic {
  3431  		return xxx_messageInfo_MsgAuthorizeStakeGrants.Marshal(b, m, deterministic)
  3432  	} else {
  3433  		b = b[:cap(b)]
  3434  		n, err := m.MarshalToSizedBuffer(b)
  3435  		if err != nil {
  3436  			return nil, err
  3437  		}
  3438  		return b[:n], nil
  3439  	}
  3440  }
  3441  func (m *MsgAuthorizeStakeGrants) XXX_Merge(src proto.Message) {
  3442  	xxx_messageInfo_MsgAuthorizeStakeGrants.Merge(m, src)
  3443  }
  3444  func (m *MsgAuthorizeStakeGrants) XXX_Size() int {
  3445  	return m.Size()
  3446  }
  3447  func (m *MsgAuthorizeStakeGrants) XXX_DiscardUnknown() {
  3448  	xxx_messageInfo_MsgAuthorizeStakeGrants.DiscardUnknown(m)
  3449  }
  3450  
  3451  var xxx_messageInfo_MsgAuthorizeStakeGrants proto.InternalMessageInfo
  3452  
  3453  func (m *MsgAuthorizeStakeGrants) GetSender() string {
  3454  	if m != nil {
  3455  		return m.Sender
  3456  	}
  3457  	return ""
  3458  }
  3459  
  3460  func (m *MsgAuthorizeStakeGrants) GetGrants() []*GrantAuthorization {
  3461  	if m != nil {
  3462  		return m.Grants
  3463  	}
  3464  	return nil
  3465  }
  3466  
  3467  type MsgAuthorizeStakeGrantsResponse struct {
  3468  }
  3469  
  3470  func (m *MsgAuthorizeStakeGrantsResponse) Reset()         { *m = MsgAuthorizeStakeGrantsResponse{} }
  3471  func (m *MsgAuthorizeStakeGrantsResponse) String() string { return proto.CompactTextString(m) }
  3472  func (*MsgAuthorizeStakeGrantsResponse) ProtoMessage()    {}
  3473  func (*MsgAuthorizeStakeGrantsResponse) Descriptor() ([]byte, []int) {
  3474  	return fileDescriptor_bd45b74cb6d81462, []int{74}
  3475  }
  3476  func (m *MsgAuthorizeStakeGrantsResponse) XXX_Unmarshal(b []byte) error {
  3477  	return m.Unmarshal(b)
  3478  }
  3479  func (m *MsgAuthorizeStakeGrantsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3480  	if deterministic {
  3481  		return xxx_messageInfo_MsgAuthorizeStakeGrantsResponse.Marshal(b, m, deterministic)
  3482  	} else {
  3483  		b = b[:cap(b)]
  3484  		n, err := m.MarshalToSizedBuffer(b)
  3485  		if err != nil {
  3486  			return nil, err
  3487  		}
  3488  		return b[:n], nil
  3489  	}
  3490  }
  3491  func (m *MsgAuthorizeStakeGrantsResponse) XXX_Merge(src proto.Message) {
  3492  	xxx_messageInfo_MsgAuthorizeStakeGrantsResponse.Merge(m, src)
  3493  }
  3494  func (m *MsgAuthorizeStakeGrantsResponse) XXX_Size() int {
  3495  	return m.Size()
  3496  }
  3497  func (m *MsgAuthorizeStakeGrantsResponse) XXX_DiscardUnknown() {
  3498  	xxx_messageInfo_MsgAuthorizeStakeGrantsResponse.DiscardUnknown(m)
  3499  }
  3500  
  3501  var xxx_messageInfo_MsgAuthorizeStakeGrantsResponse proto.InternalMessageInfo
  3502  
  3503  // MsgActivateStakeGrant allows a grantee to activate a stake grant.
  3504  type MsgActivateStakeGrant struct {
  3505  	Sender  string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
  3506  	Granter string `protobuf:"bytes,2,opt,name=granter,proto3" json:"granter,omitempty"`
  3507  }
  3508  
  3509  func (m *MsgActivateStakeGrant) Reset()         { *m = MsgActivateStakeGrant{} }
  3510  func (m *MsgActivateStakeGrant) String() string { return proto.CompactTextString(m) }
  3511  func (*MsgActivateStakeGrant) ProtoMessage()    {}
  3512  func (*MsgActivateStakeGrant) Descriptor() ([]byte, []int) {
  3513  	return fileDescriptor_bd45b74cb6d81462, []int{75}
  3514  }
  3515  func (m *MsgActivateStakeGrant) XXX_Unmarshal(b []byte) error {
  3516  	return m.Unmarshal(b)
  3517  }
  3518  func (m *MsgActivateStakeGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3519  	if deterministic {
  3520  		return xxx_messageInfo_MsgActivateStakeGrant.Marshal(b, m, deterministic)
  3521  	} else {
  3522  		b = b[:cap(b)]
  3523  		n, err := m.MarshalToSizedBuffer(b)
  3524  		if err != nil {
  3525  			return nil, err
  3526  		}
  3527  		return b[:n], nil
  3528  	}
  3529  }
  3530  func (m *MsgActivateStakeGrant) XXX_Merge(src proto.Message) {
  3531  	xxx_messageInfo_MsgActivateStakeGrant.Merge(m, src)
  3532  }
  3533  func (m *MsgActivateStakeGrant) XXX_Size() int {
  3534  	return m.Size()
  3535  }
  3536  func (m *MsgActivateStakeGrant) XXX_DiscardUnknown() {
  3537  	xxx_messageInfo_MsgActivateStakeGrant.DiscardUnknown(m)
  3538  }
  3539  
  3540  var xxx_messageInfo_MsgActivateStakeGrant proto.InternalMessageInfo
  3541  
  3542  func (m *MsgActivateStakeGrant) GetSender() string {
  3543  	if m != nil {
  3544  		return m.Sender
  3545  	}
  3546  	return ""
  3547  }
  3548  
  3549  func (m *MsgActivateStakeGrant) GetGranter() string {
  3550  	if m != nil {
  3551  		return m.Granter
  3552  	}
  3553  	return ""
  3554  }
  3555  
  3556  type MsgActivateStakeGrantResponse struct {
  3557  }
  3558  
  3559  func (m *MsgActivateStakeGrantResponse) Reset()         { *m = MsgActivateStakeGrantResponse{} }
  3560  func (m *MsgActivateStakeGrantResponse) String() string { return proto.CompactTextString(m) }
  3561  func (*MsgActivateStakeGrantResponse) ProtoMessage()    {}
  3562  func (*MsgActivateStakeGrantResponse) Descriptor() ([]byte, []int) {
  3563  	return fileDescriptor_bd45b74cb6d81462, []int{76}
  3564  }
  3565  func (m *MsgActivateStakeGrantResponse) XXX_Unmarshal(b []byte) error {
  3566  	return m.Unmarshal(b)
  3567  }
  3568  func (m *MsgActivateStakeGrantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3569  	if deterministic {
  3570  		return xxx_messageInfo_MsgActivateStakeGrantResponse.Marshal(b, m, deterministic)
  3571  	} else {
  3572  		b = b[:cap(b)]
  3573  		n, err := m.MarshalToSizedBuffer(b)
  3574  		if err != nil {
  3575  			return nil, err
  3576  		}
  3577  		return b[:n], nil
  3578  	}
  3579  }
  3580  func (m *MsgActivateStakeGrantResponse) XXX_Merge(src proto.Message) {
  3581  	xxx_messageInfo_MsgActivateStakeGrantResponse.Merge(m, src)
  3582  }
  3583  func (m *MsgActivateStakeGrantResponse) XXX_Size() int {
  3584  	return m.Size()
  3585  }
  3586  func (m *MsgActivateStakeGrantResponse) XXX_DiscardUnknown() {
  3587  	xxx_messageInfo_MsgActivateStakeGrantResponse.DiscardUnknown(m)
  3588  }
  3589  
  3590  var xxx_messageInfo_MsgActivateStakeGrantResponse proto.InternalMessageInfo
  3591  
  3592  func init() {
  3593  	proto.RegisterType((*MsgUpdateSpotMarket)(nil), "injective.exchange.v1beta1.MsgUpdateSpotMarket")
  3594  	proto.RegisterType((*MsgUpdateSpotMarketResponse)(nil), "injective.exchange.v1beta1.MsgUpdateSpotMarketResponse")
  3595  	proto.RegisterType((*MsgUpdateDerivativeMarket)(nil), "injective.exchange.v1beta1.MsgUpdateDerivativeMarket")
  3596  	proto.RegisterType((*MsgUpdateDerivativeMarketResponse)(nil), "injective.exchange.v1beta1.MsgUpdateDerivativeMarketResponse")
  3597  	proto.RegisterType((*MsgUpdateParams)(nil), "injective.exchange.v1beta1.MsgUpdateParams")
  3598  	proto.RegisterType((*MsgUpdateParamsResponse)(nil), "injective.exchange.v1beta1.MsgUpdateParamsResponse")
  3599  	proto.RegisterType((*MsgDeposit)(nil), "injective.exchange.v1beta1.MsgDeposit")
  3600  	proto.RegisterType((*MsgDepositResponse)(nil), "injective.exchange.v1beta1.MsgDepositResponse")
  3601  	proto.RegisterType((*MsgWithdraw)(nil), "injective.exchange.v1beta1.MsgWithdraw")
  3602  	proto.RegisterType((*MsgWithdrawResponse)(nil), "injective.exchange.v1beta1.MsgWithdrawResponse")
  3603  	proto.RegisterType((*MsgCreateSpotLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateSpotLimitOrder")
  3604  	proto.RegisterType((*MsgCreateSpotLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse")
  3605  	proto.RegisterType((*MsgBatchCreateSpotLimitOrders)(nil), "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders")
  3606  	proto.RegisterType((*MsgBatchCreateSpotLimitOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse")
  3607  	proto.RegisterType((*MsgInstantSpotMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantSpotMarketLaunch")
  3608  	proto.RegisterType((*MsgInstantSpotMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse")
  3609  	proto.RegisterType((*MsgInstantPerpetualMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch")
  3610  	proto.RegisterType((*MsgInstantPerpetualMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse")
  3611  	proto.RegisterType((*MsgInstantBinaryOptionsMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch")
  3612  	proto.RegisterType((*MsgInstantBinaryOptionsMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse")
  3613  	proto.RegisterType((*MsgInstantExpiryFuturesMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch")
  3614  	proto.RegisterType((*MsgInstantExpiryFuturesMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse")
  3615  	proto.RegisterType((*MsgCreateSpotMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateSpotMarketOrder")
  3616  	proto.RegisterType((*MsgCreateSpotMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse")
  3617  	proto.RegisterType((*SpotMarketOrderResults)(nil), "injective.exchange.v1beta1.SpotMarketOrderResults")
  3618  	proto.RegisterType((*MsgCreateDerivativeLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder")
  3619  	proto.RegisterType((*MsgCreateDerivativeLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse")
  3620  	proto.RegisterType((*MsgCreateBinaryOptionsLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder")
  3621  	proto.RegisterType((*MsgCreateBinaryOptionsLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse")
  3622  	proto.RegisterType((*MsgBatchCreateDerivativeLimitOrders)(nil), "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders")
  3623  	proto.RegisterType((*MsgBatchCreateDerivativeLimitOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse")
  3624  	proto.RegisterType((*MsgCancelSpotOrder)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrder")
  3625  	proto.RegisterType((*MsgCancelSpotOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrderResponse")
  3626  	proto.RegisterType((*MsgBatchCancelSpotOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrders")
  3627  	proto.RegisterType((*MsgBatchCancelSpotOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse")
  3628  	proto.RegisterType((*MsgBatchCancelBinaryOptionsOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders")
  3629  	proto.RegisterType((*MsgBatchCancelBinaryOptionsOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse")
  3630  	proto.RegisterType((*MsgBatchUpdateOrders)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrders")
  3631  	proto.RegisterType((*MsgBatchUpdateOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse")
  3632  	proto.RegisterType((*MsgCreateDerivativeMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder")
  3633  	proto.RegisterType((*MsgCreateDerivativeMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse")
  3634  	proto.RegisterType((*DerivativeMarketOrderResults)(nil), "injective.exchange.v1beta1.DerivativeMarketOrderResults")
  3635  	proto.RegisterType((*MsgCreateBinaryOptionsMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder")
  3636  	proto.RegisterType((*MsgCreateBinaryOptionsMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse")
  3637  	proto.RegisterType((*MsgCancelDerivativeOrder)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrder")
  3638  	proto.RegisterType((*MsgCancelDerivativeOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse")
  3639  	proto.RegisterType((*MsgCancelBinaryOptionsOrder)(nil), "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder")
  3640  	proto.RegisterType((*MsgCancelBinaryOptionsOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse")
  3641  	proto.RegisterType((*OrderData)(nil), "injective.exchange.v1beta1.OrderData")
  3642  	proto.RegisterType((*MsgBatchCancelDerivativeOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders")
  3643  	proto.RegisterType((*MsgBatchCancelDerivativeOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse")
  3644  	proto.RegisterType((*MsgSubaccountTransfer)(nil), "injective.exchange.v1beta1.MsgSubaccountTransfer")
  3645  	proto.RegisterType((*MsgSubaccountTransferResponse)(nil), "injective.exchange.v1beta1.MsgSubaccountTransferResponse")
  3646  	proto.RegisterType((*MsgExternalTransfer)(nil), "injective.exchange.v1beta1.MsgExternalTransfer")
  3647  	proto.RegisterType((*MsgExternalTransferResponse)(nil), "injective.exchange.v1beta1.MsgExternalTransferResponse")
  3648  	proto.RegisterType((*MsgLiquidatePosition)(nil), "injective.exchange.v1beta1.MsgLiquidatePosition")
  3649  	proto.RegisterType((*MsgLiquidatePositionResponse)(nil), "injective.exchange.v1beta1.MsgLiquidatePositionResponse")
  3650  	proto.RegisterType((*MsgEmergencySettleMarket)(nil), "injective.exchange.v1beta1.MsgEmergencySettleMarket")
  3651  	proto.RegisterType((*MsgEmergencySettleMarketResponse)(nil), "injective.exchange.v1beta1.MsgEmergencySettleMarketResponse")
  3652  	proto.RegisterType((*MsgIncreasePositionMargin)(nil), "injective.exchange.v1beta1.MsgIncreasePositionMargin")
  3653  	proto.RegisterType((*MsgIncreasePositionMarginResponse)(nil), "injective.exchange.v1beta1.MsgIncreasePositionMarginResponse")
  3654  	proto.RegisterType((*MsgDecreasePositionMargin)(nil), "injective.exchange.v1beta1.MsgDecreasePositionMargin")
  3655  	proto.RegisterType((*MsgDecreasePositionMarginResponse)(nil), "injective.exchange.v1beta1.MsgDecreasePositionMarginResponse")
  3656  	proto.RegisterType((*MsgPrivilegedExecuteContract)(nil), "injective.exchange.v1beta1.MsgPrivilegedExecuteContract")
  3657  	proto.RegisterType((*MsgPrivilegedExecuteContractResponse)(nil), "injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse")
  3658  	proto.RegisterType((*MsgRewardsOptOut)(nil), "injective.exchange.v1beta1.MsgRewardsOptOut")
  3659  	proto.RegisterType((*MsgRewardsOptOutResponse)(nil), "injective.exchange.v1beta1.MsgRewardsOptOutResponse")
  3660  	proto.RegisterType((*MsgReclaimLockedFunds)(nil), "injective.exchange.v1beta1.MsgReclaimLockedFunds")
  3661  	proto.RegisterType((*MsgReclaimLockedFundsResponse)(nil), "injective.exchange.v1beta1.MsgReclaimLockedFundsResponse")
  3662  	proto.RegisterType((*MsgSignData)(nil), "injective.exchange.v1beta1.MsgSignData")
  3663  	proto.RegisterType((*MsgSignDoc)(nil), "injective.exchange.v1beta1.MsgSignDoc")
  3664  	proto.RegisterType((*MsgAdminUpdateBinaryOptionsMarket)(nil), "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket")
  3665  	proto.RegisterType((*MsgAdminUpdateBinaryOptionsMarketResponse)(nil), "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse")
  3666  	proto.RegisterType((*MsgAuthorizeStakeGrants)(nil), "injective.exchange.v1beta1.MsgAuthorizeStakeGrants")
  3667  	proto.RegisterType((*MsgAuthorizeStakeGrantsResponse)(nil), "injective.exchange.v1beta1.MsgAuthorizeStakeGrantsResponse")
  3668  	proto.RegisterType((*MsgActivateStakeGrant)(nil), "injective.exchange.v1beta1.MsgActivateStakeGrant")
  3669  	proto.RegisterType((*MsgActivateStakeGrantResponse)(nil), "injective.exchange.v1beta1.MsgActivateStakeGrantResponse")
  3670  }
  3671  
  3672  func init() {
  3673  	proto.RegisterFile("injective/exchange/v1beta1/tx.proto", fileDescriptor_bd45b74cb6d81462)
  3674  }
  3675  
  3676  var fileDescriptor_bd45b74cb6d81462 = []byte{
  3677  	// 3942 bytes of a gzipped FileDescriptorProto
  3678  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3c, 0x4b, 0x6c, 0x1c, 0xc7,
  3679  	0x95, 0x6a, 0x0e, 0x39, 0x24, 0x1f, 0x29, 0x89, 0x6a, 0x52, 0xe2, 0x70, 0xf8, 0x93, 0x9a, 0x92,
  3680  	0xf5, 0x27, 0xf5, 0xff, 0x8c, 0x56, 0x96, 0xf8, 0x91, 0x6c, 0xae, 0x45, 0x4b, 0x1e, 0xca, 0xbb,
  3681  	0xde, 0x85, 0xbd, 0x83, 0x66, 0x4f, 0x71, 0xd8, 0xe6, 0x4c, 0xf7, 0xa8, 0xbb, 0x47, 0x12, 0x8d,
  3682  	0x05, 0xd6, 0xeb, 0xc3, 0x42, 0xfb, 0xc1, 0x62, 0x17, 0x58, 0x60, 0x81, 0x05, 0x0c, 0x18, 0x58,
  3683  	0x20, 0x06, 0x9c, 0x20, 0x91, 0x83, 0x20, 0xf0, 0x21, 0x3f, 0x04, 0x39, 0x18, 0x3e, 0x29, 0x01,
  3684  	0x02, 0x04, 0x39, 0x28, 0x81, 0x7d, 0xb0, 0xe1, 0x53, 0x90, 0x4b, 0x80, 0xe4, 0x12, 0x74, 0x55,
  3685  	0x75, 0x4d, 0x7f, 0xaa, 0xba, 0x7b, 0x46, 0xa4, 0x2d, 0x07, 0xbe, 0x48, 0xec, 0xaa, 0xf7, 0x5e,
  3686  	0xbd, 0xf7, 0xea, 0x7d, 0xaa, 0x5e, 0x55, 0x0d, 0x4c, 0xe9, 0xc6, 0xeb, 0x48, 0x73, 0xf4, 0xbb,
  3687  	0x68, 0x06, 0xdd, 0xd7, 0xd6, 0x54, 0xa3, 0x82, 0x66, 0xee, 0x9e, 0x5c, 0x41, 0x8e, 0x7a, 0x72,
  3688  	0xc6, 0xb9, 0x3f, 0x5d, 0xb7, 0x4c, 0xc7, 0x94, 0xf3, 0x0c, 0x68, 0xda, 0x03, 0x9a, 0xa6, 0x40,
  3689  	0xf9, 0x09, 0xcd, 0xb4, 0x6b, 0xa6, 0x3d, 0xb3, 0xa2, 0xda, 0x4d, 0x4c, 0xcd, 0xd4, 0x0d, 0x82,
  3690  	0x9b, 0x9f, 0xa6, 0xfd, 0x65, 0xdd, 0x76, 0x2c, 0x7d, 0xa5, 0xe1, 0xe8, 0xa6, 0xc1, 0xe0, 0xfc,
  3691  	0x8d, 0x14, 0x7e, 0x98, 0xc2, 0xd7, 0xec, 0xca, 0xcc, 0xdd, 0x93, 0xee, 0x7f, 0xb4, 0x63, 0x84,
  3692  	0x74, 0x94, 0xf0, 0xd7, 0x0c, 0xf9, 0xa0, 0x5d, 0x43, 0x15, 0xb3, 0x62, 0x92, 0x76, 0xf7, 0x2f,
  3693  	0xda, 0x7a, 0x38, 0x46, 0x34, 0x26, 0x06, 0x01, 0x3d, 0xd0, 0x04, 0x35, 0x2d, 0x55, 0xab, 0x36,
  3694  	0x01, 0xc9, 0x27, 0x05, 0xdb, 0xa5, 0xd6, 0x74, 0xc3, 0x9c, 0xc1, 0xff, 0x92, 0x26, 0xe5, 0xdd,
  3695  	0x0c, 0x0c, 0x2e, 0xd9, 0x95, 0x97, 0xeb, 0x65, 0xd5, 0x41, 0xcb, 0x75, 0xd3, 0x59, 0x52, 0xad,
  3696  	0x75, 0xe4, 0xc8, 0x43, 0xd0, 0xa5, 0x96, 0x6b, 0xba, 0x91, 0x93, 0xf6, 0x4a, 0x87, 0x7a, 0x8b,
  3697  	0xe4, 0x43, 0x1e, 0x85, 0xde, 0x1a, 0xee, 0x2f, 0xe9, 0xe5, 0x5c, 0x07, 0xee, 0xe9, 0x21, 0x0d,
  3698  	0x8b, 0x65, 0x79, 0x1c, 0xc0, 0x40, 0xf7, 0x4a, 0x8e, 0xae, 0xad, 0x23, 0x2b, 0x97, 0xc1, 0xbd,
  3699  	0xbd, 0x06, 0xba, 0x77, 0x1b, 0x37, 0xc8, 0x7f, 0x07, 0xc3, 0x6e, 0x77, 0x4d, 0x37, 0x4a, 0x75,
  3700  	0x4b, 0xd7, 0x10, 0x06, 0x2c, 0xd9, 0xfa, 0x1b, 0x28, 0xd7, 0xe9, 0xc2, 0xce, 0x4d, 0x7d, 0xf8,
  3701  	0x78, 0x72, 0xdb, 0xaf, 0x1f, 0x4f, 0x8e, 0x12, 0xdd, 0xd8, 0xe5, 0xf5, 0x69, 0xdd, 0x9c, 0xa9,
  3702  	0xa9, 0xce, 0xda, 0xf4, 0x0d, 0x54, 0x51, 0xb5, 0x8d, 0x05, 0xa4, 0x15, 0x07, 0x0d, 0x74, 0x6f,
  3703  	0x49, 0x37, 0x6e, 0xb9, 0x14, 0x5c, 0xc2, 0xcb, 0xfa, 0x1b, 0x48, 0x2e, 0x41, 0xde, 0x23, 0x7d,
  3704  	0xa7, 0xa1, 0x1a, 0x8e, 0xee, 0x6c, 0xf8, 0xa8, 0x77, 0xa5, 0xa7, 0xbe, 0x87, 0x50, 0x7f, 0x89,
  3705  	0x12, 0x61, 0x03, 0x2c, 0xc1, 0x80, 0x37, 0x80, 0x61, 0xba, 0x93, 0xad, 0x56, 0x73, 0xd9, 0xf4,
  3706  	0x64, 0x77, 0x10, 0xb2, 0x2f, 0x52, 0xd4, 0xc2, 0xe9, 0x07, 0xef, 0x4c, 0x6e, 0xfb, 0xec, 0x9d,
  3707  	0xc9, 0x6d, 0x6f, 0x7d, 0xfa, 0xf0, 0x08, 0x51, 0xed, 0xbf, 0x7d, 0xfa, 0xf0, 0xc8, 0x18, 0x9b,
  3708  	0x66, 0xce, 0x8c, 0x28, 0xe3, 0x30, 0xca, 0x69, 0x2e, 0x22, 0xbb, 0x6e, 0x1a, 0x36, 0x52, 0xfe,
  3709  	0xd0, 0x09, 0x23, 0xac, 0x7f, 0x01, 0x59, 0xfa, 0x5d, 0xd5, 0xb5, 0x87, 0xaf, 0xa7, 0x73, 0xcb,
  3710  	0xa7, 0x53, 0x7e, 0x15, 0x72, 0x2e, 0x39, 0xdd, 0xd0, 0x1d, 0x5d, 0xad, 0x96, 0x6a, 0xaa, 0x55,
  3711  	0xd1, 0x8d, 0x92, 0xa5, 0x3a, 0xba, 0x99, 0xeb, 0x4e, 0x4f, 0x76, 0xb7, 0x81, 0xee, 0x2d, 0x12,
  3712  	0x1a, 0x4b, 0x98, 0x44, 0xd1, 0xa5, 0x20, 0x97, 0x61, 0x0c, 0x33, 0xab, 0xea, 0x86, 0x83, 0x0c,
  3713  	0xd5, 0xd0, 0x50, 0x70, 0x84, 0x9e, 0xf4, 0x23, 0x8c, 0xb8, 0x8c, 0x37, 0xe9, 0xf8, 0x46, 0x29,
  3714  	0x5c, 0xe4, 0x9b, 0xa4, 0x12, 0x35, 0xc9, 0xb0, 0x6d, 0x29, 0x53, 0xb0, 0x4f, 0xd8, 0xc9, 0xcc,
  3715  	0xf3, 0x03, 0x09, 0x76, 0x32, 0xa8, 0x5b, 0xaa, 0xa5, 0xd6, 0x6c, 0xf9, 0x1c, 0xf4, 0xaa, 0x0d,
  3716  	0x67, 0xcd, 0xb4, 0x74, 0x67, 0x83, 0x18, 0xe6, 0x5c, 0xee, 0x17, 0xdf, 0x3b, 0x3e, 0x44, 0x63,
  3717  	0xe3, 0x6c, 0xb9, 0x6c, 0x21, 0xdb, 0x5e, 0x76, 0x2c, 0xdd, 0xa8, 0x14, 0x9b, 0xa0, 0xf2, 0x55,
  3718  	0xc8, 0xd6, 0x31, 0x05, 0x6c, 0xb3, 0x7d, 0xa7, 0x94, 0x69, 0x71, 0x7c, 0x9f, 0x26, 0x63, 0xcd,
  3719  	0x75, 0xba, 0xfa, 0x29, 0x52, 0xbc, 0xc2, 0x51, 0x57, 0xca, 0x26, 0x45, 0x57, 0xd2, 0x5c, 0x54,
  3720  	0x52, 0x82, 0xaa, 0x8c, 0xc0, 0x70, 0xa8, 0x89, 0x49, 0xf5, 0x1d, 0x09, 0x60, 0xc9, 0xae, 0x2c,
  3721  	0xa0, 0xba, 0x69, 0xeb, 0x8e, 0xbc, 0x07, 0xb2, 0x36, 0x32, 0xca, 0xc8, 0xa2, 0x6e, 0x46, 0xbf,
  3722  	0xe4, 0x29, 0xd8, 0x6e, 0x37, 0x56, 0x54, 0x4d, 0x33, 0x1b, 0x86, 0xcf, 0xd7, 0xfa, 0x9b, 0x8d,
  3723  	0x8b, 0x65, 0xf9, 0x3c, 0x64, 0xd5, 0x9a, 0xfb, 0x37, 0xf6, 0xb5, 0xbe, 0x53, 0x23, 0x34, 0xf3,
  3724  	0x4c, 0xbb, 0x99, 0x89, 0x89, 0x33, 0x6f, 0xea, 0x86, 0x27, 0x0c, 0x01, 0x2f, 0x1c, 0xf5, 0x4f,
  3725  	0x1d, 0x1d, 0xd2, 0x95, 0x68, 0xd0, 0x2f, 0x11, 0x65, 0x51, 0x19, 0x02, 0xb9, 0xf9, 0xc5, 0xe4,
  3726  	0x78, 0x5f, 0x82, 0xbe, 0x25, 0xbb, 0xf2, 0xb7, 0xba, 0xb3, 0x56, 0xb6, 0xd4, 0x7b, 0x5f, 0x92,
  3727  	0x20, 0xc7, 0x04, 0x82, 0x0c, 0xf9, 0x05, 0xf1, 0x78, 0x54, 0x76, 0xe3, 0xc4, 0xe5, 0x7d, 0x32,
  3728  	0x51, 0xbe, 0x2d, 0xe1, 0xe9, 0x9a, 0xb7, 0x10, 0x8d, 0x93, 0x37, 0xf4, 0x9a, 0xee, 0xdc, 0xb4,
  3729  	0x5c, 0xf6, 0x45, 0x62, 0xcd, 0x42, 0x97, 0xe9, 0x02, 0x50, 0x7b, 0x3a, 0x10, 0x67, 0x4f, 0x2e,
  3730  	0x49, 0x4c, 0x8d, 0x32, 0x4f, 0x30, 0x0b, 0x17, 0x04, 0xbc, 0xef, 0xf5, 0xf3, 0xce, 0x63, 0x4a,
  3731  	0x79, 0x15, 0x26, 0x05, 0x5d, 0x9e, 0x4c, 0x6e, 0x28, 0xc6, 0xa3, 0x94, 0xd6, 0x54, 0x7b, 0x8d,
  3732  	0xf2, 0xde, 0x8b, 0x5b, 0x9e, 0x57, 0xed, 0x35, 0x79, 0x00, 0x32, 0x1a, 0x9b, 0x0b, 0xf7, 0xcf,
  3733  	0x42, 0x8f, 0xc7, 0x8d, 0xf2, 0x03, 0x09, 0xc6, 0x97, 0xec, 0xca, 0x9c, 0xea, 0x68, 0x6b, 0xbc,
  3734  	0x31, 0x6c, 0xa1, 0x52, 0xe6, 0x21, 0x8b, 0x87, 0x70, 0xbd, 0x2c, 0xd3, 0xaa, 0x56, 0x28, 0x6a,
  3735  	0xe1, 0x59, 0x81, 0x5a, 0x9e, 0xf1, 0xab, 0x45, 0xcc, 0x9c, 0xf2, 0x5d, 0x09, 0x0e, 0xc4, 0x42,
  3736  	0x30, 0x1d, 0xed, 0x83, 0xfe, 0xa6, 0x8e, 0x90, 0x9d, 0x93, 0xf6, 0x66, 0x0e, 0xf5, 0x16, 0xfb,
  3737  	0x98, 0x96, 0x90, 0x2d, 0x4f, 0xc3, 0xa0, 0x86, 0x69, 0x94, 0x4b, 0x84, 0xbd, 0x92, 0xa6, 0x97,
  3738  	0x89, 0x78, 0xbd, 0xc5, 0x5d, 0xb4, 0x8b, 0x90, 0x9d, 0xd7, 0xcb, 0xb6, 0x7c, 0x0c, 0xe4, 0x55,
  3739  	0x55, 0xaf, 0x86, 0xc0, 0x33, 0x18, 0x7c, 0x80, 0xf4, 0x34, 0xa1, 0x7d, 0x3a, 0xff, 0x71, 0x06,
  3740  	0xf2, 0x4b, 0x76, 0x65, 0xd1, 0xb0, 0x1d, 0xd5, 0x70, 0x9a, 0xb9, 0xfa, 0x86, 0xda, 0x30, 0xb4,
  3741  	0x35, 0xa1, 0xc2, 0xf7, 0x40, 0x96, 0x26, 0x5b, 0x32, 0x93, 0xf4, 0xcb, 0x9d, 0x7d, 0xd7, 0x73,
  3742  	0x4a, 0x65, 0x64, 0x98, 0x35, 0x2f, 0x11, 0xbb, 0x2d, 0x0b, 0x6e, 0x83, 0x3c, 0x09, 0x7d, 0x77,
  3743  	0x1a, 0xa6, 0xe3, 0xf5, 0xe3, 0xe4, 0x5b, 0x04, 0xdc, 0x44, 0x00, 0x8a, 0x30, 0xc8, 0xcb, 0xd2,
  3744  	0x2d, 0xe4, 0xd1, 0x81, 0x5a, 0x38, 0x45, 0xbf, 0x02, 0x7b, 0x04, 0xe9, 0xb9, 0x85, 0x3c, 0xea,
  3745  	0xb2, 0x15, 0xc9, 0xcd, 0xd7, 0xa1, 0x3f, 0x90, 0x97, 0x5b, 0x48, 0xa0, 0x7d, 0x35, 0xdf, 0x1a,
  3746  	0xeb, 0x92, 0xc0, 0xf2, 0xa6, 0xfc, 0x96, 0x27, 0x98, 0x22, 0x65, 0x3f, 0x28, 0xe2, 0xde, 0x66,
  3747  	0xd4, 0xec, 0xc6, 0xae, 0x4b, 0xc1, 0x6e, 0x21, 0xab, 0x8e, 0x9c, 0x06, 0x4e, 0xde, 0xed, 0x4f,
  3748  	0x76, 0x68, 0x36, 0x33, 0x91, 0xd9, 0x9c, 0x84, 0x3e, 0xb2, 0xa6, 0x2f, 0xb9, 0x26, 0xe0, 0x4d,
  3749  	0x37, 0x69, 0x9a, 0x53, 0x3d, 0x47, 0xc0, 0x00, 0x18, 0x8b, 0xcc, 0x73, 0x91, 0x22, 0xbd, 0xe4,
  3750  	0x36, 0xb9, 0x8e, 0x40, 0x41, 0x6c, 0x4d, 0xad, 0xa2, 0xd2, 0xaa, 0xaa, 0x39, 0xa6, 0x85, 0xa7,
  3751  	0x6e, 0x7b, 0x71, 0x17, 0xe9, 0x5a, 0x76, 0x7b, 0xae, 0xe3, 0x0e, 0xf9, 0x1a, 0x1b, 0xd3, 0xd9,
  3752  	0xa8, 0x23, 0x3c, 0x25, 0x3b, 0x4e, 0xed, 0xf7, 0xc5, 0x03, 0xba, 0xcb, 0xf0, 0xa2, 0xc1, 0x4d,
  3753  	0xfc, 0x79, 0x7b, 0xa3, 0x8e, 0x3c, 0xce, 0xdc, 0xbf, 0xe5, 0x45, 0xd8, 0x51, 0x53, 0xd7, 0x91,
  3754  	0x55, 0x5a, 0x45, 0xc8, 0x5d, 0xbc, 0xa0, 0x56, 0xd6, 0x2e, 0xfd, 0x18, 0xf5, 0x3a, 0x42, 0x45,
  3755  	0xd5, 0xc1, 0xa4, 0x9c, 0x20, 0xa9, 0xde, 0x16, 0x48, 0x39, 0x7e, 0x52, 0x2f, 0xc3, 0x10, 0x77,
  3756  	0xe5, 0x06, 0xe9, 0x09, 0xca, 0x7a, 0x74, 0xd9, 0xf6, 0x1a, 0xe4, 0x84, 0x4b, 0xb6, 0xbe, 0x16,
  3757  	0x96, 0xb0, 0x35, 0xee, 0x7a, 0x4d, 0xe4, 0xd4, 0xfd, 0x5b, 0xe3, 0xd4, 0xdb, 0x37, 0xd9, 0xa9,
  3758  	0x77, 0xb4, 0xe9, 0xd4, 0x57, 0x05, 0x4e, 0x7d, 0x88, 0xe3, 0xd4, 0x5c, 0x7f, 0x54, 0x0e, 0xc3,
  3759  	0xc1, 0x04, 0x10, 0xe6, 0xde, 0xff, 0xda, 0x0d, 0x53, 0x4d, 0xd8, 0x39, 0xdd, 0x50, 0xad, 0x8d,
  3760  	0x9b, 0x75, 0x97, 0x13, 0xfb, 0x89, 0x5c, 0x7c, 0x0a, 0xb6, 0x7b, 0xde, 0xb7, 0x51, 0x5b, 0x31,
  3761  	0xab, 0xd4, 0xc9, 0xa9, 0xd7, 0x2e, 0xe3, 0x36, 0xf9, 0x20, 0xec, 0xa4, 0x40, 0x75, 0xcb, 0xbc,
  3762  	0xab, 0xbb, 0xd4, 0x89, 0xab, 0xef, 0x20, 0xcd, 0xb7, 0x68, 0x6b, 0xd8, 0x37, 0xbb, 0xda, 0xf4,
  3763  	0xcd, 0x56, 0x43, 0x42, 0xd4, 0x97, 0xbb, 0x37, 0xcf, 0x97, 0x7b, 0xda, 0xf5, 0xe5, 0x93, 0x30,
  3764  	0x84, 0xee, 0xd7, 0x75, 0xec, 0x65, 0x46, 0xc9, 0xd1, 0x6b, 0xc8, 0x76, 0xd4, 0x5a, 0x1d, 0x07,
  3765  	0x87, 0x4c, 0x71, 0xb0, 0xd9, 0x77, 0xdb, 0xeb, 0x72, 0x51, 0x6c, 0xe4, 0x38, 0x55, 0x54, 0x43,
  3766  	0x86, 0xe3, 0x43, 0x01, 0x82, 0xd2, 0xec, 0x6b, 0xa2, 0xb0, 0xcd, 0x74, 0x9f, 0x7f, 0x33, 0x1d,
  3767  	0x8a, 0xdc, 0xfd, 0x69, 0xf3, 0xf0, 0xf6, 0xad, 0x71, 0xd9, 0x1d, 0x9b, 0xec, 0xb2, 0x3b, 0xdb,
  3768  	0x74, 0xd9, 0x05, 0x81, 0xcb, 0x1e, 0xe3, 0xb8, 0xac, 0xd0, 0xc7, 0x94, 0xe3, 0x70, 0x34, 0x05,
  3769  	0x18, 0x73, 0xdd, 0x9f, 0x07, 0x5c, 0xf7, 0x9a, 0x3b, 0xed, 0x1b, 0xd7, 0x1b, 0x4e, 0xc3, 0x42,
  3770  	0xf6, 0xd3, 0x9f, 0x9d, 0x43, 0x1e, 0x9d, 0xdd, 0x5c, 0x8f, 0xee, 0x16, 0x79, 0xf4, 0x1e, 0xc8,
  3771  	0x62, 0xff, 0xd8, 0xc0, 0xee, 0x97, 0x29, 0xd2, 0x2f, 0x8e, 0xa7, 0xf7, 0x6e, 0x9e, 0xa7, 0xc3,
  3772  	0x66, 0x67, 0xed, 0xbe, 0xad, 0xcb, 0xda, 0xfd, 0x5b, 0x96, 0xb5, 0xbf, 0x0e, 0x01, 0xc9, 0xbe,
  3773  	0x1a, 0x0c, 0x01, 0x42, 0x30, 0x16, 0x02, 0x1e, 0x4a, 0x90, 0x0b, 0xec, 0xab, 0x09, 0xd4, 0x96,
  3774  	0x17, 0x02, 0x2e, 0x0a, 0x84, 0xdd, 0xc7, 0x2f, 0x04, 0xf8, 0xb8, 0x52, 0xde, 0x97, 0x60, 0xaf,
  3775  	0xa8, 0x33, 0x6d, 0x2d, 0xa0, 0x08, 0xdd, 0x16, 0xb2, 0x1b, 0x55, 0xc7, 0x2b, 0x8e, 0x9d, 0x4a,
  3776  	0x92, 0x21, 0x38, 0x88, 0x8b, 0x89, 0x05, 0x92, 0x8a, 0x1e, 0x21, 0xaf, 0xbe, 0x90, 0xe1, 0xd5,
  3777  	0x17, 0x7e, 0x29, 0xc1, 0x1e, 0x3e, 0x15, 0xf9, 0x0a, 0xf4, 0x78, 0x46, 0x49, 0xab, 0x7b, 0xa9,
  3778  	0x4c, 0x87, 0x21, 0xc9, 0x17, 0xa1, 0x0b, 0x7b, 0x0a, 0x09, 0xc2, 0xe9, 0xb0, 0x09, 0x86, 0x7c,
  3779  	0x16, 0x32, 0xab, 0x08, 0x11, 0x96, 0xd3, 0x21, 0xba, 0xf0, 0xd1, 0xba, 0x09, 0x99, 0x8b, 0x66,
  3780  	0x55, 0x33, 0x45, 0x31, 0xe9, 0xb9, 0xa0, 0x0d, 0x1d, 0x8d, 0xd3, 0x7f, 0x93, 0x30, 0xc7, 0x92,
  3781  	0x0a, 0x0f, 0x12, 0xea, 0x26, 0x62, 0xe6, 0x94, 0x15, 0x5c, 0x36, 0x11, 0x03, 0x6c, 0x46, 0x69,
  3782  	0xe9, 0xa7, 0x7e, 0x73, 0x0d, 0xe4, 0xe4, 0x2f, 0x52, 0x4b, 0x97, 0x39, 0x5a, 0x3a, 0x1c, 0xd5,
  3783  	0x92, 0x80, 0x3f, 0x05, 0xc1, 0xa1, 0x24, 0x98, 0xcd, 0xd0, 0xd5, 0x47, 0x12, 0x5e, 0x90, 0xf8,
  3784  	0xea, 0x58, 0xbc, 0x59, 0x11, 0x17, 0xe3, 0x16, 0x43, 0xc5, 0xb8, 0x36, 0xf4, 0xe5, 0x95, 0xe4,
  3785  	0xae, 0x3e, 0x48, 0x88, 0xc4, 0x49, 0x4c, 0x2a, 0x1f, 0x48, 0x38, 0x14, 0x27, 0xc1, 0x3d, 0x8d,
  3786  	0xa5, 0xb9, 0x47, 0x12, 0xae, 0x7f, 0xcf, 0xbb, 0x89, 0xb9, 0xca, 0x22, 0xb8, 0x50, 0xed, 0xb1,
  3787  	0x07, 0x64, 0x91, 0x62, 0x78, 0x86, 0x53, 0x0c, 0x0f, 0xda, 0x4c, 0xa7, 0xc0, 0x66, 0xba, 0x9a,
  3788  	0x36, 0x33, 0xc3, 0x99, 0x9e, 0xd1, 0x80, 0x3d, 0x07, 0x79, 0x57, 0xc6, 0x70, 0xb1, 0x31, 0xd4,
  3789  	0xca, 0xd2, 0xe0, 0x7b, 0x24, 0x0d, 0x92, 0xb9, 0x0a, 0xc2, 0x88, 0xad, 0xed, 0x0a, 0x74, 0x96,
  3790  	0x55, 0x47, 0x4d, 0x53, 0xf8, 0xc5, 0x94, 0x16, 0x54, 0x47, 0xa5, 0x56, 0x86, 0x11, 0x0b, 0x67,
  3791  	0x1f, 0x24, 0x24, 0x40, 0x2e, 0x3f, 0xca, 0x75, 0x1c, 0x50, 0xb8, 0x7d, 0xcc, 0x98, 0x72, 0xd0,
  3792  	0x6d, 0x37, 0x34, 0x0d, 0xd9, 0xc4, 0x8e, 0x7a, 0x8a, 0xde, 0x67, 0x30, 0x78, 0xef, 0x0b, 0x12,
  3793  	0x0a, 0xb8, 0xf6, 0x56, 0x4b, 0xff, 0x2c, 0x47, 0xfa, 0x23, 0x02, 0xe9, 0x39, 0x8c, 0x29, 0x37,
  3794  	0xe1, 0x70, 0x22, 0x50, 0x4b, 0xfa, 0xf8, 0x7d, 0x37, 0x0c, 0x79, 0x14, 0xc9, 0x39, 0x56, 0x82,
  3795  	0x0a, 0x52, 0x9d, 0xf3, 0x5c, 0x81, 0x71, 0xbb, 0x6e, 0x3a, 0x25, 0xe6, 0x21, 0x76, 0xc9, 0x31,
  3796  	0x4b, 0x1a, 0xe6, 0xb8, 0xa4, 0x56, 0xab, 0xd4, 0x1d, 0x73, 0x36, 0x5b, 0x1e, 0x2c, 0x96, 0xed,
  3797  	0xdb, 0x26, 0x11, 0x69, 0xb6, 0x5a, 0x95, 0x5f, 0x80, 0xa9, 0x32, 0x0b, 0x1c, 0x62, 0x32, 0x9d,
  3798  	0x98, 0xcc, 0x44, 0x39, 0x74, 0xb4, 0x18, 0x22, 0xf6, 0x0f, 0xb0, 0x1b, 0x73, 0x43, 0xe3, 0x01,
  3799  	0x23, 0x91, 0xeb, 0x6a, 0x75, 0x1a, 0xa5, 0xa2, 0x6c, 0x33, 0xbb, 0xf3, 0x86, 0x90, 0x5f, 0x87,
  3800  	0x51, 0x1f, 0xb3, 0x91, 0x51, 0xb2, 0xad, 0x8f, 0x92, 0x2b, 0x07, 0xe3, 0x74, 0x73, 0x2c, 0x8e,
  3801  	0x2c, 0x38, 0x02, 0xe6, 0xba, 0x5b, 0x3d, 0x89, 0x09, 0xcb, 0x82, 0xc9, 0xc8, 0x75, 0x91, 0x2c,
  3802  	0x64, 0x94, 0x9e, 0xf6, 0x52, 0x0c, 0x5f, 0x22, 0x32, 0xe2, 0x1d, 0x98, 0x5c, 0xc1, 0x46, 0x5c,
  3803  	0x32, 0x89, 0x15, 0x47, 0x35, 0xd8, 0xdb, 0xba, 0x06, 0x47, 0x57, 0xa2, 0x8e, 0xc1, 0x94, 0x58,
  3804  	0x84, 0x83, 0xa1, 0x21, 0x85, 0x16, 0x06, 0xd8, 0xc2, 0xf6, 0xad, 0x44, 0xeb, 0x0a, 0x21, 0x23,
  3805  	0xbb, 0x17, 0x27, 0x06, 0x51, 0x5e, 0x5f, 0xbb, 0xca, 0x13, 0x08, 0x83, 0xa9, 0x16, 0x4e, 0x72,
  3806  	0x42, 0xca, 0x78, 0x24, 0xa4, 0xf8, 0x7d, 0x5b, 0x79, 0x90, 0x85, 0x31, 0x5e, 0x07, 0x8b, 0x1c,
  3807  	0xd3, 0x30, 0x88, 0xad, 0x8c, 0x2a, 0x22, 0x18, 0x45, 0x76, 0xb9, 0x5d, 0x34, 0x08, 0x93, 0x0e,
  3808  	0xb9, 0x00, 0x23, 0x3e, 0xab, 0x09, 0x61, 0x75, 0x60, 0xac, 0xe1, 0x26, 0x40, 0x10, 0xf7, 0x08,
  3809  	0xec, 0x6a, 0x5a, 0xb4, 0xb7, 0x0e, 0x20, 0xf1, 0x61, 0x27, 0x33, 0x50, 0xba, 0x16, 0x38, 0x07,
  3810  	0xc3, 0x61, 0xeb, 0xf4, 0x30, 0x48, 0x28, 0xd8, 0x1d, 0x32, 0x33, 0x8a, 0x37, 0x0b, 0xe3, 0xa1,
  3811  	0xc9, 0x09, 0xf1, 0xd8, 0x85, 0x79, 0xcc, 0x07, 0xf4, 0x1c, 0x64, 0xf3, 0x32, 0x8c, 0xf2, 0xe6,
  3812  	0xd7, 0x1b, 0x3e, 0x4b, 0x02, 0x5a, 0x74, 0xa2, 0x28, 0x07, 0xe7, 0x21, 0xe7, 0xad, 0x62, 0xfc,
  3813  	0xfe, 0x8b, 0xd7, 0x26, 0xdd, 0x84, 0x75, 0xda, 0xdf, 0x4c, 0x6c, 0x78, 0x39, 0x73, 0x16, 0x86,
  3814  	0xe9, 0x72, 0x26, 0x82, 0xd7, 0x83, 0xf1, 0x86, 0x48, 0x77, 0x08, 0x6d, 0x1e, 0x26, 0xbc, 0xf1,
  3815  	0xa2, 0xfe, 0x8c, 0xb1, 0x7b, 0x31, 0xf6, 0x28, 0x85, 0x0a, 0x19, 0x1e, 0x21, 0x32, 0x0b, 0xe3,
  3816  	0x74, 0x6c, 0x01, 0x0d, 0xe2, 0x1d, 0x79, 0x02, 0xc4, 0x25, 0xf1, 0xd7, 0xa0, 0x78, 0x7c, 0xf0,
  3817  	0xdd, 0x03, 0xd3, 0xe9, 0x23, 0x71, 0x9c, 0x42, 0x72, 0x72, 0x1a, 0xa6, 0xf5, 0x3c, 0xec, 0xa3,
  3818  	0xec, 0xc4, 0x90, 0xea, 0xc7, 0xa4, 0x28, 0xdf, 0x02, 0x4a, 0xbe, 0xfc, 0xf7, 0x23, 0x09, 0x26,
  3819  	0x38, 0xdb, 0xa1, 0x34, 0x15, 0x81, 0x4d, 0xdb, 0xa7, 0x5c, 0xe2, 0x78, 0xf0, 0xc1, 0xb8, 0xdd,
  3820  	0x9c, 0xbf, 0x32, 0xf0, 0x43, 0x09, 0x9e, 0x89, 0x07, 0x49, 0xbb, 0x49, 0x79, 0x25, 0x5c, 0x1f,
  3821  	0xb8, 0x90, 0x4e, 0xa2, 0x27, 0xab, 0x12, 0xfc, 0xae, 0x03, 0xc6, 0xe2, 0x68, 0x7d, 0x05, 0x6b,
  3822  	0x05, 0xf2, 0xdf, 0xc0, 0x0e, 0x7c, 0x89, 0x46, 0x37, 0x8d, 0x52, 0x19, 0x55, 0x1d, 0x15, 0xaf,
  3823  	0xee, 0xfb, 0x4e, 0x1d, 0x8e, 0xbd, 0x8d, 0x44, 0x31, 0x16, 0x5c, 0x04, 0x6a, 0x20, 0xdb, 0xeb,
  3824  	0xfe, 0x46, 0xf9, 0x12, 0x64, 0xeb, 0xea, 0x86, 0xd9, 0x70, 0x5a, 0x39, 0xa1, 0xa7, 0x28, 0x3e,
  3825  	0x95, 0xff, 0x8c, 0xac, 0x81, 0x39, 0x3b, 0xdb, 0x2f, 0xd4, 0xec, 0x13, 0xd7, 0xc2, 0xf1, 0x0c,
  3826  	0x2a, 0x3f, 0x91, 0xf0, 0x62, 0x38, 0x1e, 0xea, 0xe9, 0x36, 0xfe, 0x3f, 0xd1, 0x4a, 0x24, 0xce,
  3827  	0x34, 0x21, 0x65, 0x7d, 0x79, 0x3b, 0x4f, 0xd6, 0x5d, 0x53, 0xed, 0x75, 0x6c, 0x6a, 0x5d, 0xb4,
  3828  	0x7b, 0x49, 0xb5, 0xd7, 0x3d, 0x81, 0xb2, 0x4d, 0x81, 0x12, 0xf7, 0x74, 0x5c, 0x01, 0x15, 0x85,
  3829  	0x14, 0x89, 0x78, 0x7d, 0x6c, 0x93, 0xfa, 0xcf, 0x1d, 0xf8, 0x6e, 0xab, 0x68, 0xb3, 0xf3, 0x15,
  3830  	0x52, 0xd2, 0x05, 0x8e, 0x92, 0xf6, 0x47, 0x95, 0x14, 0x95, 0x51, 0x39, 0x80, 0x0b, 0x44, 0xa2,
  3831  	0x6e, 0xa6, 0xaa, 0xb7, 0x25, 0xe8, 0x65, 0xcb, 0xe0, 0xa0, 0x02, 0xa4, 0x24, 0x05, 0x74, 0x24,
  3832  	0x2a, 0x20, 0x13, 0xaf, 0x80, 0x4e, 0x81, 0x02, 0x9a, 0xe5, 0x0b, 0xe5, 0xfb, 0x24, 0xd5, 0xfa,
  3833  	0x36, 0xaf, 0xe1, 0x15, 0xc3, 0xd6, 0xed, 0xbb, 0x13, 0x53, 0x6c, 0x0c, 0x57, 0xca, 0x0d, 0x9c,
  3834  	0x61, 0x63, 0x20, 0x5a, 0xda, 0x71, 0xff, 0x4b, 0x07, 0xec, 0x5e, 0xb2, 0x2b, 0xcb, 0x4c, 0xd5,
  3835  	0xb7, 0x2d, 0xd5, 0xb0, 0x57, 0x63, 0x6c, 0xf9, 0x04, 0x0c, 0xd9, 0x66, 0xc3, 0xd2, 0x50, 0x89,
  3836  	0x37, 0x69, 0x32, 0xe9, 0x5b, 0xf6, 0x4f, 0x1d, 0x5e, 0x8f, 0xdb, 0x8e, 0x6e, 0x90, 0xd3, 0x6e,
  3837  	0x9e, 0xb1, 0x0f, 0xfb, 0x00, 0x96, 0xf9, 0x77, 0x34, 0x3b, 0x5b, 0xbb, 0xa3, 0x39, 0x1d, 0xd2,
  3838  	0xef, 0x84, 0x5f, 0xbf, 0x51, 0x71, 0x95, 0x49, 0x5c, 0x46, 0x8f, 0x76, 0x30, 0x83, 0x7e, 0xab,
  3839  	0x03, 0xdf, 0xe3, 0xbc, 0x76, 0xdf, 0x41, 0x96, 0xa1, 0x56, 0xff, 0x52, 0xf4, 0x74, 0x2c, 0xa4,
  3840  	0xa7, 0xc0, 0xdd, 0xfe, 0xb0, 0xb0, 0xf4, 0x6e, 0x7f, 0xb8, 0x99, 0xe9, 0xe8, 0x33, 0x09, 0xd7,
  3841  	0x6f, 0x6e, 0xe8, 0x77, 0x1a, 0x3a, 0xbe, 0x85, 0x4c, 0x17, 0x0c, 0x4f, 0x56, 0xbf, 0x09, 0x04,
  3842  	0x8f, 0x4c, 0x28, 0x78, 0xb0, 0x05, 0x40, 0x67, 0x7b, 0x0b, 0x00, 0xc9, 0x5b, 0x00, 0x1c, 0x8f,
  3843  	0xdb, 0xb5, 0x46, 0x24, 0x52, 0x26, 0xf0, 0xa6, 0x35, 0xd2, 0xce, 0x54, 0xf1, 0x2e, 0x49, 0xa6,
  3844  	0xd7, 0x6a, 0xc8, 0xaa, 0x20, 0x43, 0xdb, 0x58, 0xc6, 0xf7, 0x33, 0xe8, 0x2b, 0x87, 0x2d, 0x53,
  3845  	0x47, 0xe1, 0x64, 0x5c, 0xe2, 0xe3, 0x32, 0x43, 0x13, 0x1f, 0xb7, 0xaf, 0x79, 0x7f, 0xbc, 0x03,
  3846  	0x3f, 0xda, 0x58, 0x34, 0xdc, 0x4d, 0x91, 0xcd, 0xa4, 0x25, 0x47, 0xc6, 0x4f, 0x89, 0x0b, 0x04,
  3847  	0xf4, 0xd2, 0x19, 0x32, 0x93, 0x4b, 0xcc, 0x3f, 0x5a, 0x59, 0xac, 0x52, 0x1f, 0x39, 0x15, 0x52,
  3848  	0xaa, 0x12, 0x3c, 0x0f, 0xe6, 0xe9, 0x84, 0x3e, 0x36, 0xe0, 0x77, 0x86, 0xd5, 0xba, 0x80, 0xbe,
  3849  	0x56, 0x6b, 0x58, 0xad, 0x7c, 0x9d, 0x50, 0xb5, 0xf2, 0x3b, 0x99, 0x5a, 0x3f, 0x92, 0xb0, 0x73,
  3850  	0xde, 0xb2, 0xf4, 0xbb, 0x7a, 0x15, 0x55, 0x50, 0xf9, 0xda, 0x7d, 0xa4, 0x35, 0x1c, 0x34, 0x6f,
  3851  	0x1a, 0x8e, 0xa5, 0x6a, 0x62, 0xff, 0x1b, 0x82, 0xae, 0xd5, 0x86, 0x51, 0xb6, 0xa9, 0x2a, 0xc9,
  3852  	0x87, 0x7c, 0x18, 0x06, 0x34, 0x8a, 0x59, 0x52, 0xc9, 0x5b, 0x0f, 0xaa, 0xb4, 0x9d, 0x5e, 0x3b,
  3853  	0x7d, 0x02, 0x22, 0xcb, 0x74, 0x69, 0x40, 0xf4, 0x44, 0xb2, 0xfd, 0x65, 0xc1, 0x41, 0xfb, 0x01,
  3854  	0xbf, 0xb8, 0x42, 0x5e, 0xdd, 0x40, 0xb2, 0x3f, 0x0e, 0x80, 0xa5, 0xfb, 0xd7, 0x01, 0x30, 0xbf,
  3855  	0xa5, 0xb2, 0xbe, 0xba, 0x8a, 0x33, 0x7e, 0x6c, 0x1a, 0x38, 0xe1, 0x4e, 0xd5, 0x7b, 0xbf, 0x99,
  3856  	0x3c, 0x54, 0xd1, 0x9d, 0xb5, 0xc6, 0xca, 0xb4, 0x66, 0xd6, 0xe8, 0x63, 0x3f, 0xfa, 0xdf, 0x71,
  3857  	0xbb, 0xbc, 0x3e, 0xe3, 0x6c, 0xd4, 0x91, 0x8d, 0x11, 0xec, 0x62, 0x2f, 0x26, 0xbf, 0xa0, 0xaf,
  3858  	0xae, 0x16, 0x06, 0x39, 0x32, 0x29, 0xaf, 0xc1, 0xc0, 0x92, 0x5d, 0x29, 0xa2, 0x7b, 0xaa, 0x55,
  3859  	0xb6, 0x6f, 0xd6, 0x9d, 0x9b, 0x0d, 0xa1, 0xa6, 0x49, 0x9d, 0x90, 0xa3, 0x94, 0x11, 0xbf, 0x52,
  3860  	0x02, 0xa4, 0x94, 0x3c, 0x0e, 0xa8, 0x81, 0x36, 0xff, 0xfb, 0x96, 0xdd, 0xb8, 0x53, 0xab, 0xaa,
  3861  	0x7a, 0xed, 0x86, 0xa9, 0xad, 0xa3, 0xf2, 0x75, 0x3c, 0x79, 0x62, 0x27, 0x1a, 0xac, 0x62, 0xb0,
  3862  	0x59, 0x62, 0xe9, 0xb7, 0x1a, 0x2b, 0x2f, 0xa0, 0x0d, 0x3c, 0xf1, 0xfd, 0x45, 0x5e, 0x97, 0x3c,
  3863  	0x06, 0xbd, 0xb6, 0x5e, 0x31, 0x54, 0xa7, 0x61, 0x91, 0x4d, 0x78, 0x7f, 0xb1, 0xd9, 0x10, 0xbf,
  3864  	0xde, 0x88, 0xf2, 0x45, 0xd7, 0x1b, 0xd1, 0x0e, 0x26, 0xd2, 0x9b, 0xe4, 0xa9, 0xcb, 0xb2, 0x5e,
  3865  	0x31, 0xf0, 0x12, 0x7a, 0x19, 0xb2, 0xee, 0xdf, 0x54, 0x90, 0xfe, 0xb9, 0x4b, 0x9f, 0x3f, 0x9e,
  3866  	0xcc, 0xda, 0xb8, 0xe5, 0x8f, 0x8f, 0x27, 0x8f, 0xa7, 0x98, 0xc5, 0x59, 0x4d, 0xa3, 0x76, 0x5a,
  3867  	0xa4, 0xa4, 0xe4, 0x31, 0xe8, 0x5c, 0x20, 0x4b, 0x59, 0x97, 0x64, 0xcf, 0xe7, 0x8f, 0x27, 0xb1,
  3868  	0xcd, 0x16, 0x71, 0xab, 0x72, 0x1f, 0x3f, 0x1a, 0xc2, 0x1c, 0x98, 0x9a, 0x7c, 0x80, 0xc8, 0x4f,
  3869  	0x2e, 0x7b, 0x91, 0xda, 0x07, 0x46, 0x70, 0xbf, 0x8b, 0x3d, 0x6e, 0x17, 0xbe, 0xce, 0x35, 0x0f,
  3870  	0x5d, 0x77, 0xd5, 0x6a, 0x03, 0xd1, 0x9d, 0xeb, 0xc1, 0xb8, 0x84, 0xec, 0x93, 0xcf, 0xdb, 0x8d,
  3871  	0x63, 0x5c, 0xe5, 0x3f, 0x32, 0xd8, 0xcf, 0x67, 0xcb, 0x35, 0xdd, 0x20, 0x35, 0x61, 0xce, 0x96,
  3872  	0xba, 0xbd, 0xed, 0xd6, 0x8b, 0x30, 0xe0, 0xbb, 0x47, 0x49, 0x6a, 0x31, 0xcd, 0x92, 0x8a, 0x94,
  3873  	0x14, 0xbc, 0x76, 0x36, 0x91, 0xf1, 0xf5, 0x26, 0xe1, 0x55, 0xce, 0xce, 0xd6, 0xaf, 0x72, 0x76,
  3874  	0x89, 0xaf, 0x72, 0x5e, 0x85, 0xac, 0xed, 0xa8, 0x4e, 0xc3, 0xa6, 0xd7, 0xec, 0x0e, 0xc5, 0xaa,
  3875  	0x15, 0xcb, 0xba, 0x8c, 0xe1, 0x8b, 0x14, 0xaf, 0x50, 0x88, 0x2b, 0x6e, 0xc4, 0x2b, 0x5a, 0x39,
  3876  	0x8a, 0x6b, 0x1b, 0xf1, 0x40, 0xcc, 0x70, 0xbf, 0x49, 0x1e, 0x36, 0xcd, 0x92, 0x47, 0x6b, 0x6f,
  3877  	0xa0, 0x65, 0x47, 0x5d, 0x47, 0xcf, 0x59, 0xaa, 0xe1, 0x88, 0xbd, 0xf1, 0x3a, 0x64, 0x2b, 0x18,
  3878  	0x82, 0x6e, 0xaa, 0xa6, 0xe3, 0xc4, 0xc3, 0xb4, 0x3c, 0xf2, 0x58, 0xb5, 0x45, 0x8a, 0x5d, 0x38,
  3879  	0x11, 0xf7, 0xaa, 0x89, 0xc7, 0x91, 0xb2, 0x0f, 0x3f, 0x8d, 0xe0, 0x75, 0x31, 0x81, 0x36, 0x70,
  3880  	0x6c, 0x99, 0x75, 0xb9, 0x51, 0x1d, 0x1f, 0x84, 0x50, 0x9a, 0x1c, 0x74, 0x63, 0x7e, 0xd8, 0xb5,
  3881  	0x4c, 0xef, 0x33, 0x3e, 0x4a, 0x44, 0x47, 0xa0, 0x51, 0x22, 0xda, 0xe1, 0xf1, 0x76, 0xea, 0xd1,
  3882  	0x41, 0xc8, 0x2c, 0xd9, 0x15, 0x59, 0x85, 0x6e, 0xef, 0x71, 0xdf, 0x33, 0x09, 0x1e, 0x47, 0xe1,
  3883  	0xf2, 0xd3, 0xe9, 0xe0, 0x58, 0x7e, 0x29, 0x43, 0x0f, 0x7b, 0x77, 0x97, 0xe4, 0xd5, 0x1e, 0x60,
  3884  	0x7e, 0x26, 0x25, 0x20, 0x1b, 0xe5, 0xbf, 0x25, 0x18, 0x16, 0x3d, 0x48, 0x3a, 0x97, 0x40, 0x4c,
  3885  	0x80, 0x97, 0x7f, 0xb6, 0x3d, 0x3c, 0xc6, 0xd3, 0x3b, 0x12, 0x8c, 0xc5, 0x3e, 0x9e, 0xb9, 0x94,
  3886  	0x6e, 0x00, 0x2e, 0x72, 0x7e, 0xfe, 0x09, 0x90, 0x19, 0x8b, 0xdf, 0x92, 0x60, 0x6f, 0xe2, 0x2d,
  3887  	0xe2, 0x2b, 0xe9, 0x46, 0x12, 0x12, 0xc8, 0x3f, 0xf7, 0x84, 0x04, 0x18, 0xbb, 0x0f, 0x24, 0x18,
  3888  	0xe2, 0xbe, 0x7c, 0x3c, 0x9d, 0x30, 0x02, 0x0f, 0x29, 0x7f, 0xa9, 0x0d, 0x24, 0xc6, 0xca, 0xff,
  3889  	0x49, 0x90, 0x8f, 0x79, 0x75, 0x78, 0x31, 0x81, 0xb6, 0x18, 0x35, 0x3f, 0xdb, 0x36, 0x2a, 0x63,
  3890  	0xee, 0xdf, 0x25, 0xd8, 0xcd, 0xbf, 0x19, 0x7a, 0x26, 0xb5, 0xcc, 0x3e, 0xac, 0xfc, 0x5f, 0xb5,
  3891  	0x83, 0xc5, 0xb8, 0xd9, 0x80, 0x9d, 0xe1, 0x0b, 0x49, 0x49, 0x41, 0x24, 0x04, 0x9f, 0x3f, 0xd7,
  3892  	0x1a, 0x7c, 0x40, 0x11, 0xfc, 0xbb, 0x41, 0x67, 0x52, 0x69, 0x39, 0x84, 0x95, 0xa8, 0x88, 0xf8,
  3893  	0xbb, 0x3d, 0xff, 0x04, 0xbb, 0xa2, 0x77, 0x54, 0x4e, 0xa4, 0x21, 0xe9, 0xc7, 0xc8, 0x5f, 0x68,
  3894  	0x15, 0x83, 0x31, 0xf0, 0xbf, 0x12, 0x8c, 0x88, 0xb7, 0x37, 0x49, 0x74, 0x85, 0x98, 0xf9, 0xab,
  3895  	0xed, 0x62, 0x06, 0xdc, 0x29, 0xe6, 0x32, 0xea, 0xc5, 0x54, 0x06, 0xc8, 0x43, 0x4d, 0x74, 0xa7,
  3896  	0x14, 0x97, 0x48, 0xdd, 0x28, 0x99, 0x78, 0xb5, 0xf1, 0x4a, 0x7a, 0xb7, 0xe5, 0x12, 0x48, 0x8c,
  3897  	0x92, 0xa9, 0xef, 0x23, 0xbe, 0x2d, 0xc1, 0x68, 0xdc, 0x59, 0x70, 0xa1, 0x45, 0x8d, 0xf8, 0x23,
  3898  	0xc1, 0x5c, 0xfb, 0xb8, 0xc1, 0xe8, 0xc4, 0x3d, 0x2d, 0x3a, 0x93, 0xca, 0xcd, 0x43, 0x58, 0xc9,
  3899  	0xd1, 0x29, 0xee, 0x70, 0x06, 0x6b, 0x2b, 0xae, 0x9c, 0x5f, 0x48, 0xef, 0xf2, 0x61, 0xdc, 0x44,
  3900  	0x6d, 0xa5, 0x29, 0xc7, 0xfb, 0x52, 0xb4, 0xf8, 0x8d, 0x5e, 0xca, 0x14, 0x2d, 0x24, 0x90, 0x36,
  3901  	0x45, 0x27, 0x3e, 0x4d, 0x92, 0xff, 0x5f, 0x82, 0xf1, 0xf8, 0x2b, 0xd3, 0xe9, 0x92, 0x89, 0x00,
  3902  	0x3b, 0xbf, 0xf0, 0x24, 0xd8, 0x8c, 0xcb, 0x6f, 0x48, 0x30, 0x91, 0x70, 0x74, 0x7c, 0xb9, 0xf5,
  3903  	0x81, 0xfc, 0x8e, 0x72, 0xed, 0x89, 0xd0, 0x19, 0xa3, 0xff, 0x23, 0x41, 0x4e, 0x78, 0x6e, 0x78,
  3904  	0x3e, 0x95, 0xe1, 0x47, 0x11, 0xf3, 0x57, 0xda, 0x44, 0x0c, 0xe8, 0x2f, 0xe1, 0xfa, 0xe9, 0xe5,
  3905  	0xf4, 0xb6, 0xcf, 0x41, 0x4f, 0xd4, 0x5f, 0xca, 0xeb, 0xa3, 0x6f, 0x49, 0x20, 0x73, 0x4e, 0xa9,
  3906  	0x4e, 0x26, 0x95, 0x17, 0x22, 0x28, 0xf9, 0x8b, 0x2d, 0xa3, 0x30, 0x26, 0xfe, 0x11, 0x06, 0x22,
  3907  	0xe7, 0x3f, 0x49, 0x3b, 0x9c, 0x30, 0x42, 0xfe, 0x7c, 0x8b, 0x08, 0xfe, 0x55, 0x47, 0xf4, 0x64,
  3908  	0x25, 0x69, 0xd5, 0x11, 0xc1, 0x48, 0x5c, 0x75, 0x08, 0xcf, 0x34, 0x70, 0xbc, 0xe7, 0x1f, 0x68,
  3909  	0x24, 0xc5, 0x7b, 0x2e, 0x56, 0x62, 0xbc, 0x8f, 0x3d, 0x93, 0x90, 0xff, 0x53, 0x82, 0x3d, 0x82,
  3910  	0x03, 0x89, 0xb3, 0x89, 0x41, 0x90, 0x87, 0x96, 0xbf, 0xdc, 0x16, 0x5a, 0x80, 0x21, 0x41, 0x29,
  3911  	0xff, 0x6c, 0xe2, 0x5e, 0xbb, 0x2d, 0x86, 0xe2, 0xeb, 0xe0, 0xb2, 0x0d, 0xdb, 0x83, 0xd5, 0xd8,
  3912  	0x63, 0x09, 0xf4, 0x02, 0xd0, 0xf9, 0x33, 0xad, 0x40, 0x07, 0x22, 0x4a, 0x42, 0xdd, 0x2e, 0x49,
  3913  	0xac, 0x78, 0xf4, 0xc4, 0x88, 0x92, 0xae, 0x4e, 0x25, 0xd7, 0xa1, 0x3f, 0xf0, 0x2b, 0x4f, 0x47,
  3914  	0x13, 0xc8, 0xfa, 0x81, 0xf3, 0xa7, 0x5b, 0x00, 0xf6, 0x87, 0x8f, 0xc8, 0xef, 0xd7, 0xcd, 0xa4,
  3915  	0x22, 0xd4, 0x44, 0x48, 0x0c, 0x1f, 0xa2, 0x1f, 0x5e, 0xc3, 0xe6, 0x29, 0xf8, 0xd5, 0xb5, 0xb3,
  3916  	0xa9, 0x68, 0x86, 0xd1, 0x12, 0xcd, 0x33, 0xfe, 0xa7, 0xb6, 0x70, 0x11, 0x80, 0x5b, 0x25, 0x4c,
  3917  	0x52, 0x2e, 0x0f, 0x29, 0xb1, 0x08, 0x10, 0x57, 0xe2, 0xc3, 0xd9, 0x85, 0x53, 0xe0, 0x4b, 0xca,
  3918  	0x2e, 0x51, 0x94, 0xc4, 0xec, 0x22, 0xae, 0xe5, 0xe5, 0xbb, 0xde, 0xfc, 0xf4, 0xe1, 0x11, 0x69,
  3919  	0x6e, 0xed, 0xc3, 0x8f, 0x27, 0xa4, 0x47, 0x1f, 0x4f, 0x48, 0xbf, 0xfd, 0x78, 0x42, 0xfa, 0xaf,
  3920  	0x4f, 0x26, 0xb6, 0x3d, 0xfa, 0x64, 0x62, 0xdb, 0xaf, 0x3e, 0x99, 0xd8, 0xf6, 0xf7, 0x2f, 0xfa,
  3921  	0x8a, 0xfc, 0x8b, 0xde, 0x28, 0x37, 0xd4, 0x15, 0x7b, 0x86, 0x8d, 0x79, 0x5c, 0x33, 0x2d, 0xe4,
  3922  	0xff, 0x5c, 0x53, 0x75, 0x63, 0xa6, 0x66, 0x96, 0x1b, 0x55, 0x64, 0x37, 0x7f, 0x9e, 0x11, 0x1f,
  3923  	0x08, 0xac, 0x64, 0xf1, 0x4f, 0x2b, 0x9e, 0xfe, 0x73, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x05,
  3924  	0xa8, 0x24, 0x9c, 0x52, 0x00, 0x00,
  3925  }
  3926  
  3927  // Reference imports to suppress errors if they are not otherwise used.
  3928  var _ context.Context
  3929  var _ grpc.ClientConn
  3930  
  3931  // This is a compile-time assertion to ensure that this generated file
  3932  // is compatible with the grpc package it is being compiled against.
  3933  const _ = grpc.SupportPackageIsVersion4
  3934  
  3935  // MsgClient is the client API for Msg service.
  3936  //
  3937  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3938  type MsgClient interface {
  3939  	// Deposit defines a method for transferring coins from the sender's bank
  3940  	// balance into the subaccount's exchange deposits
  3941  	Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error)
  3942  	// Withdraw defines a method for withdrawing coins from a subaccount's
  3943  	// deposits to the user's bank balance
  3944  	Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
  3945  	// InstantSpotMarketLaunch defines method for creating a spot market by paying
  3946  	// listing fee without governance
  3947  	InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error)
  3948  	// InstantPerpetualMarketLaunch defines a method for creating a new perpetual
  3949  	// futures market by paying listing fee without governance
  3950  	InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error)
  3951  	// InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
  3952  	// futures market by paying listing fee without governance
  3953  	InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
  3954  	// CreateSpotLimitOrder defines a method for creating a new spot limit order.
  3955  	CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error)
  3956  	// BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
  3957  	// limit orders.
  3958  	BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error)
  3959  	// CreateSpotMarketOrder defines a method for creating a new spot market
  3960  	// order.
  3961  	CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error)
  3962  	// MsgCancelSpotOrder defines a method for cancelling a spot order.
  3963  	CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error)
  3964  	// BatchCancelSpotOrders defines a method for cancelling a batch of spot
  3965  	// orders in a given market.
  3966  	BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error)
  3967  	// BatchUpdateOrders defines a method for updating a batch of orders.
  3968  	BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error)
  3969  	// PrivilegedExecuteContract defines a method for executing a Cosmwasm
  3970  	// contract from the exchange module with privileged capabilities.
  3971  	PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error)
  3972  	// CreateDerivativeLimitOrder defines a method for creating a new derivative
  3973  	// limit order.
  3974  	CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error)
  3975  	// BatchCreateDerivativeLimitOrders defines a method for creating a new batch
  3976  	// of derivative limit orders.
  3977  	BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
  3978  	// MsgCreateDerivativeLimitOrder defines a method for creating a new
  3979  	// derivative market order.
  3980  	CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error)
  3981  	// MsgCancelDerivativeOrder defines a method for cancelling a derivative
  3982  	// order.
  3983  	CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error)
  3984  	// MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
  3985  	// derivative limit orders.
  3986  	BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error)
  3987  	// InstantBinaryOptionsMarketLaunch defines method for creating a binary
  3988  	// options market by paying listing fee without governance
  3989  	InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
  3990  	// CreateBinaryOptionsLimitOrder defines a method for creating a new binary
  3991  	// options limit order.
  3992  	CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
  3993  	// CreateBinaryOptionsMarketOrder defines a method for creating a new binary
  3994  	// options market order.
  3995  	CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
  3996  	// MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
  3997  	// options order.
  3998  	CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error)
  3999  	// BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
  4000  	// binary options limit orders.
  4001  	BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
  4002  	// SubaccountTransfer defines a method for transfer between subaccounts
  4003  	SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error)
  4004  	// ExternalTransfer defines a method for transfer between external accounts
  4005  	ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error)
  4006  	// LiquidatePosition defines a method for liquidating a position
  4007  	LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error)
  4008  	// EmergencySettleMarket defines a method for emergency settling a market
  4009  	EmergencySettleMarket(ctx context.Context, in *MsgEmergencySettleMarket, opts ...grpc.CallOption) (*MsgEmergencySettleMarketResponse, error)
  4010  	// IncreasePositionMargin defines a method for increasing margin of a position
  4011  	IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error)
  4012  	// DecreasePositionMargin defines a method for decreasing margin of a position
  4013  	DecreasePositionMargin(ctx context.Context, in *MsgDecreasePositionMargin, opts ...grpc.CallOption) (*MsgDecreasePositionMarginResponse, error)
  4014  	// RewardsOptOut defines a method for opting out of rewards
  4015  	RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error)
  4016  	// AdminUpdateBinaryOptionsMarket defines method for updating a binary options
  4017  	// market by admin
  4018  	AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
  4019  	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
  4020  	// UpdateSpotMarket modifies certain spot market fields (admin only)
  4021  	UpdateSpotMarket(ctx context.Context, in *MsgUpdateSpotMarket, opts ...grpc.CallOption) (*MsgUpdateSpotMarketResponse, error)
  4022  	// UpdateDerivativeMarket modifies certain derivative market fields (admin
  4023  	// only)
  4024  	UpdateDerivativeMarket(ctx context.Context, in *MsgUpdateDerivativeMarket, opts ...grpc.CallOption) (*MsgUpdateDerivativeMarketResponse, error)
  4025  	AuthorizeStakeGrants(ctx context.Context, in *MsgAuthorizeStakeGrants, opts ...grpc.CallOption) (*MsgAuthorizeStakeGrantsResponse, error)
  4026  	ActivateStakeGrant(ctx context.Context, in *MsgActivateStakeGrant, opts ...grpc.CallOption) (*MsgActivateStakeGrantResponse, error)
  4027  }
  4028  
  4029  type msgClient struct {
  4030  	cc grpc1.ClientConn
  4031  }
  4032  
  4033  func NewMsgClient(cc grpc1.ClientConn) MsgClient {
  4034  	return &msgClient{cc}
  4035  }
  4036  
  4037  func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) {
  4038  	out := new(MsgDepositResponse)
  4039  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/Deposit", in, out, opts...)
  4040  	if err != nil {
  4041  		return nil, err
  4042  	}
  4043  	return out, nil
  4044  }
  4045  
  4046  func (c *msgClient) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) {
  4047  	out := new(MsgWithdrawResponse)
  4048  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/Withdraw", in, out, opts...)
  4049  	if err != nil {
  4050  		return nil, err
  4051  	}
  4052  	return out, nil
  4053  }
  4054  
  4055  func (c *msgClient) InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error) {
  4056  	out := new(MsgInstantSpotMarketLaunchResponse)
  4057  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", in, out, opts...)
  4058  	if err != nil {
  4059  		return nil, err
  4060  	}
  4061  	return out, nil
  4062  }
  4063  
  4064  func (c *msgClient) InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error) {
  4065  	out := new(MsgInstantPerpetualMarketLaunchResponse)
  4066  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", in, out, opts...)
  4067  	if err != nil {
  4068  		return nil, err
  4069  	}
  4070  	return out, nil
  4071  }
  4072  
  4073  func (c *msgClient) InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error) {
  4074  	out := new(MsgInstantExpiryFuturesMarketLaunchResponse)
  4075  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", in, out, opts...)
  4076  	if err != nil {
  4077  		return nil, err
  4078  	}
  4079  	return out, nil
  4080  }
  4081  
  4082  func (c *msgClient) CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error) {
  4083  	out := new(MsgCreateSpotLimitOrderResponse)
  4084  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", in, out, opts...)
  4085  	if err != nil {
  4086  		return nil, err
  4087  	}
  4088  	return out, nil
  4089  }
  4090  
  4091  func (c *msgClient) BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error) {
  4092  	out := new(MsgBatchCreateSpotLimitOrdersResponse)
  4093  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", in, out, opts...)
  4094  	if err != nil {
  4095  		return nil, err
  4096  	}
  4097  	return out, nil
  4098  }
  4099  
  4100  func (c *msgClient) CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error) {
  4101  	out := new(MsgCreateSpotMarketOrderResponse)
  4102  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", in, out, opts...)
  4103  	if err != nil {
  4104  		return nil, err
  4105  	}
  4106  	return out, nil
  4107  }
  4108  
  4109  func (c *msgClient) CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error) {
  4110  	out := new(MsgCancelSpotOrderResponse)
  4111  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelSpotOrder", in, out, opts...)
  4112  	if err != nil {
  4113  		return nil, err
  4114  	}
  4115  	return out, nil
  4116  }
  4117  
  4118  func (c *msgClient) BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error) {
  4119  	out := new(MsgBatchCancelSpotOrdersResponse)
  4120  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", in, out, opts...)
  4121  	if err != nil {
  4122  		return nil, err
  4123  	}
  4124  	return out, nil
  4125  }
  4126  
  4127  func (c *msgClient) BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error) {
  4128  	out := new(MsgBatchUpdateOrdersResponse)
  4129  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", in, out, opts...)
  4130  	if err != nil {
  4131  		return nil, err
  4132  	}
  4133  	return out, nil
  4134  }
  4135  
  4136  func (c *msgClient) PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error) {
  4137  	out := new(MsgPrivilegedExecuteContractResponse)
  4138  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", in, out, opts...)
  4139  	if err != nil {
  4140  		return nil, err
  4141  	}
  4142  	return out, nil
  4143  }
  4144  
  4145  func (c *msgClient) CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error) {
  4146  	out := new(MsgCreateDerivativeLimitOrderResponse)
  4147  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", in, out, opts...)
  4148  	if err != nil {
  4149  		return nil, err
  4150  	}
  4151  	return out, nil
  4152  }
  4153  
  4154  func (c *msgClient) BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error) {
  4155  	out := new(MsgBatchCreateDerivativeLimitOrdersResponse)
  4156  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", in, out, opts...)
  4157  	if err != nil {
  4158  		return nil, err
  4159  	}
  4160  	return out, nil
  4161  }
  4162  
  4163  func (c *msgClient) CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error) {
  4164  	out := new(MsgCreateDerivativeMarketOrderResponse)
  4165  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", in, out, opts...)
  4166  	if err != nil {
  4167  		return nil, err
  4168  	}
  4169  	return out, nil
  4170  }
  4171  
  4172  func (c *msgClient) CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error) {
  4173  	out := new(MsgCancelDerivativeOrderResponse)
  4174  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", in, out, opts...)
  4175  	if err != nil {
  4176  		return nil, err
  4177  	}
  4178  	return out, nil
  4179  }
  4180  
  4181  func (c *msgClient) BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error) {
  4182  	out := new(MsgBatchCancelDerivativeOrdersResponse)
  4183  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", in, out, opts...)
  4184  	if err != nil {
  4185  		return nil, err
  4186  	}
  4187  	return out, nil
  4188  }
  4189  
  4190  func (c *msgClient) InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error) {
  4191  	out := new(MsgInstantBinaryOptionsMarketLaunchResponse)
  4192  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", in, out, opts...)
  4193  	if err != nil {
  4194  		return nil, err
  4195  	}
  4196  	return out, nil
  4197  }
  4198  
  4199  func (c *msgClient) CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error) {
  4200  	out := new(MsgCreateBinaryOptionsLimitOrderResponse)
  4201  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", in, out, opts...)
  4202  	if err != nil {
  4203  		return nil, err
  4204  	}
  4205  	return out, nil
  4206  }
  4207  
  4208  func (c *msgClient) CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error) {
  4209  	out := new(MsgCreateBinaryOptionsMarketOrderResponse)
  4210  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", in, out, opts...)
  4211  	if err != nil {
  4212  		return nil, err
  4213  	}
  4214  	return out, nil
  4215  }
  4216  
  4217  func (c *msgClient) CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error) {
  4218  	out := new(MsgCancelBinaryOptionsOrderResponse)
  4219  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", in, out, opts...)
  4220  	if err != nil {
  4221  		return nil, err
  4222  	}
  4223  	return out, nil
  4224  }
  4225  
  4226  func (c *msgClient) BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error) {
  4227  	out := new(MsgBatchCancelBinaryOptionsOrdersResponse)
  4228  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", in, out, opts...)
  4229  	if err != nil {
  4230  		return nil, err
  4231  	}
  4232  	return out, nil
  4233  }
  4234  
  4235  func (c *msgClient) SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error) {
  4236  	out := new(MsgSubaccountTransferResponse)
  4237  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/SubaccountTransfer", in, out, opts...)
  4238  	if err != nil {
  4239  		return nil, err
  4240  	}
  4241  	return out, nil
  4242  }
  4243  
  4244  func (c *msgClient) ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error) {
  4245  	out := new(MsgExternalTransferResponse)
  4246  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/ExternalTransfer", in, out, opts...)
  4247  	if err != nil {
  4248  		return nil, err
  4249  	}
  4250  	return out, nil
  4251  }
  4252  
  4253  func (c *msgClient) LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error) {
  4254  	out := new(MsgLiquidatePositionResponse)
  4255  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/LiquidatePosition", in, out, opts...)
  4256  	if err != nil {
  4257  		return nil, err
  4258  	}
  4259  	return out, nil
  4260  }
  4261  
  4262  func (c *msgClient) EmergencySettleMarket(ctx context.Context, in *MsgEmergencySettleMarket, opts ...grpc.CallOption) (*MsgEmergencySettleMarketResponse, error) {
  4263  	out := new(MsgEmergencySettleMarketResponse)
  4264  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/EmergencySettleMarket", in, out, opts...)
  4265  	if err != nil {
  4266  		return nil, err
  4267  	}
  4268  	return out, nil
  4269  }
  4270  
  4271  func (c *msgClient) IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error) {
  4272  	out := new(MsgIncreasePositionMarginResponse)
  4273  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", in, out, opts...)
  4274  	if err != nil {
  4275  		return nil, err
  4276  	}
  4277  	return out, nil
  4278  }
  4279  
  4280  func (c *msgClient) DecreasePositionMargin(ctx context.Context, in *MsgDecreasePositionMargin, opts ...grpc.CallOption) (*MsgDecreasePositionMarginResponse, error) {
  4281  	out := new(MsgDecreasePositionMarginResponse)
  4282  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/DecreasePositionMargin", in, out, opts...)
  4283  	if err != nil {
  4284  		return nil, err
  4285  	}
  4286  	return out, nil
  4287  }
  4288  
  4289  func (c *msgClient) RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error) {
  4290  	out := new(MsgRewardsOptOutResponse)
  4291  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/RewardsOptOut", in, out, opts...)
  4292  	if err != nil {
  4293  		return nil, err
  4294  	}
  4295  	return out, nil
  4296  }
  4297  
  4298  func (c *msgClient) AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error) {
  4299  	out := new(MsgAdminUpdateBinaryOptionsMarketResponse)
  4300  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", in, out, opts...)
  4301  	if err != nil {
  4302  		return nil, err
  4303  	}
  4304  	return out, nil
  4305  }
  4306  
  4307  func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
  4308  	out := new(MsgUpdateParamsResponse)
  4309  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/UpdateParams", in, out, opts...)
  4310  	if err != nil {
  4311  		return nil, err
  4312  	}
  4313  	return out, nil
  4314  }
  4315  
  4316  func (c *msgClient) UpdateSpotMarket(ctx context.Context, in *MsgUpdateSpotMarket, opts ...grpc.CallOption) (*MsgUpdateSpotMarketResponse, error) {
  4317  	out := new(MsgUpdateSpotMarketResponse)
  4318  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/UpdateSpotMarket", in, out, opts...)
  4319  	if err != nil {
  4320  		return nil, err
  4321  	}
  4322  	return out, nil
  4323  }
  4324  
  4325  func (c *msgClient) UpdateDerivativeMarket(ctx context.Context, in *MsgUpdateDerivativeMarket, opts ...grpc.CallOption) (*MsgUpdateDerivativeMarketResponse, error) {
  4326  	out := new(MsgUpdateDerivativeMarketResponse)
  4327  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket", in, out, opts...)
  4328  	if err != nil {
  4329  		return nil, err
  4330  	}
  4331  	return out, nil
  4332  }
  4333  
  4334  func (c *msgClient) AuthorizeStakeGrants(ctx context.Context, in *MsgAuthorizeStakeGrants, opts ...grpc.CallOption) (*MsgAuthorizeStakeGrantsResponse, error) {
  4335  	out := new(MsgAuthorizeStakeGrantsResponse)
  4336  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants", in, out, opts...)
  4337  	if err != nil {
  4338  		return nil, err
  4339  	}
  4340  	return out, nil
  4341  }
  4342  
  4343  func (c *msgClient) ActivateStakeGrant(ctx context.Context, in *MsgActivateStakeGrant, opts ...grpc.CallOption) (*MsgActivateStakeGrantResponse, error) {
  4344  	out := new(MsgActivateStakeGrantResponse)
  4345  	err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/ActivateStakeGrant", in, out, opts...)
  4346  	if err != nil {
  4347  		return nil, err
  4348  	}
  4349  	return out, nil
  4350  }
  4351  
  4352  // MsgServer is the server API for Msg service.
  4353  type MsgServer interface {
  4354  	// Deposit defines a method for transferring coins from the sender's bank
  4355  	// balance into the subaccount's exchange deposits
  4356  	Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error)
  4357  	// Withdraw defines a method for withdrawing coins from a subaccount's
  4358  	// deposits to the user's bank balance
  4359  	Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error)
  4360  	// InstantSpotMarketLaunch defines method for creating a spot market by paying
  4361  	// listing fee without governance
  4362  	InstantSpotMarketLaunch(context.Context, *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error)
  4363  	// InstantPerpetualMarketLaunch defines a method for creating a new perpetual
  4364  	// futures market by paying listing fee without governance
  4365  	InstantPerpetualMarketLaunch(context.Context, *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error)
  4366  	// InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
  4367  	// futures market by paying listing fee without governance
  4368  	InstantExpiryFuturesMarketLaunch(context.Context, *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
  4369  	// CreateSpotLimitOrder defines a method for creating a new spot limit order.
  4370  	CreateSpotLimitOrder(context.Context, *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error)
  4371  	// BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
  4372  	// limit orders.
  4373  	BatchCreateSpotLimitOrders(context.Context, *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error)
  4374  	// CreateSpotMarketOrder defines a method for creating a new spot market
  4375  	// order.
  4376  	CreateSpotMarketOrder(context.Context, *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error)
  4377  	// MsgCancelSpotOrder defines a method for cancelling a spot order.
  4378  	CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
  4379  	// BatchCancelSpotOrders defines a method for cancelling a batch of spot
  4380  	// orders in a given market.
  4381  	BatchCancelSpotOrders(context.Context, *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error)
  4382  	// BatchUpdateOrders defines a method for updating a batch of orders.
  4383  	BatchUpdateOrders(context.Context, *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error)
  4384  	// PrivilegedExecuteContract defines a method for executing a Cosmwasm
  4385  	// contract from the exchange module with privileged capabilities.
  4386  	PrivilegedExecuteContract(context.Context, *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error)
  4387  	// CreateDerivativeLimitOrder defines a method for creating a new derivative
  4388  	// limit order.
  4389  	CreateDerivativeLimitOrder(context.Context, *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error)
  4390  	// BatchCreateDerivativeLimitOrders defines a method for creating a new batch
  4391  	// of derivative limit orders.
  4392  	BatchCreateDerivativeLimitOrders(context.Context, *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
  4393  	// MsgCreateDerivativeLimitOrder defines a method for creating a new
  4394  	// derivative market order.
  4395  	CreateDerivativeMarketOrder(context.Context, *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error)
  4396  	// MsgCancelDerivativeOrder defines a method for cancelling a derivative
  4397  	// order.
  4398  	CancelDerivativeOrder(context.Context, *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error)
  4399  	// MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
  4400  	// derivative limit orders.
  4401  	BatchCancelDerivativeOrders(context.Context, *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error)
  4402  	// InstantBinaryOptionsMarketLaunch defines method for creating a binary
  4403  	// options market by paying listing fee without governance
  4404  	InstantBinaryOptionsMarketLaunch(context.Context, *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
  4405  	// CreateBinaryOptionsLimitOrder defines a method for creating a new binary
  4406  	// options limit order.
  4407  	CreateBinaryOptionsLimitOrder(context.Context, *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
  4408  	// CreateBinaryOptionsMarketOrder defines a method for creating a new binary
  4409  	// options market order.
  4410  	CreateBinaryOptionsMarketOrder(context.Context, *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
  4411  	// MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
  4412  	// options order.
  4413  	CancelBinaryOptionsOrder(context.Context, *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error)
  4414  	// BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
  4415  	// binary options limit orders.
  4416  	BatchCancelBinaryOptionsOrders(context.Context, *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
  4417  	// SubaccountTransfer defines a method for transfer between subaccounts
  4418  	SubaccountTransfer(context.Context, *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error)
  4419  	// ExternalTransfer defines a method for transfer between external accounts
  4420  	ExternalTransfer(context.Context, *MsgExternalTransfer) (*MsgExternalTransferResponse, error)
  4421  	// LiquidatePosition defines a method for liquidating a position
  4422  	LiquidatePosition(context.Context, *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error)
  4423  	// EmergencySettleMarket defines a method for emergency settling a market
  4424  	EmergencySettleMarket(context.Context, *MsgEmergencySettleMarket) (*MsgEmergencySettleMarketResponse, error)
  4425  	// IncreasePositionMargin defines a method for increasing margin of a position
  4426  	IncreasePositionMargin(context.Context, *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error)
  4427  	// DecreasePositionMargin defines a method for decreasing margin of a position
  4428  	DecreasePositionMargin(context.Context, *MsgDecreasePositionMargin) (*MsgDecreasePositionMarginResponse, error)
  4429  	// RewardsOptOut defines a method for opting out of rewards
  4430  	RewardsOptOut(context.Context, *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error)
  4431  	// AdminUpdateBinaryOptionsMarket defines method for updating a binary options
  4432  	// market by admin
  4433  	AdminUpdateBinaryOptionsMarket(context.Context, *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
  4434  	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
  4435  	// UpdateSpotMarket modifies certain spot market fields (admin only)
  4436  	UpdateSpotMarket(context.Context, *MsgUpdateSpotMarket) (*MsgUpdateSpotMarketResponse, error)
  4437  	// UpdateDerivativeMarket modifies certain derivative market fields (admin
  4438  	// only)
  4439  	UpdateDerivativeMarket(context.Context, *MsgUpdateDerivativeMarket) (*MsgUpdateDerivativeMarketResponse, error)
  4440  	AuthorizeStakeGrants(context.Context, *MsgAuthorizeStakeGrants) (*MsgAuthorizeStakeGrantsResponse, error)
  4441  	ActivateStakeGrant(context.Context, *MsgActivateStakeGrant) (*MsgActivateStakeGrantResponse, error)
  4442  }
  4443  
  4444  // UnimplementedMsgServer can be embedded to have forward compatible implementations.
  4445  type UnimplementedMsgServer struct {
  4446  }
  4447  
  4448  func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error) {
  4449  	return nil, status.Errorf(codes.Unimplemented, "method Deposit not implemented")
  4450  }
  4451  func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error) {
  4452  	return nil, status.Errorf(codes.Unimplemented, "method Withdraw not implemented")
  4453  }
  4454  func (*UnimplementedMsgServer) InstantSpotMarketLaunch(ctx context.Context, req *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error) {
  4455  	return nil, status.Errorf(codes.Unimplemented, "method InstantSpotMarketLaunch not implemented")
  4456  }
  4457  func (*UnimplementedMsgServer) InstantPerpetualMarketLaunch(ctx context.Context, req *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error) {
  4458  	return nil, status.Errorf(codes.Unimplemented, "method InstantPerpetualMarketLaunch not implemented")
  4459  }
  4460  func (*UnimplementedMsgServer) InstantExpiryFuturesMarketLaunch(ctx context.Context, req *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error) {
  4461  	return nil, status.Errorf(codes.Unimplemented, "method InstantExpiryFuturesMarketLaunch not implemented")
  4462  }
  4463  func (*UnimplementedMsgServer) CreateSpotLimitOrder(ctx context.Context, req *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error) {
  4464  	return nil, status.Errorf(codes.Unimplemented, "method CreateSpotLimitOrder not implemented")
  4465  }
  4466  func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders(ctx context.Context, req *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error) {
  4467  	return nil, status.Errorf(codes.Unimplemented, "method BatchCreateSpotLimitOrders not implemented")
  4468  }
  4469  func (*UnimplementedMsgServer) CreateSpotMarketOrder(ctx context.Context, req *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error) {
  4470  	return nil, status.Errorf(codes.Unimplemented, "method CreateSpotMarketOrder not implemented")
  4471  }
  4472  func (*UnimplementedMsgServer) CancelSpotOrder(ctx context.Context, req *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error) {
  4473  	return nil, status.Errorf(codes.Unimplemented, "method CancelSpotOrder not implemented")
  4474  }
  4475  func (*UnimplementedMsgServer) BatchCancelSpotOrders(ctx context.Context, req *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error) {
  4476  	return nil, status.Errorf(codes.Unimplemented, "method BatchCancelSpotOrders not implemented")
  4477  }
  4478  func (*UnimplementedMsgServer) BatchUpdateOrders(ctx context.Context, req *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error) {
  4479  	return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateOrders not implemented")
  4480  }
  4481  func (*UnimplementedMsgServer) PrivilegedExecuteContract(ctx context.Context, req *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error) {
  4482  	return nil, status.Errorf(codes.Unimplemented, "method PrivilegedExecuteContract not implemented")
  4483  }
  4484  func (*UnimplementedMsgServer) CreateDerivativeLimitOrder(ctx context.Context, req *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error) {
  4485  	return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeLimitOrder not implemented")
  4486  }
  4487  func (*UnimplementedMsgServer) BatchCreateDerivativeLimitOrders(ctx context.Context, req *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error) {
  4488  	return nil, status.Errorf(codes.Unimplemented, "method BatchCreateDerivativeLimitOrders not implemented")
  4489  }
  4490  func (*UnimplementedMsgServer) CreateDerivativeMarketOrder(ctx context.Context, req *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error) {
  4491  	return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeMarketOrder not implemented")
  4492  }
  4493  func (*UnimplementedMsgServer) CancelDerivativeOrder(ctx context.Context, req *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error) {
  4494  	return nil, status.Errorf(codes.Unimplemented, "method CancelDerivativeOrder not implemented")
  4495  }
  4496  func (*UnimplementedMsgServer) BatchCancelDerivativeOrders(ctx context.Context, req *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error) {
  4497  	return nil, status.Errorf(codes.Unimplemented, "method BatchCancelDerivativeOrders not implemented")
  4498  }
  4499  func (*UnimplementedMsgServer) InstantBinaryOptionsMarketLaunch(ctx context.Context, req *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error) {
  4500  	return nil, status.Errorf(codes.Unimplemented, "method InstantBinaryOptionsMarketLaunch not implemented")
  4501  }
  4502  func (*UnimplementedMsgServer) CreateBinaryOptionsLimitOrder(ctx context.Context, req *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error) {
  4503  	return nil, status.Errorf(codes.Unimplemented, "method CreateBinaryOptionsLimitOrder not implemented")
  4504  }
  4505  func (*UnimplementedMsgServer) CreateBinaryOptionsMarketOrder(ctx context.Context, req *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error) {
  4506  	return nil, status.Errorf(codes.Unimplemented, "method CreateBinaryOptionsMarketOrder not implemented")
  4507  }
  4508  func (*UnimplementedMsgServer) CancelBinaryOptionsOrder(ctx context.Context, req *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error) {
  4509  	return nil, status.Errorf(codes.Unimplemented, "method CancelBinaryOptionsOrder not implemented")
  4510  }
  4511  func (*UnimplementedMsgServer) BatchCancelBinaryOptionsOrders(ctx context.Context, req *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error) {
  4512  	return nil, status.Errorf(codes.Unimplemented, "method BatchCancelBinaryOptionsOrders not implemented")
  4513  }
  4514  func (*UnimplementedMsgServer) SubaccountTransfer(ctx context.Context, req *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error) {
  4515  	return nil, status.Errorf(codes.Unimplemented, "method SubaccountTransfer not implemented")
  4516  }
  4517  func (*UnimplementedMsgServer) ExternalTransfer(ctx context.Context, req *MsgExternalTransfer) (*MsgExternalTransferResponse, error) {
  4518  	return nil, status.Errorf(codes.Unimplemented, "method ExternalTransfer not implemented")
  4519  }
  4520  func (*UnimplementedMsgServer) LiquidatePosition(ctx context.Context, req *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error) {
  4521  	return nil, status.Errorf(codes.Unimplemented, "method LiquidatePosition not implemented")
  4522  }
  4523  func (*UnimplementedMsgServer) EmergencySettleMarket(ctx context.Context, req *MsgEmergencySettleMarket) (*MsgEmergencySettleMarketResponse, error) {
  4524  	return nil, status.Errorf(codes.Unimplemented, "method EmergencySettleMarket not implemented")
  4525  }
  4526  func (*UnimplementedMsgServer) IncreasePositionMargin(ctx context.Context, req *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error) {
  4527  	return nil, status.Errorf(codes.Unimplemented, "method IncreasePositionMargin not implemented")
  4528  }
  4529  func (*UnimplementedMsgServer) DecreasePositionMargin(ctx context.Context, req *MsgDecreasePositionMargin) (*MsgDecreasePositionMarginResponse, error) {
  4530  	return nil, status.Errorf(codes.Unimplemented, "method DecreasePositionMargin not implemented")
  4531  }
  4532  func (*UnimplementedMsgServer) RewardsOptOut(ctx context.Context, req *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error) {
  4533  	return nil, status.Errorf(codes.Unimplemented, "method RewardsOptOut not implemented")
  4534  }
  4535  func (*UnimplementedMsgServer) AdminUpdateBinaryOptionsMarket(ctx context.Context, req *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error) {
  4536  	return nil, status.Errorf(codes.Unimplemented, "method AdminUpdateBinaryOptionsMarket not implemented")
  4537  }
  4538  func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
  4539  	return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
  4540  }
  4541  func (*UnimplementedMsgServer) UpdateSpotMarket(ctx context.Context, req *MsgUpdateSpotMarket) (*MsgUpdateSpotMarketResponse, error) {
  4542  	return nil, status.Errorf(codes.Unimplemented, "method UpdateSpotMarket not implemented")
  4543  }
  4544  func (*UnimplementedMsgServer) UpdateDerivativeMarket(ctx context.Context, req *MsgUpdateDerivativeMarket) (*MsgUpdateDerivativeMarketResponse, error) {
  4545  	return nil, status.Errorf(codes.Unimplemented, "method UpdateDerivativeMarket not implemented")
  4546  }
  4547  func (*UnimplementedMsgServer) AuthorizeStakeGrants(ctx context.Context, req *MsgAuthorizeStakeGrants) (*MsgAuthorizeStakeGrantsResponse, error) {
  4548  	return nil, status.Errorf(codes.Unimplemented, "method AuthorizeStakeGrants not implemented")
  4549  }
  4550  func (*UnimplementedMsgServer) ActivateStakeGrant(ctx context.Context, req *MsgActivateStakeGrant) (*MsgActivateStakeGrantResponse, error) {
  4551  	return nil, status.Errorf(codes.Unimplemented, "method ActivateStakeGrant not implemented")
  4552  }
  4553  
  4554  func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
  4555  	s.RegisterService(&_Msg_serviceDesc, srv)
  4556  }
  4557  
  4558  func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4559  	in := new(MsgDeposit)
  4560  	if err := dec(in); err != nil {
  4561  		return nil, err
  4562  	}
  4563  	if interceptor == nil {
  4564  		return srv.(MsgServer).Deposit(ctx, in)
  4565  	}
  4566  	info := &grpc.UnaryServerInfo{
  4567  		Server:     srv,
  4568  		FullMethod: "/injective.exchange.v1beta1.Msg/Deposit",
  4569  	}
  4570  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4571  		return srv.(MsgServer).Deposit(ctx, req.(*MsgDeposit))
  4572  	}
  4573  	return interceptor(ctx, in, info, handler)
  4574  }
  4575  
  4576  func _Msg_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4577  	in := new(MsgWithdraw)
  4578  	if err := dec(in); err != nil {
  4579  		return nil, err
  4580  	}
  4581  	if interceptor == nil {
  4582  		return srv.(MsgServer).Withdraw(ctx, in)
  4583  	}
  4584  	info := &grpc.UnaryServerInfo{
  4585  		Server:     srv,
  4586  		FullMethod: "/injective.exchange.v1beta1.Msg/Withdraw",
  4587  	}
  4588  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4589  		return srv.(MsgServer).Withdraw(ctx, req.(*MsgWithdraw))
  4590  	}
  4591  	return interceptor(ctx, in, info, handler)
  4592  }
  4593  
  4594  func _Msg_InstantSpotMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4595  	in := new(MsgInstantSpotMarketLaunch)
  4596  	if err := dec(in); err != nil {
  4597  		return nil, err
  4598  	}
  4599  	if interceptor == nil {
  4600  		return srv.(MsgServer).InstantSpotMarketLaunch(ctx, in)
  4601  	}
  4602  	info := &grpc.UnaryServerInfo{
  4603  		Server:     srv,
  4604  		FullMethod: "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch",
  4605  	}
  4606  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4607  		return srv.(MsgServer).InstantSpotMarketLaunch(ctx, req.(*MsgInstantSpotMarketLaunch))
  4608  	}
  4609  	return interceptor(ctx, in, info, handler)
  4610  }
  4611  
  4612  func _Msg_InstantPerpetualMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4613  	in := new(MsgInstantPerpetualMarketLaunch)
  4614  	if err := dec(in); err != nil {
  4615  		return nil, err
  4616  	}
  4617  	if interceptor == nil {
  4618  		return srv.(MsgServer).InstantPerpetualMarketLaunch(ctx, in)
  4619  	}
  4620  	info := &grpc.UnaryServerInfo{
  4621  		Server:     srv,
  4622  		FullMethod: "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch",
  4623  	}
  4624  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4625  		return srv.(MsgServer).InstantPerpetualMarketLaunch(ctx, req.(*MsgInstantPerpetualMarketLaunch))
  4626  	}
  4627  	return interceptor(ctx, in, info, handler)
  4628  }
  4629  
  4630  func _Msg_InstantExpiryFuturesMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4631  	in := new(MsgInstantExpiryFuturesMarketLaunch)
  4632  	if err := dec(in); err != nil {
  4633  		return nil, err
  4634  	}
  4635  	if interceptor == nil {
  4636  		return srv.(MsgServer).InstantExpiryFuturesMarketLaunch(ctx, in)
  4637  	}
  4638  	info := &grpc.UnaryServerInfo{
  4639  		Server:     srv,
  4640  		FullMethod: "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch",
  4641  	}
  4642  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4643  		return srv.(MsgServer).InstantExpiryFuturesMarketLaunch(ctx, req.(*MsgInstantExpiryFuturesMarketLaunch))
  4644  	}
  4645  	return interceptor(ctx, in, info, handler)
  4646  }
  4647  
  4648  func _Msg_CreateSpotLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4649  	in := new(MsgCreateSpotLimitOrder)
  4650  	if err := dec(in); err != nil {
  4651  		return nil, err
  4652  	}
  4653  	if interceptor == nil {
  4654  		return srv.(MsgServer).CreateSpotLimitOrder(ctx, in)
  4655  	}
  4656  	info := &grpc.UnaryServerInfo{
  4657  		Server:     srv,
  4658  		FullMethod: "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder",
  4659  	}
  4660  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4661  		return srv.(MsgServer).CreateSpotLimitOrder(ctx, req.(*MsgCreateSpotLimitOrder))
  4662  	}
  4663  	return interceptor(ctx, in, info, handler)
  4664  }
  4665  
  4666  func _Msg_BatchCreateSpotLimitOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4667  	in := new(MsgBatchCreateSpotLimitOrders)
  4668  	if err := dec(in); err != nil {
  4669  		return nil, err
  4670  	}
  4671  	if interceptor == nil {
  4672  		return srv.(MsgServer).BatchCreateSpotLimitOrders(ctx, in)
  4673  	}
  4674  	info := &grpc.UnaryServerInfo{
  4675  		Server:     srv,
  4676  		FullMethod: "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders",
  4677  	}
  4678  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4679  		return srv.(MsgServer).BatchCreateSpotLimitOrders(ctx, req.(*MsgBatchCreateSpotLimitOrders))
  4680  	}
  4681  	return interceptor(ctx, in, info, handler)
  4682  }
  4683  
  4684  func _Msg_CreateSpotMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4685  	in := new(MsgCreateSpotMarketOrder)
  4686  	if err := dec(in); err != nil {
  4687  		return nil, err
  4688  	}
  4689  	if interceptor == nil {
  4690  		return srv.(MsgServer).CreateSpotMarketOrder(ctx, in)
  4691  	}
  4692  	info := &grpc.UnaryServerInfo{
  4693  		Server:     srv,
  4694  		FullMethod: "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder",
  4695  	}
  4696  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4697  		return srv.(MsgServer).CreateSpotMarketOrder(ctx, req.(*MsgCreateSpotMarketOrder))
  4698  	}
  4699  	return interceptor(ctx, in, info, handler)
  4700  }
  4701  
  4702  func _Msg_CancelSpotOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4703  	in := new(MsgCancelSpotOrder)
  4704  	if err := dec(in); err != nil {
  4705  		return nil, err
  4706  	}
  4707  	if interceptor == nil {
  4708  		return srv.(MsgServer).CancelSpotOrder(ctx, in)
  4709  	}
  4710  	info := &grpc.UnaryServerInfo{
  4711  		Server:     srv,
  4712  		FullMethod: "/injective.exchange.v1beta1.Msg/CancelSpotOrder",
  4713  	}
  4714  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4715  		return srv.(MsgServer).CancelSpotOrder(ctx, req.(*MsgCancelSpotOrder))
  4716  	}
  4717  	return interceptor(ctx, in, info, handler)
  4718  }
  4719  
  4720  func _Msg_BatchCancelSpotOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4721  	in := new(MsgBatchCancelSpotOrders)
  4722  	if err := dec(in); err != nil {
  4723  		return nil, err
  4724  	}
  4725  	if interceptor == nil {
  4726  		return srv.(MsgServer).BatchCancelSpotOrders(ctx, in)
  4727  	}
  4728  	info := &grpc.UnaryServerInfo{
  4729  		Server:     srv,
  4730  		FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders",
  4731  	}
  4732  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4733  		return srv.(MsgServer).BatchCancelSpotOrders(ctx, req.(*MsgBatchCancelSpotOrders))
  4734  	}
  4735  	return interceptor(ctx, in, info, handler)
  4736  }
  4737  
  4738  func _Msg_BatchUpdateOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4739  	in := new(MsgBatchUpdateOrders)
  4740  	if err := dec(in); err != nil {
  4741  		return nil, err
  4742  	}
  4743  	if interceptor == nil {
  4744  		return srv.(MsgServer).BatchUpdateOrders(ctx, in)
  4745  	}
  4746  	info := &grpc.UnaryServerInfo{
  4747  		Server:     srv,
  4748  		FullMethod: "/injective.exchange.v1beta1.Msg/BatchUpdateOrders",
  4749  	}
  4750  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4751  		return srv.(MsgServer).BatchUpdateOrders(ctx, req.(*MsgBatchUpdateOrders))
  4752  	}
  4753  	return interceptor(ctx, in, info, handler)
  4754  }
  4755  
  4756  func _Msg_PrivilegedExecuteContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4757  	in := new(MsgPrivilegedExecuteContract)
  4758  	if err := dec(in); err != nil {
  4759  		return nil, err
  4760  	}
  4761  	if interceptor == nil {
  4762  		return srv.(MsgServer).PrivilegedExecuteContract(ctx, in)
  4763  	}
  4764  	info := &grpc.UnaryServerInfo{
  4765  		Server:     srv,
  4766  		FullMethod: "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract",
  4767  	}
  4768  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4769  		return srv.(MsgServer).PrivilegedExecuteContract(ctx, req.(*MsgPrivilegedExecuteContract))
  4770  	}
  4771  	return interceptor(ctx, in, info, handler)
  4772  }
  4773  
  4774  func _Msg_CreateDerivativeLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4775  	in := new(MsgCreateDerivativeLimitOrder)
  4776  	if err := dec(in); err != nil {
  4777  		return nil, err
  4778  	}
  4779  	if interceptor == nil {
  4780  		return srv.(MsgServer).CreateDerivativeLimitOrder(ctx, in)
  4781  	}
  4782  	info := &grpc.UnaryServerInfo{
  4783  		Server:     srv,
  4784  		FullMethod: "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder",
  4785  	}
  4786  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4787  		return srv.(MsgServer).CreateDerivativeLimitOrder(ctx, req.(*MsgCreateDerivativeLimitOrder))
  4788  	}
  4789  	return interceptor(ctx, in, info, handler)
  4790  }
  4791  
  4792  func _Msg_BatchCreateDerivativeLimitOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4793  	in := new(MsgBatchCreateDerivativeLimitOrders)
  4794  	if err := dec(in); err != nil {
  4795  		return nil, err
  4796  	}
  4797  	if interceptor == nil {
  4798  		return srv.(MsgServer).BatchCreateDerivativeLimitOrders(ctx, in)
  4799  	}
  4800  	info := &grpc.UnaryServerInfo{
  4801  		Server:     srv,
  4802  		FullMethod: "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders",
  4803  	}
  4804  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4805  		return srv.(MsgServer).BatchCreateDerivativeLimitOrders(ctx, req.(*MsgBatchCreateDerivativeLimitOrders))
  4806  	}
  4807  	return interceptor(ctx, in, info, handler)
  4808  }
  4809  
  4810  func _Msg_CreateDerivativeMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4811  	in := new(MsgCreateDerivativeMarketOrder)
  4812  	if err := dec(in); err != nil {
  4813  		return nil, err
  4814  	}
  4815  	if interceptor == nil {
  4816  		return srv.(MsgServer).CreateDerivativeMarketOrder(ctx, in)
  4817  	}
  4818  	info := &grpc.UnaryServerInfo{
  4819  		Server:     srv,
  4820  		FullMethod: "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder",
  4821  	}
  4822  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4823  		return srv.(MsgServer).CreateDerivativeMarketOrder(ctx, req.(*MsgCreateDerivativeMarketOrder))
  4824  	}
  4825  	return interceptor(ctx, in, info, handler)
  4826  }
  4827  
  4828  func _Msg_CancelDerivativeOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4829  	in := new(MsgCancelDerivativeOrder)
  4830  	if err := dec(in); err != nil {
  4831  		return nil, err
  4832  	}
  4833  	if interceptor == nil {
  4834  		return srv.(MsgServer).CancelDerivativeOrder(ctx, in)
  4835  	}
  4836  	info := &grpc.UnaryServerInfo{
  4837  		Server:     srv,
  4838  		FullMethod: "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder",
  4839  	}
  4840  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4841  		return srv.(MsgServer).CancelDerivativeOrder(ctx, req.(*MsgCancelDerivativeOrder))
  4842  	}
  4843  	return interceptor(ctx, in, info, handler)
  4844  }
  4845  
  4846  func _Msg_BatchCancelDerivativeOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4847  	in := new(MsgBatchCancelDerivativeOrders)
  4848  	if err := dec(in); err != nil {
  4849  		return nil, err
  4850  	}
  4851  	if interceptor == nil {
  4852  		return srv.(MsgServer).BatchCancelDerivativeOrders(ctx, in)
  4853  	}
  4854  	info := &grpc.UnaryServerInfo{
  4855  		Server:     srv,
  4856  		FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders",
  4857  	}
  4858  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4859  		return srv.(MsgServer).BatchCancelDerivativeOrders(ctx, req.(*MsgBatchCancelDerivativeOrders))
  4860  	}
  4861  	return interceptor(ctx, in, info, handler)
  4862  }
  4863  
  4864  func _Msg_InstantBinaryOptionsMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4865  	in := new(MsgInstantBinaryOptionsMarketLaunch)
  4866  	if err := dec(in); err != nil {
  4867  		return nil, err
  4868  	}
  4869  	if interceptor == nil {
  4870  		return srv.(MsgServer).InstantBinaryOptionsMarketLaunch(ctx, in)
  4871  	}
  4872  	info := &grpc.UnaryServerInfo{
  4873  		Server:     srv,
  4874  		FullMethod: "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch",
  4875  	}
  4876  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4877  		return srv.(MsgServer).InstantBinaryOptionsMarketLaunch(ctx, req.(*MsgInstantBinaryOptionsMarketLaunch))
  4878  	}
  4879  	return interceptor(ctx, in, info, handler)
  4880  }
  4881  
  4882  func _Msg_CreateBinaryOptionsLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4883  	in := new(MsgCreateBinaryOptionsLimitOrder)
  4884  	if err := dec(in); err != nil {
  4885  		return nil, err
  4886  	}
  4887  	if interceptor == nil {
  4888  		return srv.(MsgServer).CreateBinaryOptionsLimitOrder(ctx, in)
  4889  	}
  4890  	info := &grpc.UnaryServerInfo{
  4891  		Server:     srv,
  4892  		FullMethod: "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder",
  4893  	}
  4894  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4895  		return srv.(MsgServer).CreateBinaryOptionsLimitOrder(ctx, req.(*MsgCreateBinaryOptionsLimitOrder))
  4896  	}
  4897  	return interceptor(ctx, in, info, handler)
  4898  }
  4899  
  4900  func _Msg_CreateBinaryOptionsMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4901  	in := new(MsgCreateBinaryOptionsMarketOrder)
  4902  	if err := dec(in); err != nil {
  4903  		return nil, err
  4904  	}
  4905  	if interceptor == nil {
  4906  		return srv.(MsgServer).CreateBinaryOptionsMarketOrder(ctx, in)
  4907  	}
  4908  	info := &grpc.UnaryServerInfo{
  4909  		Server:     srv,
  4910  		FullMethod: "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder",
  4911  	}
  4912  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4913  		return srv.(MsgServer).CreateBinaryOptionsMarketOrder(ctx, req.(*MsgCreateBinaryOptionsMarketOrder))
  4914  	}
  4915  	return interceptor(ctx, in, info, handler)
  4916  }
  4917  
  4918  func _Msg_CancelBinaryOptionsOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4919  	in := new(MsgCancelBinaryOptionsOrder)
  4920  	if err := dec(in); err != nil {
  4921  		return nil, err
  4922  	}
  4923  	if interceptor == nil {
  4924  		return srv.(MsgServer).CancelBinaryOptionsOrder(ctx, in)
  4925  	}
  4926  	info := &grpc.UnaryServerInfo{
  4927  		Server:     srv,
  4928  		FullMethod: "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder",
  4929  	}
  4930  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4931  		return srv.(MsgServer).CancelBinaryOptionsOrder(ctx, req.(*MsgCancelBinaryOptionsOrder))
  4932  	}
  4933  	return interceptor(ctx, in, info, handler)
  4934  }
  4935  
  4936  func _Msg_BatchCancelBinaryOptionsOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4937  	in := new(MsgBatchCancelBinaryOptionsOrders)
  4938  	if err := dec(in); err != nil {
  4939  		return nil, err
  4940  	}
  4941  	if interceptor == nil {
  4942  		return srv.(MsgServer).BatchCancelBinaryOptionsOrders(ctx, in)
  4943  	}
  4944  	info := &grpc.UnaryServerInfo{
  4945  		Server:     srv,
  4946  		FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders",
  4947  	}
  4948  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4949  		return srv.(MsgServer).BatchCancelBinaryOptionsOrders(ctx, req.(*MsgBatchCancelBinaryOptionsOrders))
  4950  	}
  4951  	return interceptor(ctx, in, info, handler)
  4952  }
  4953  
  4954  func _Msg_SubaccountTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4955  	in := new(MsgSubaccountTransfer)
  4956  	if err := dec(in); err != nil {
  4957  		return nil, err
  4958  	}
  4959  	if interceptor == nil {
  4960  		return srv.(MsgServer).SubaccountTransfer(ctx, in)
  4961  	}
  4962  	info := &grpc.UnaryServerInfo{
  4963  		Server:     srv,
  4964  		FullMethod: "/injective.exchange.v1beta1.Msg/SubaccountTransfer",
  4965  	}
  4966  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4967  		return srv.(MsgServer).SubaccountTransfer(ctx, req.(*MsgSubaccountTransfer))
  4968  	}
  4969  	return interceptor(ctx, in, info, handler)
  4970  }
  4971  
  4972  func _Msg_ExternalTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4973  	in := new(MsgExternalTransfer)
  4974  	if err := dec(in); err != nil {
  4975  		return nil, err
  4976  	}
  4977  	if interceptor == nil {
  4978  		return srv.(MsgServer).ExternalTransfer(ctx, in)
  4979  	}
  4980  	info := &grpc.UnaryServerInfo{
  4981  		Server:     srv,
  4982  		FullMethod: "/injective.exchange.v1beta1.Msg/ExternalTransfer",
  4983  	}
  4984  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4985  		return srv.(MsgServer).ExternalTransfer(ctx, req.(*MsgExternalTransfer))
  4986  	}
  4987  	return interceptor(ctx, in, info, handler)
  4988  }
  4989  
  4990  func _Msg_LiquidatePosition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4991  	in := new(MsgLiquidatePosition)
  4992  	if err := dec(in); err != nil {
  4993  		return nil, err
  4994  	}
  4995  	if interceptor == nil {
  4996  		return srv.(MsgServer).LiquidatePosition(ctx, in)
  4997  	}
  4998  	info := &grpc.UnaryServerInfo{
  4999  		Server:     srv,
  5000  		FullMethod: "/injective.exchange.v1beta1.Msg/LiquidatePosition",
  5001  	}
  5002  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5003  		return srv.(MsgServer).LiquidatePosition(ctx, req.(*MsgLiquidatePosition))
  5004  	}
  5005  	return interceptor(ctx, in, info, handler)
  5006  }
  5007  
  5008  func _Msg_EmergencySettleMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5009  	in := new(MsgEmergencySettleMarket)
  5010  	if err := dec(in); err != nil {
  5011  		return nil, err
  5012  	}
  5013  	if interceptor == nil {
  5014  		return srv.(MsgServer).EmergencySettleMarket(ctx, in)
  5015  	}
  5016  	info := &grpc.UnaryServerInfo{
  5017  		Server:     srv,
  5018  		FullMethod: "/injective.exchange.v1beta1.Msg/EmergencySettleMarket",
  5019  	}
  5020  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5021  		return srv.(MsgServer).EmergencySettleMarket(ctx, req.(*MsgEmergencySettleMarket))
  5022  	}
  5023  	return interceptor(ctx, in, info, handler)
  5024  }
  5025  
  5026  func _Msg_IncreasePositionMargin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5027  	in := new(MsgIncreasePositionMargin)
  5028  	if err := dec(in); err != nil {
  5029  		return nil, err
  5030  	}
  5031  	if interceptor == nil {
  5032  		return srv.(MsgServer).IncreasePositionMargin(ctx, in)
  5033  	}
  5034  	info := &grpc.UnaryServerInfo{
  5035  		Server:     srv,
  5036  		FullMethod: "/injective.exchange.v1beta1.Msg/IncreasePositionMargin",
  5037  	}
  5038  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5039  		return srv.(MsgServer).IncreasePositionMargin(ctx, req.(*MsgIncreasePositionMargin))
  5040  	}
  5041  	return interceptor(ctx, in, info, handler)
  5042  }
  5043  
  5044  func _Msg_DecreasePositionMargin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5045  	in := new(MsgDecreasePositionMargin)
  5046  	if err := dec(in); err != nil {
  5047  		return nil, err
  5048  	}
  5049  	if interceptor == nil {
  5050  		return srv.(MsgServer).DecreasePositionMargin(ctx, in)
  5051  	}
  5052  	info := &grpc.UnaryServerInfo{
  5053  		Server:     srv,
  5054  		FullMethod: "/injective.exchange.v1beta1.Msg/DecreasePositionMargin",
  5055  	}
  5056  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5057  		return srv.(MsgServer).DecreasePositionMargin(ctx, req.(*MsgDecreasePositionMargin))
  5058  	}
  5059  	return interceptor(ctx, in, info, handler)
  5060  }
  5061  
  5062  func _Msg_RewardsOptOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5063  	in := new(MsgRewardsOptOut)
  5064  	if err := dec(in); err != nil {
  5065  		return nil, err
  5066  	}
  5067  	if interceptor == nil {
  5068  		return srv.(MsgServer).RewardsOptOut(ctx, in)
  5069  	}
  5070  	info := &grpc.UnaryServerInfo{
  5071  		Server:     srv,
  5072  		FullMethod: "/injective.exchange.v1beta1.Msg/RewardsOptOut",
  5073  	}
  5074  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5075  		return srv.(MsgServer).RewardsOptOut(ctx, req.(*MsgRewardsOptOut))
  5076  	}
  5077  	return interceptor(ctx, in, info, handler)
  5078  }
  5079  
  5080  func _Msg_AdminUpdateBinaryOptionsMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5081  	in := new(MsgAdminUpdateBinaryOptionsMarket)
  5082  	if err := dec(in); err != nil {
  5083  		return nil, err
  5084  	}
  5085  	if interceptor == nil {
  5086  		return srv.(MsgServer).AdminUpdateBinaryOptionsMarket(ctx, in)
  5087  	}
  5088  	info := &grpc.UnaryServerInfo{
  5089  		Server:     srv,
  5090  		FullMethod: "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket",
  5091  	}
  5092  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5093  		return srv.(MsgServer).AdminUpdateBinaryOptionsMarket(ctx, req.(*MsgAdminUpdateBinaryOptionsMarket))
  5094  	}
  5095  	return interceptor(ctx, in, info, handler)
  5096  }
  5097  
  5098  func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5099  	in := new(MsgUpdateParams)
  5100  	if err := dec(in); err != nil {
  5101  		return nil, err
  5102  	}
  5103  	if interceptor == nil {
  5104  		return srv.(MsgServer).UpdateParams(ctx, in)
  5105  	}
  5106  	info := &grpc.UnaryServerInfo{
  5107  		Server:     srv,
  5108  		FullMethod: "/injective.exchange.v1beta1.Msg/UpdateParams",
  5109  	}
  5110  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5111  		return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
  5112  	}
  5113  	return interceptor(ctx, in, info, handler)
  5114  }
  5115  
  5116  func _Msg_UpdateSpotMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5117  	in := new(MsgUpdateSpotMarket)
  5118  	if err := dec(in); err != nil {
  5119  		return nil, err
  5120  	}
  5121  	if interceptor == nil {
  5122  		return srv.(MsgServer).UpdateSpotMarket(ctx, in)
  5123  	}
  5124  	info := &grpc.UnaryServerInfo{
  5125  		Server:     srv,
  5126  		FullMethod: "/injective.exchange.v1beta1.Msg/UpdateSpotMarket",
  5127  	}
  5128  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5129  		return srv.(MsgServer).UpdateSpotMarket(ctx, req.(*MsgUpdateSpotMarket))
  5130  	}
  5131  	return interceptor(ctx, in, info, handler)
  5132  }
  5133  
  5134  func _Msg_UpdateDerivativeMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5135  	in := new(MsgUpdateDerivativeMarket)
  5136  	if err := dec(in); err != nil {
  5137  		return nil, err
  5138  	}
  5139  	if interceptor == nil {
  5140  		return srv.(MsgServer).UpdateDerivativeMarket(ctx, in)
  5141  	}
  5142  	info := &grpc.UnaryServerInfo{
  5143  		Server:     srv,
  5144  		FullMethod: "/injective.exchange.v1beta1.Msg/UpdateDerivativeMarket",
  5145  	}
  5146  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5147  		return srv.(MsgServer).UpdateDerivativeMarket(ctx, req.(*MsgUpdateDerivativeMarket))
  5148  	}
  5149  	return interceptor(ctx, in, info, handler)
  5150  }
  5151  
  5152  func _Msg_AuthorizeStakeGrants_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5153  	in := new(MsgAuthorizeStakeGrants)
  5154  	if err := dec(in); err != nil {
  5155  		return nil, err
  5156  	}
  5157  	if interceptor == nil {
  5158  		return srv.(MsgServer).AuthorizeStakeGrants(ctx, in)
  5159  	}
  5160  	info := &grpc.UnaryServerInfo{
  5161  		Server:     srv,
  5162  		FullMethod: "/injective.exchange.v1beta1.Msg/AuthorizeStakeGrants",
  5163  	}
  5164  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5165  		return srv.(MsgServer).AuthorizeStakeGrants(ctx, req.(*MsgAuthorizeStakeGrants))
  5166  	}
  5167  	return interceptor(ctx, in, info, handler)
  5168  }
  5169  
  5170  func _Msg_ActivateStakeGrant_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5171  	in := new(MsgActivateStakeGrant)
  5172  	if err := dec(in); err != nil {
  5173  		return nil, err
  5174  	}
  5175  	if interceptor == nil {
  5176  		return srv.(MsgServer).ActivateStakeGrant(ctx, in)
  5177  	}
  5178  	info := &grpc.UnaryServerInfo{
  5179  		Server:     srv,
  5180  		FullMethod: "/injective.exchange.v1beta1.Msg/ActivateStakeGrant",
  5181  	}
  5182  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5183  		return srv.(MsgServer).ActivateStakeGrant(ctx, req.(*MsgActivateStakeGrant))
  5184  	}
  5185  	return interceptor(ctx, in, info, handler)
  5186  }
  5187  
  5188  var _Msg_serviceDesc = grpc.ServiceDesc{
  5189  	ServiceName: "injective.exchange.v1beta1.Msg",
  5190  	HandlerType: (*MsgServer)(nil),
  5191  	Methods: []grpc.MethodDesc{
  5192  		{
  5193  			MethodName: "Deposit",
  5194  			Handler:    _Msg_Deposit_Handler,
  5195  		},
  5196  		{
  5197  			MethodName: "Withdraw",
  5198  			Handler:    _Msg_Withdraw_Handler,
  5199  		},
  5200  		{
  5201  			MethodName: "InstantSpotMarketLaunch",
  5202  			Handler:    _Msg_InstantSpotMarketLaunch_Handler,
  5203  		},
  5204  		{
  5205  			MethodName: "InstantPerpetualMarketLaunch",
  5206  			Handler:    _Msg_InstantPerpetualMarketLaunch_Handler,
  5207  		},
  5208  		{
  5209  			MethodName: "InstantExpiryFuturesMarketLaunch",
  5210  			Handler:    _Msg_InstantExpiryFuturesMarketLaunch_Handler,
  5211  		},
  5212  		{
  5213  			MethodName: "CreateSpotLimitOrder",
  5214  			Handler:    _Msg_CreateSpotLimitOrder_Handler,
  5215  		},
  5216  		{
  5217  			MethodName: "BatchCreateSpotLimitOrders",
  5218  			Handler:    _Msg_BatchCreateSpotLimitOrders_Handler,
  5219  		},
  5220  		{
  5221  			MethodName: "CreateSpotMarketOrder",
  5222  			Handler:    _Msg_CreateSpotMarketOrder_Handler,
  5223  		},
  5224  		{
  5225  			MethodName: "CancelSpotOrder",
  5226  			Handler:    _Msg_CancelSpotOrder_Handler,
  5227  		},
  5228  		{
  5229  			MethodName: "BatchCancelSpotOrders",
  5230  			Handler:    _Msg_BatchCancelSpotOrders_Handler,
  5231  		},
  5232  		{
  5233  			MethodName: "BatchUpdateOrders",
  5234  			Handler:    _Msg_BatchUpdateOrders_Handler,
  5235  		},
  5236  		{
  5237  			MethodName: "PrivilegedExecuteContract",
  5238  			Handler:    _Msg_PrivilegedExecuteContract_Handler,
  5239  		},
  5240  		{
  5241  			MethodName: "CreateDerivativeLimitOrder",
  5242  			Handler:    _Msg_CreateDerivativeLimitOrder_Handler,
  5243  		},
  5244  		{
  5245  			MethodName: "BatchCreateDerivativeLimitOrders",
  5246  			Handler:    _Msg_BatchCreateDerivativeLimitOrders_Handler,
  5247  		},
  5248  		{
  5249  			MethodName: "CreateDerivativeMarketOrder",
  5250  			Handler:    _Msg_CreateDerivativeMarketOrder_Handler,
  5251  		},
  5252  		{
  5253  			MethodName: "CancelDerivativeOrder",
  5254  			Handler:    _Msg_CancelDerivativeOrder_Handler,
  5255  		},
  5256  		{
  5257  			MethodName: "BatchCancelDerivativeOrders",
  5258  			Handler:    _Msg_BatchCancelDerivativeOrders_Handler,
  5259  		},
  5260  		{
  5261  			MethodName: "InstantBinaryOptionsMarketLaunch",
  5262  			Handler:    _Msg_InstantBinaryOptionsMarketLaunch_Handler,
  5263  		},
  5264  		{
  5265  			MethodName: "CreateBinaryOptionsLimitOrder",
  5266  			Handler:    _Msg_CreateBinaryOptionsLimitOrder_Handler,
  5267  		},
  5268  		{
  5269  			MethodName: "CreateBinaryOptionsMarketOrder",
  5270  			Handler:    _Msg_CreateBinaryOptionsMarketOrder_Handler,
  5271  		},
  5272  		{
  5273  			MethodName: "CancelBinaryOptionsOrder",
  5274  			Handler:    _Msg_CancelBinaryOptionsOrder_Handler,
  5275  		},
  5276  		{
  5277  			MethodName: "BatchCancelBinaryOptionsOrders",
  5278  			Handler:    _Msg_BatchCancelBinaryOptionsOrders_Handler,
  5279  		},
  5280  		{
  5281  			MethodName: "SubaccountTransfer",
  5282  			Handler:    _Msg_SubaccountTransfer_Handler,
  5283  		},
  5284  		{
  5285  			MethodName: "ExternalTransfer",
  5286  			Handler:    _Msg_ExternalTransfer_Handler,
  5287  		},
  5288  		{
  5289  			MethodName: "LiquidatePosition",
  5290  			Handler:    _Msg_LiquidatePosition_Handler,
  5291  		},
  5292  		{
  5293  			MethodName: "EmergencySettleMarket",
  5294  			Handler:    _Msg_EmergencySettleMarket_Handler,
  5295  		},
  5296  		{
  5297  			MethodName: "IncreasePositionMargin",
  5298  			Handler:    _Msg_IncreasePositionMargin_Handler,
  5299  		},
  5300  		{
  5301  			MethodName: "DecreasePositionMargin",
  5302  			Handler:    _Msg_DecreasePositionMargin_Handler,
  5303  		},
  5304  		{
  5305  			MethodName: "RewardsOptOut",
  5306  			Handler:    _Msg_RewardsOptOut_Handler,
  5307  		},
  5308  		{
  5309  			MethodName: "AdminUpdateBinaryOptionsMarket",
  5310  			Handler:    _Msg_AdminUpdateBinaryOptionsMarket_Handler,
  5311  		},
  5312  		{
  5313  			MethodName: "UpdateParams",
  5314  			Handler:    _Msg_UpdateParams_Handler,
  5315  		},
  5316  		{
  5317  			MethodName: "UpdateSpotMarket",
  5318  			Handler:    _Msg_UpdateSpotMarket_Handler,
  5319  		},
  5320  		{
  5321  			MethodName: "UpdateDerivativeMarket",
  5322  			Handler:    _Msg_UpdateDerivativeMarket_Handler,
  5323  		},
  5324  		{
  5325  			MethodName: "AuthorizeStakeGrants",
  5326  			Handler:    _Msg_AuthorizeStakeGrants_Handler,
  5327  		},
  5328  		{
  5329  			MethodName: "ActivateStakeGrant",
  5330  			Handler:    _Msg_ActivateStakeGrant_Handler,
  5331  		},
  5332  	},
  5333  	Streams:  []grpc.StreamDesc{},
  5334  	Metadata: "injective/exchange/v1beta1/tx.proto",
  5335  }
  5336  
  5337  func (m *MsgUpdateSpotMarket) Marshal() (dAtA []byte, err error) {
  5338  	size := m.Size()
  5339  	dAtA = make([]byte, size)
  5340  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5341  	if err != nil {
  5342  		return nil, err
  5343  	}
  5344  	return dAtA[:n], nil
  5345  }
  5346  
  5347  func (m *MsgUpdateSpotMarket) MarshalTo(dAtA []byte) (int, error) {
  5348  	size := m.Size()
  5349  	return m.MarshalToSizedBuffer(dAtA[:size])
  5350  }
  5351  
  5352  func (m *MsgUpdateSpotMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5353  	i := len(dAtA)
  5354  	_ = i
  5355  	var l int
  5356  	_ = l
  5357  	{
  5358  		size := m.NewMinNotional.Size()
  5359  		i -= size
  5360  		if _, err := m.NewMinNotional.MarshalTo(dAtA[i:]); err != nil {
  5361  			return 0, err
  5362  		}
  5363  		i = encodeVarintTx(dAtA, i, uint64(size))
  5364  	}
  5365  	i--
  5366  	dAtA[i] = 0x32
  5367  	{
  5368  		size := m.NewMinQuantityTickSize.Size()
  5369  		i -= size
  5370  		if _, err := m.NewMinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
  5371  			return 0, err
  5372  		}
  5373  		i = encodeVarintTx(dAtA, i, uint64(size))
  5374  	}
  5375  	i--
  5376  	dAtA[i] = 0x2a
  5377  	{
  5378  		size := m.NewMinPriceTickSize.Size()
  5379  		i -= size
  5380  		if _, err := m.NewMinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
  5381  			return 0, err
  5382  		}
  5383  		i = encodeVarintTx(dAtA, i, uint64(size))
  5384  	}
  5385  	i--
  5386  	dAtA[i] = 0x22
  5387  	if len(m.NewTicker) > 0 {
  5388  		i -= len(m.NewTicker)
  5389  		copy(dAtA[i:], m.NewTicker)
  5390  		i = encodeVarintTx(dAtA, i, uint64(len(m.NewTicker)))
  5391  		i--
  5392  		dAtA[i] = 0x1a
  5393  	}
  5394  	if len(m.MarketId) > 0 {
  5395  		i -= len(m.MarketId)
  5396  		copy(dAtA[i:], m.MarketId)
  5397  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  5398  		i--
  5399  		dAtA[i] = 0x12
  5400  	}
  5401  	if len(m.Admin) > 0 {
  5402  		i -= len(m.Admin)
  5403  		copy(dAtA[i:], m.Admin)
  5404  		i = encodeVarintTx(dAtA, i, uint64(len(m.Admin)))
  5405  		i--
  5406  		dAtA[i] = 0xa
  5407  	}
  5408  	return len(dAtA) - i, nil
  5409  }
  5410  
  5411  func (m *MsgUpdateSpotMarketResponse) Marshal() (dAtA []byte, err error) {
  5412  	size := m.Size()
  5413  	dAtA = make([]byte, size)
  5414  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5415  	if err != nil {
  5416  		return nil, err
  5417  	}
  5418  	return dAtA[:n], nil
  5419  }
  5420  
  5421  func (m *MsgUpdateSpotMarketResponse) MarshalTo(dAtA []byte) (int, error) {
  5422  	size := m.Size()
  5423  	return m.MarshalToSizedBuffer(dAtA[:size])
  5424  }
  5425  
  5426  func (m *MsgUpdateSpotMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5427  	i := len(dAtA)
  5428  	_ = i
  5429  	var l int
  5430  	_ = l
  5431  	return len(dAtA) - i, nil
  5432  }
  5433  
  5434  func (m *MsgUpdateDerivativeMarket) Marshal() (dAtA []byte, err error) {
  5435  	size := m.Size()
  5436  	dAtA = make([]byte, size)
  5437  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5438  	if err != nil {
  5439  		return nil, err
  5440  	}
  5441  	return dAtA[:n], nil
  5442  }
  5443  
  5444  func (m *MsgUpdateDerivativeMarket) MarshalTo(dAtA []byte) (int, error) {
  5445  	size := m.Size()
  5446  	return m.MarshalToSizedBuffer(dAtA[:size])
  5447  }
  5448  
  5449  func (m *MsgUpdateDerivativeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5450  	i := len(dAtA)
  5451  	_ = i
  5452  	var l int
  5453  	_ = l
  5454  	{
  5455  		size := m.NewMaintenanceMarginRatio.Size()
  5456  		i -= size
  5457  		if _, err := m.NewMaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
  5458  			return 0, err
  5459  		}
  5460  		i = encodeVarintTx(dAtA, i, uint64(size))
  5461  	}
  5462  	i--
  5463  	dAtA[i] = 0x42
  5464  	{
  5465  		size := m.NewInitialMarginRatio.Size()
  5466  		i -= size
  5467  		if _, err := m.NewInitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
  5468  			return 0, err
  5469  		}
  5470  		i = encodeVarintTx(dAtA, i, uint64(size))
  5471  	}
  5472  	i--
  5473  	dAtA[i] = 0x3a
  5474  	{
  5475  		size := m.NewMinNotional.Size()
  5476  		i -= size
  5477  		if _, err := m.NewMinNotional.MarshalTo(dAtA[i:]); err != nil {
  5478  			return 0, err
  5479  		}
  5480  		i = encodeVarintTx(dAtA, i, uint64(size))
  5481  	}
  5482  	i--
  5483  	dAtA[i] = 0x32
  5484  	{
  5485  		size := m.NewMinQuantityTickSize.Size()
  5486  		i -= size
  5487  		if _, err := m.NewMinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
  5488  			return 0, err
  5489  		}
  5490  		i = encodeVarintTx(dAtA, i, uint64(size))
  5491  	}
  5492  	i--
  5493  	dAtA[i] = 0x2a
  5494  	{
  5495  		size := m.NewMinPriceTickSize.Size()
  5496  		i -= size
  5497  		if _, err := m.NewMinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
  5498  			return 0, err
  5499  		}
  5500  		i = encodeVarintTx(dAtA, i, uint64(size))
  5501  	}
  5502  	i--
  5503  	dAtA[i] = 0x22
  5504  	if len(m.NewTicker) > 0 {
  5505  		i -= len(m.NewTicker)
  5506  		copy(dAtA[i:], m.NewTicker)
  5507  		i = encodeVarintTx(dAtA, i, uint64(len(m.NewTicker)))
  5508  		i--
  5509  		dAtA[i] = 0x1a
  5510  	}
  5511  	if len(m.MarketId) > 0 {
  5512  		i -= len(m.MarketId)
  5513  		copy(dAtA[i:], m.MarketId)
  5514  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  5515  		i--
  5516  		dAtA[i] = 0x12
  5517  	}
  5518  	if len(m.Admin) > 0 {
  5519  		i -= len(m.Admin)
  5520  		copy(dAtA[i:], m.Admin)
  5521  		i = encodeVarintTx(dAtA, i, uint64(len(m.Admin)))
  5522  		i--
  5523  		dAtA[i] = 0xa
  5524  	}
  5525  	return len(dAtA) - i, nil
  5526  }
  5527  
  5528  func (m *MsgUpdateDerivativeMarketResponse) Marshal() (dAtA []byte, err error) {
  5529  	size := m.Size()
  5530  	dAtA = make([]byte, size)
  5531  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5532  	if err != nil {
  5533  		return nil, err
  5534  	}
  5535  	return dAtA[:n], nil
  5536  }
  5537  
  5538  func (m *MsgUpdateDerivativeMarketResponse) MarshalTo(dAtA []byte) (int, error) {
  5539  	size := m.Size()
  5540  	return m.MarshalToSizedBuffer(dAtA[:size])
  5541  }
  5542  
  5543  func (m *MsgUpdateDerivativeMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5544  	i := len(dAtA)
  5545  	_ = i
  5546  	var l int
  5547  	_ = l
  5548  	return len(dAtA) - i, nil
  5549  }
  5550  
  5551  func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
  5552  	size := m.Size()
  5553  	dAtA = make([]byte, size)
  5554  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5555  	if err != nil {
  5556  		return nil, err
  5557  	}
  5558  	return dAtA[:n], nil
  5559  }
  5560  
  5561  func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) {
  5562  	size := m.Size()
  5563  	return m.MarshalToSizedBuffer(dAtA[:size])
  5564  }
  5565  
  5566  func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5567  	i := len(dAtA)
  5568  	_ = i
  5569  	var l int
  5570  	_ = l
  5571  	{
  5572  		size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
  5573  		if err != nil {
  5574  			return 0, err
  5575  		}
  5576  		i -= size
  5577  		i = encodeVarintTx(dAtA, i, uint64(size))
  5578  	}
  5579  	i--
  5580  	dAtA[i] = 0x12
  5581  	if len(m.Authority) > 0 {
  5582  		i -= len(m.Authority)
  5583  		copy(dAtA[i:], m.Authority)
  5584  		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
  5585  		i--
  5586  		dAtA[i] = 0xa
  5587  	}
  5588  	return len(dAtA) - i, nil
  5589  }
  5590  
  5591  func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) {
  5592  	size := m.Size()
  5593  	dAtA = make([]byte, size)
  5594  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5595  	if err != nil {
  5596  		return nil, err
  5597  	}
  5598  	return dAtA[:n], nil
  5599  }
  5600  
  5601  func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) {
  5602  	size := m.Size()
  5603  	return m.MarshalToSizedBuffer(dAtA[:size])
  5604  }
  5605  
  5606  func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5607  	i := len(dAtA)
  5608  	_ = i
  5609  	var l int
  5610  	_ = l
  5611  	return len(dAtA) - i, nil
  5612  }
  5613  
  5614  func (m *MsgDeposit) Marshal() (dAtA []byte, err error) {
  5615  	size := m.Size()
  5616  	dAtA = make([]byte, size)
  5617  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5618  	if err != nil {
  5619  		return nil, err
  5620  	}
  5621  	return dAtA[:n], nil
  5622  }
  5623  
  5624  func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error) {
  5625  	size := m.Size()
  5626  	return m.MarshalToSizedBuffer(dAtA[:size])
  5627  }
  5628  
  5629  func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5630  	i := len(dAtA)
  5631  	_ = i
  5632  	var l int
  5633  	_ = l
  5634  	{
  5635  		size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
  5636  		if err != nil {
  5637  			return 0, err
  5638  		}
  5639  		i -= size
  5640  		i = encodeVarintTx(dAtA, i, uint64(size))
  5641  	}
  5642  	i--
  5643  	dAtA[i] = 0x1a
  5644  	if len(m.SubaccountId) > 0 {
  5645  		i -= len(m.SubaccountId)
  5646  		copy(dAtA[i:], m.SubaccountId)
  5647  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  5648  		i--
  5649  		dAtA[i] = 0x12
  5650  	}
  5651  	if len(m.Sender) > 0 {
  5652  		i -= len(m.Sender)
  5653  		copy(dAtA[i:], m.Sender)
  5654  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  5655  		i--
  5656  		dAtA[i] = 0xa
  5657  	}
  5658  	return len(dAtA) - i, nil
  5659  }
  5660  
  5661  func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error) {
  5662  	size := m.Size()
  5663  	dAtA = make([]byte, size)
  5664  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5665  	if err != nil {
  5666  		return nil, err
  5667  	}
  5668  	return dAtA[:n], nil
  5669  }
  5670  
  5671  func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error) {
  5672  	size := m.Size()
  5673  	return m.MarshalToSizedBuffer(dAtA[:size])
  5674  }
  5675  
  5676  func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5677  	i := len(dAtA)
  5678  	_ = i
  5679  	var l int
  5680  	_ = l
  5681  	return len(dAtA) - i, nil
  5682  }
  5683  
  5684  func (m *MsgWithdraw) Marshal() (dAtA []byte, err error) {
  5685  	size := m.Size()
  5686  	dAtA = make([]byte, size)
  5687  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5688  	if err != nil {
  5689  		return nil, err
  5690  	}
  5691  	return dAtA[:n], nil
  5692  }
  5693  
  5694  func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error) {
  5695  	size := m.Size()
  5696  	return m.MarshalToSizedBuffer(dAtA[:size])
  5697  }
  5698  
  5699  func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5700  	i := len(dAtA)
  5701  	_ = i
  5702  	var l int
  5703  	_ = l
  5704  	{
  5705  		size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
  5706  		if err != nil {
  5707  			return 0, err
  5708  		}
  5709  		i -= size
  5710  		i = encodeVarintTx(dAtA, i, uint64(size))
  5711  	}
  5712  	i--
  5713  	dAtA[i] = 0x1a
  5714  	if len(m.SubaccountId) > 0 {
  5715  		i -= len(m.SubaccountId)
  5716  		copy(dAtA[i:], m.SubaccountId)
  5717  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  5718  		i--
  5719  		dAtA[i] = 0x12
  5720  	}
  5721  	if len(m.Sender) > 0 {
  5722  		i -= len(m.Sender)
  5723  		copy(dAtA[i:], m.Sender)
  5724  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  5725  		i--
  5726  		dAtA[i] = 0xa
  5727  	}
  5728  	return len(dAtA) - i, nil
  5729  }
  5730  
  5731  func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error) {
  5732  	size := m.Size()
  5733  	dAtA = make([]byte, size)
  5734  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5735  	if err != nil {
  5736  		return nil, err
  5737  	}
  5738  	return dAtA[:n], nil
  5739  }
  5740  
  5741  func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error) {
  5742  	size := m.Size()
  5743  	return m.MarshalToSizedBuffer(dAtA[:size])
  5744  }
  5745  
  5746  func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5747  	i := len(dAtA)
  5748  	_ = i
  5749  	var l int
  5750  	_ = l
  5751  	return len(dAtA) - i, nil
  5752  }
  5753  
  5754  func (m *MsgCreateSpotLimitOrder) Marshal() (dAtA []byte, err error) {
  5755  	size := m.Size()
  5756  	dAtA = make([]byte, size)
  5757  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5758  	if err != nil {
  5759  		return nil, err
  5760  	}
  5761  	return dAtA[:n], nil
  5762  }
  5763  
  5764  func (m *MsgCreateSpotLimitOrder) MarshalTo(dAtA []byte) (int, error) {
  5765  	size := m.Size()
  5766  	return m.MarshalToSizedBuffer(dAtA[:size])
  5767  }
  5768  
  5769  func (m *MsgCreateSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5770  	i := len(dAtA)
  5771  	_ = i
  5772  	var l int
  5773  	_ = l
  5774  	{
  5775  		size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  5776  		if err != nil {
  5777  			return 0, err
  5778  		}
  5779  		i -= size
  5780  		i = encodeVarintTx(dAtA, i, uint64(size))
  5781  	}
  5782  	i--
  5783  	dAtA[i] = 0x12
  5784  	if len(m.Sender) > 0 {
  5785  		i -= len(m.Sender)
  5786  		copy(dAtA[i:], m.Sender)
  5787  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  5788  		i--
  5789  		dAtA[i] = 0xa
  5790  	}
  5791  	return len(dAtA) - i, nil
  5792  }
  5793  
  5794  func (m *MsgCreateSpotLimitOrderResponse) Marshal() (dAtA []byte, err error) {
  5795  	size := m.Size()
  5796  	dAtA = make([]byte, size)
  5797  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5798  	if err != nil {
  5799  		return nil, err
  5800  	}
  5801  	return dAtA[:n], nil
  5802  }
  5803  
  5804  func (m *MsgCreateSpotLimitOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  5805  	size := m.Size()
  5806  	return m.MarshalToSizedBuffer(dAtA[:size])
  5807  }
  5808  
  5809  func (m *MsgCreateSpotLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5810  	i := len(dAtA)
  5811  	_ = i
  5812  	var l int
  5813  	_ = l
  5814  	if len(m.Cid) > 0 {
  5815  		i -= len(m.Cid)
  5816  		copy(dAtA[i:], m.Cid)
  5817  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  5818  		i--
  5819  		dAtA[i] = 0x12
  5820  	}
  5821  	if len(m.OrderHash) > 0 {
  5822  		i -= len(m.OrderHash)
  5823  		copy(dAtA[i:], m.OrderHash)
  5824  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  5825  		i--
  5826  		dAtA[i] = 0xa
  5827  	}
  5828  	return len(dAtA) - i, nil
  5829  }
  5830  
  5831  func (m *MsgBatchCreateSpotLimitOrders) Marshal() (dAtA []byte, err error) {
  5832  	size := m.Size()
  5833  	dAtA = make([]byte, size)
  5834  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5835  	if err != nil {
  5836  		return nil, err
  5837  	}
  5838  	return dAtA[:n], nil
  5839  }
  5840  
  5841  func (m *MsgBatchCreateSpotLimitOrders) MarshalTo(dAtA []byte) (int, error) {
  5842  	size := m.Size()
  5843  	return m.MarshalToSizedBuffer(dAtA[:size])
  5844  }
  5845  
  5846  func (m *MsgBatchCreateSpotLimitOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5847  	i := len(dAtA)
  5848  	_ = i
  5849  	var l int
  5850  	_ = l
  5851  	if len(m.Orders) > 0 {
  5852  		for iNdEx := len(m.Orders) - 1; iNdEx >= 0; iNdEx-- {
  5853  			{
  5854  				size, err := m.Orders[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5855  				if err != nil {
  5856  					return 0, err
  5857  				}
  5858  				i -= size
  5859  				i = encodeVarintTx(dAtA, i, uint64(size))
  5860  			}
  5861  			i--
  5862  			dAtA[i] = 0x12
  5863  		}
  5864  	}
  5865  	if len(m.Sender) > 0 {
  5866  		i -= len(m.Sender)
  5867  		copy(dAtA[i:], m.Sender)
  5868  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  5869  		i--
  5870  		dAtA[i] = 0xa
  5871  	}
  5872  	return len(dAtA) - i, nil
  5873  }
  5874  
  5875  func (m *MsgBatchCreateSpotLimitOrdersResponse) Marshal() (dAtA []byte, err error) {
  5876  	size := m.Size()
  5877  	dAtA = make([]byte, size)
  5878  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5879  	if err != nil {
  5880  		return nil, err
  5881  	}
  5882  	return dAtA[:n], nil
  5883  }
  5884  
  5885  func (m *MsgBatchCreateSpotLimitOrdersResponse) MarshalTo(dAtA []byte) (int, error) {
  5886  	size := m.Size()
  5887  	return m.MarshalToSizedBuffer(dAtA[:size])
  5888  }
  5889  
  5890  func (m *MsgBatchCreateSpotLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5891  	i := len(dAtA)
  5892  	_ = i
  5893  	var l int
  5894  	_ = l
  5895  	if len(m.FailedOrdersCids) > 0 {
  5896  		for iNdEx := len(m.FailedOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  5897  			i -= len(m.FailedOrdersCids[iNdEx])
  5898  			copy(dAtA[i:], m.FailedOrdersCids[iNdEx])
  5899  			i = encodeVarintTx(dAtA, i, uint64(len(m.FailedOrdersCids[iNdEx])))
  5900  			i--
  5901  			dAtA[i] = 0x1a
  5902  		}
  5903  	}
  5904  	if len(m.CreatedOrdersCids) > 0 {
  5905  		for iNdEx := len(m.CreatedOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  5906  			i -= len(m.CreatedOrdersCids[iNdEx])
  5907  			copy(dAtA[i:], m.CreatedOrdersCids[iNdEx])
  5908  			i = encodeVarintTx(dAtA, i, uint64(len(m.CreatedOrdersCids[iNdEx])))
  5909  			i--
  5910  			dAtA[i] = 0x12
  5911  		}
  5912  	}
  5913  	if len(m.OrderHashes) > 0 {
  5914  		for iNdEx := len(m.OrderHashes) - 1; iNdEx >= 0; iNdEx-- {
  5915  			i -= len(m.OrderHashes[iNdEx])
  5916  			copy(dAtA[i:], m.OrderHashes[iNdEx])
  5917  			i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHashes[iNdEx])))
  5918  			i--
  5919  			dAtA[i] = 0xa
  5920  		}
  5921  	}
  5922  	return len(dAtA) - i, nil
  5923  }
  5924  
  5925  func (m *MsgInstantSpotMarketLaunch) Marshal() (dAtA []byte, err error) {
  5926  	size := m.Size()
  5927  	dAtA = make([]byte, size)
  5928  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5929  	if err != nil {
  5930  		return nil, err
  5931  	}
  5932  	return dAtA[:n], nil
  5933  }
  5934  
  5935  func (m *MsgInstantSpotMarketLaunch) MarshalTo(dAtA []byte) (int, error) {
  5936  	size := m.Size()
  5937  	return m.MarshalToSizedBuffer(dAtA[:size])
  5938  }
  5939  
  5940  func (m *MsgInstantSpotMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5941  	i := len(dAtA)
  5942  	_ = i
  5943  	var l int
  5944  	_ = l
  5945  	{
  5946  		size := m.MinNotional.Size()
  5947  		i -= size
  5948  		if _, err := m.MinNotional.MarshalTo(dAtA[i:]); err != nil {
  5949  			return 0, err
  5950  		}
  5951  		i = encodeVarintTx(dAtA, i, uint64(size))
  5952  	}
  5953  	i--
  5954  	dAtA[i] = 0x3a
  5955  	{
  5956  		size := m.MinQuantityTickSize.Size()
  5957  		i -= size
  5958  		if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
  5959  			return 0, err
  5960  		}
  5961  		i = encodeVarintTx(dAtA, i, uint64(size))
  5962  	}
  5963  	i--
  5964  	dAtA[i] = 0x32
  5965  	{
  5966  		size := m.MinPriceTickSize.Size()
  5967  		i -= size
  5968  		if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
  5969  			return 0, err
  5970  		}
  5971  		i = encodeVarintTx(dAtA, i, uint64(size))
  5972  	}
  5973  	i--
  5974  	dAtA[i] = 0x2a
  5975  	if len(m.QuoteDenom) > 0 {
  5976  		i -= len(m.QuoteDenom)
  5977  		copy(dAtA[i:], m.QuoteDenom)
  5978  		i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
  5979  		i--
  5980  		dAtA[i] = 0x22
  5981  	}
  5982  	if len(m.BaseDenom) > 0 {
  5983  		i -= len(m.BaseDenom)
  5984  		copy(dAtA[i:], m.BaseDenom)
  5985  		i = encodeVarintTx(dAtA, i, uint64(len(m.BaseDenom)))
  5986  		i--
  5987  		dAtA[i] = 0x1a
  5988  	}
  5989  	if len(m.Ticker) > 0 {
  5990  		i -= len(m.Ticker)
  5991  		copy(dAtA[i:], m.Ticker)
  5992  		i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
  5993  		i--
  5994  		dAtA[i] = 0x12
  5995  	}
  5996  	if len(m.Sender) > 0 {
  5997  		i -= len(m.Sender)
  5998  		copy(dAtA[i:], m.Sender)
  5999  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6000  		i--
  6001  		dAtA[i] = 0xa
  6002  	}
  6003  	return len(dAtA) - i, nil
  6004  }
  6005  
  6006  func (m *MsgInstantSpotMarketLaunchResponse) Marshal() (dAtA []byte, err error) {
  6007  	size := m.Size()
  6008  	dAtA = make([]byte, size)
  6009  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6010  	if err != nil {
  6011  		return nil, err
  6012  	}
  6013  	return dAtA[:n], nil
  6014  }
  6015  
  6016  func (m *MsgInstantSpotMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error) {
  6017  	size := m.Size()
  6018  	return m.MarshalToSizedBuffer(dAtA[:size])
  6019  }
  6020  
  6021  func (m *MsgInstantSpotMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6022  	i := len(dAtA)
  6023  	_ = i
  6024  	var l int
  6025  	_ = l
  6026  	return len(dAtA) - i, nil
  6027  }
  6028  
  6029  func (m *MsgInstantPerpetualMarketLaunch) Marshal() (dAtA []byte, err error) {
  6030  	size := m.Size()
  6031  	dAtA = make([]byte, size)
  6032  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6033  	if err != nil {
  6034  		return nil, err
  6035  	}
  6036  	return dAtA[:n], nil
  6037  }
  6038  
  6039  func (m *MsgInstantPerpetualMarketLaunch) MarshalTo(dAtA []byte) (int, error) {
  6040  	size := m.Size()
  6041  	return m.MarshalToSizedBuffer(dAtA[:size])
  6042  }
  6043  
  6044  func (m *MsgInstantPerpetualMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6045  	i := len(dAtA)
  6046  	_ = i
  6047  	var l int
  6048  	_ = l
  6049  	{
  6050  		size := m.MinNotional.Size()
  6051  		i -= size
  6052  		if _, err := m.MinNotional.MarshalTo(dAtA[i:]); err != nil {
  6053  			return 0, err
  6054  		}
  6055  		i = encodeVarintTx(dAtA, i, uint64(size))
  6056  	}
  6057  	i--
  6058  	dAtA[i] = 0x72
  6059  	{
  6060  		size := m.MinQuantityTickSize.Size()
  6061  		i -= size
  6062  		if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
  6063  			return 0, err
  6064  		}
  6065  		i = encodeVarintTx(dAtA, i, uint64(size))
  6066  	}
  6067  	i--
  6068  	dAtA[i] = 0x6a
  6069  	{
  6070  		size := m.MinPriceTickSize.Size()
  6071  		i -= size
  6072  		if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
  6073  			return 0, err
  6074  		}
  6075  		i = encodeVarintTx(dAtA, i, uint64(size))
  6076  	}
  6077  	i--
  6078  	dAtA[i] = 0x62
  6079  	{
  6080  		size := m.MaintenanceMarginRatio.Size()
  6081  		i -= size
  6082  		if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
  6083  			return 0, err
  6084  		}
  6085  		i = encodeVarintTx(dAtA, i, uint64(size))
  6086  	}
  6087  	i--
  6088  	dAtA[i] = 0x5a
  6089  	{
  6090  		size := m.InitialMarginRatio.Size()
  6091  		i -= size
  6092  		if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
  6093  			return 0, err
  6094  		}
  6095  		i = encodeVarintTx(dAtA, i, uint64(size))
  6096  	}
  6097  	i--
  6098  	dAtA[i] = 0x52
  6099  	{
  6100  		size := m.TakerFeeRate.Size()
  6101  		i -= size
  6102  		if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
  6103  			return 0, err
  6104  		}
  6105  		i = encodeVarintTx(dAtA, i, uint64(size))
  6106  	}
  6107  	i--
  6108  	dAtA[i] = 0x4a
  6109  	{
  6110  		size := m.MakerFeeRate.Size()
  6111  		i -= size
  6112  		if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
  6113  			return 0, err
  6114  		}
  6115  		i = encodeVarintTx(dAtA, i, uint64(size))
  6116  	}
  6117  	i--
  6118  	dAtA[i] = 0x42
  6119  	if m.OracleType != 0 {
  6120  		i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
  6121  		i--
  6122  		dAtA[i] = 0x38
  6123  	}
  6124  	if m.OracleScaleFactor != 0 {
  6125  		i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
  6126  		i--
  6127  		dAtA[i] = 0x30
  6128  	}
  6129  	if len(m.OracleQuote) > 0 {
  6130  		i -= len(m.OracleQuote)
  6131  		copy(dAtA[i:], m.OracleQuote)
  6132  		i = encodeVarintTx(dAtA, i, uint64(len(m.OracleQuote)))
  6133  		i--
  6134  		dAtA[i] = 0x2a
  6135  	}
  6136  	if len(m.OracleBase) > 0 {
  6137  		i -= len(m.OracleBase)
  6138  		copy(dAtA[i:], m.OracleBase)
  6139  		i = encodeVarintTx(dAtA, i, uint64(len(m.OracleBase)))
  6140  		i--
  6141  		dAtA[i] = 0x22
  6142  	}
  6143  	if len(m.QuoteDenom) > 0 {
  6144  		i -= len(m.QuoteDenom)
  6145  		copy(dAtA[i:], m.QuoteDenom)
  6146  		i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
  6147  		i--
  6148  		dAtA[i] = 0x1a
  6149  	}
  6150  	if len(m.Ticker) > 0 {
  6151  		i -= len(m.Ticker)
  6152  		copy(dAtA[i:], m.Ticker)
  6153  		i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
  6154  		i--
  6155  		dAtA[i] = 0x12
  6156  	}
  6157  	if len(m.Sender) > 0 {
  6158  		i -= len(m.Sender)
  6159  		copy(dAtA[i:], m.Sender)
  6160  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6161  		i--
  6162  		dAtA[i] = 0xa
  6163  	}
  6164  	return len(dAtA) - i, nil
  6165  }
  6166  
  6167  func (m *MsgInstantPerpetualMarketLaunchResponse) Marshal() (dAtA []byte, err error) {
  6168  	size := m.Size()
  6169  	dAtA = make([]byte, size)
  6170  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6171  	if err != nil {
  6172  		return nil, err
  6173  	}
  6174  	return dAtA[:n], nil
  6175  }
  6176  
  6177  func (m *MsgInstantPerpetualMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error) {
  6178  	size := m.Size()
  6179  	return m.MarshalToSizedBuffer(dAtA[:size])
  6180  }
  6181  
  6182  func (m *MsgInstantPerpetualMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6183  	i := len(dAtA)
  6184  	_ = i
  6185  	var l int
  6186  	_ = l
  6187  	return len(dAtA) - i, nil
  6188  }
  6189  
  6190  func (m *MsgInstantBinaryOptionsMarketLaunch) Marshal() (dAtA []byte, err error) {
  6191  	size := m.Size()
  6192  	dAtA = make([]byte, size)
  6193  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6194  	if err != nil {
  6195  		return nil, err
  6196  	}
  6197  	return dAtA[:n], nil
  6198  }
  6199  
  6200  func (m *MsgInstantBinaryOptionsMarketLaunch) MarshalTo(dAtA []byte) (int, error) {
  6201  	size := m.Size()
  6202  	return m.MarshalToSizedBuffer(dAtA[:size])
  6203  }
  6204  
  6205  func (m *MsgInstantBinaryOptionsMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6206  	i := len(dAtA)
  6207  	_ = i
  6208  	var l int
  6209  	_ = l
  6210  	{
  6211  		size := m.MinNotional.Size()
  6212  		i -= size
  6213  		if _, err := m.MinNotional.MarshalTo(dAtA[i:]); err != nil {
  6214  			return 0, err
  6215  		}
  6216  		i = encodeVarintTx(dAtA, i, uint64(size))
  6217  	}
  6218  	i--
  6219  	dAtA[i] = 0x7a
  6220  	{
  6221  		size := m.MinQuantityTickSize.Size()
  6222  		i -= size
  6223  		if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
  6224  			return 0, err
  6225  		}
  6226  		i = encodeVarintTx(dAtA, i, uint64(size))
  6227  	}
  6228  	i--
  6229  	dAtA[i] = 0x72
  6230  	{
  6231  		size := m.MinPriceTickSize.Size()
  6232  		i -= size
  6233  		if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
  6234  			return 0, err
  6235  		}
  6236  		i = encodeVarintTx(dAtA, i, uint64(size))
  6237  	}
  6238  	i--
  6239  	dAtA[i] = 0x6a
  6240  	if len(m.QuoteDenom) > 0 {
  6241  		i -= len(m.QuoteDenom)
  6242  		copy(dAtA[i:], m.QuoteDenom)
  6243  		i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
  6244  		i--
  6245  		dAtA[i] = 0x62
  6246  	}
  6247  	if len(m.Admin) > 0 {
  6248  		i -= len(m.Admin)
  6249  		copy(dAtA[i:], m.Admin)
  6250  		i = encodeVarintTx(dAtA, i, uint64(len(m.Admin)))
  6251  		i--
  6252  		dAtA[i] = 0x5a
  6253  	}
  6254  	if m.SettlementTimestamp != 0 {
  6255  		i = encodeVarintTx(dAtA, i, uint64(m.SettlementTimestamp))
  6256  		i--
  6257  		dAtA[i] = 0x50
  6258  	}
  6259  	if m.ExpirationTimestamp != 0 {
  6260  		i = encodeVarintTx(dAtA, i, uint64(m.ExpirationTimestamp))
  6261  		i--
  6262  		dAtA[i] = 0x48
  6263  	}
  6264  	{
  6265  		size := m.TakerFeeRate.Size()
  6266  		i -= size
  6267  		if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
  6268  			return 0, err
  6269  		}
  6270  		i = encodeVarintTx(dAtA, i, uint64(size))
  6271  	}
  6272  	i--
  6273  	dAtA[i] = 0x42
  6274  	{
  6275  		size := m.MakerFeeRate.Size()
  6276  		i -= size
  6277  		if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
  6278  			return 0, err
  6279  		}
  6280  		i = encodeVarintTx(dAtA, i, uint64(size))
  6281  	}
  6282  	i--
  6283  	dAtA[i] = 0x3a
  6284  	if m.OracleScaleFactor != 0 {
  6285  		i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
  6286  		i--
  6287  		dAtA[i] = 0x30
  6288  	}
  6289  	if m.OracleType != 0 {
  6290  		i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
  6291  		i--
  6292  		dAtA[i] = 0x28
  6293  	}
  6294  	if len(m.OracleProvider) > 0 {
  6295  		i -= len(m.OracleProvider)
  6296  		copy(dAtA[i:], m.OracleProvider)
  6297  		i = encodeVarintTx(dAtA, i, uint64(len(m.OracleProvider)))
  6298  		i--
  6299  		dAtA[i] = 0x22
  6300  	}
  6301  	if len(m.OracleSymbol) > 0 {
  6302  		i -= len(m.OracleSymbol)
  6303  		copy(dAtA[i:], m.OracleSymbol)
  6304  		i = encodeVarintTx(dAtA, i, uint64(len(m.OracleSymbol)))
  6305  		i--
  6306  		dAtA[i] = 0x1a
  6307  	}
  6308  	if len(m.Ticker) > 0 {
  6309  		i -= len(m.Ticker)
  6310  		copy(dAtA[i:], m.Ticker)
  6311  		i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
  6312  		i--
  6313  		dAtA[i] = 0x12
  6314  	}
  6315  	if len(m.Sender) > 0 {
  6316  		i -= len(m.Sender)
  6317  		copy(dAtA[i:], m.Sender)
  6318  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6319  		i--
  6320  		dAtA[i] = 0xa
  6321  	}
  6322  	return len(dAtA) - i, nil
  6323  }
  6324  
  6325  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Marshal() (dAtA []byte, err error) {
  6326  	size := m.Size()
  6327  	dAtA = make([]byte, size)
  6328  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6329  	if err != nil {
  6330  		return nil, err
  6331  	}
  6332  	return dAtA[:n], nil
  6333  }
  6334  
  6335  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error) {
  6336  	size := m.Size()
  6337  	return m.MarshalToSizedBuffer(dAtA[:size])
  6338  }
  6339  
  6340  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6341  	i := len(dAtA)
  6342  	_ = i
  6343  	var l int
  6344  	_ = l
  6345  	return len(dAtA) - i, nil
  6346  }
  6347  
  6348  func (m *MsgInstantExpiryFuturesMarketLaunch) Marshal() (dAtA []byte, err error) {
  6349  	size := m.Size()
  6350  	dAtA = make([]byte, size)
  6351  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6352  	if err != nil {
  6353  		return nil, err
  6354  	}
  6355  	return dAtA[:n], nil
  6356  }
  6357  
  6358  func (m *MsgInstantExpiryFuturesMarketLaunch) MarshalTo(dAtA []byte) (int, error) {
  6359  	size := m.Size()
  6360  	return m.MarshalToSizedBuffer(dAtA[:size])
  6361  }
  6362  
  6363  func (m *MsgInstantExpiryFuturesMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6364  	i := len(dAtA)
  6365  	_ = i
  6366  	var l int
  6367  	_ = l
  6368  	{
  6369  		size := m.MinNotional.Size()
  6370  		i -= size
  6371  		if _, err := m.MinNotional.MarshalTo(dAtA[i:]); err != nil {
  6372  			return 0, err
  6373  		}
  6374  		i = encodeVarintTx(dAtA, i, uint64(size))
  6375  	}
  6376  	i--
  6377  	dAtA[i] = 0x7a
  6378  	{
  6379  		size := m.MinQuantityTickSize.Size()
  6380  		i -= size
  6381  		if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
  6382  			return 0, err
  6383  		}
  6384  		i = encodeVarintTx(dAtA, i, uint64(size))
  6385  	}
  6386  	i--
  6387  	dAtA[i] = 0x72
  6388  	{
  6389  		size := m.MinPriceTickSize.Size()
  6390  		i -= size
  6391  		if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
  6392  			return 0, err
  6393  		}
  6394  		i = encodeVarintTx(dAtA, i, uint64(size))
  6395  	}
  6396  	i--
  6397  	dAtA[i] = 0x6a
  6398  	{
  6399  		size := m.MaintenanceMarginRatio.Size()
  6400  		i -= size
  6401  		if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
  6402  			return 0, err
  6403  		}
  6404  		i = encodeVarintTx(dAtA, i, uint64(size))
  6405  	}
  6406  	i--
  6407  	dAtA[i] = 0x62
  6408  	{
  6409  		size := m.InitialMarginRatio.Size()
  6410  		i -= size
  6411  		if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
  6412  			return 0, err
  6413  		}
  6414  		i = encodeVarintTx(dAtA, i, uint64(size))
  6415  	}
  6416  	i--
  6417  	dAtA[i] = 0x5a
  6418  	{
  6419  		size := m.TakerFeeRate.Size()
  6420  		i -= size
  6421  		if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
  6422  			return 0, err
  6423  		}
  6424  		i = encodeVarintTx(dAtA, i, uint64(size))
  6425  	}
  6426  	i--
  6427  	dAtA[i] = 0x52
  6428  	{
  6429  		size := m.MakerFeeRate.Size()
  6430  		i -= size
  6431  		if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
  6432  			return 0, err
  6433  		}
  6434  		i = encodeVarintTx(dAtA, i, uint64(size))
  6435  	}
  6436  	i--
  6437  	dAtA[i] = 0x4a
  6438  	if m.Expiry != 0 {
  6439  		i = encodeVarintTx(dAtA, i, uint64(m.Expiry))
  6440  		i--
  6441  		dAtA[i] = 0x40
  6442  	}
  6443  	if m.OracleScaleFactor != 0 {
  6444  		i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
  6445  		i--
  6446  		dAtA[i] = 0x38
  6447  	}
  6448  	if m.OracleType != 0 {
  6449  		i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
  6450  		i--
  6451  		dAtA[i] = 0x30
  6452  	}
  6453  	if len(m.OracleQuote) > 0 {
  6454  		i -= len(m.OracleQuote)
  6455  		copy(dAtA[i:], m.OracleQuote)
  6456  		i = encodeVarintTx(dAtA, i, uint64(len(m.OracleQuote)))
  6457  		i--
  6458  		dAtA[i] = 0x2a
  6459  	}
  6460  	if len(m.OracleBase) > 0 {
  6461  		i -= len(m.OracleBase)
  6462  		copy(dAtA[i:], m.OracleBase)
  6463  		i = encodeVarintTx(dAtA, i, uint64(len(m.OracleBase)))
  6464  		i--
  6465  		dAtA[i] = 0x22
  6466  	}
  6467  	if len(m.QuoteDenom) > 0 {
  6468  		i -= len(m.QuoteDenom)
  6469  		copy(dAtA[i:], m.QuoteDenom)
  6470  		i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
  6471  		i--
  6472  		dAtA[i] = 0x1a
  6473  	}
  6474  	if len(m.Ticker) > 0 {
  6475  		i -= len(m.Ticker)
  6476  		copy(dAtA[i:], m.Ticker)
  6477  		i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
  6478  		i--
  6479  		dAtA[i] = 0x12
  6480  	}
  6481  	if len(m.Sender) > 0 {
  6482  		i -= len(m.Sender)
  6483  		copy(dAtA[i:], m.Sender)
  6484  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6485  		i--
  6486  		dAtA[i] = 0xa
  6487  	}
  6488  	return len(dAtA) - i, nil
  6489  }
  6490  
  6491  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Marshal() (dAtA []byte, err error) {
  6492  	size := m.Size()
  6493  	dAtA = make([]byte, size)
  6494  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6495  	if err != nil {
  6496  		return nil, err
  6497  	}
  6498  	return dAtA[:n], nil
  6499  }
  6500  
  6501  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error) {
  6502  	size := m.Size()
  6503  	return m.MarshalToSizedBuffer(dAtA[:size])
  6504  }
  6505  
  6506  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6507  	i := len(dAtA)
  6508  	_ = i
  6509  	var l int
  6510  	_ = l
  6511  	return len(dAtA) - i, nil
  6512  }
  6513  
  6514  func (m *MsgCreateSpotMarketOrder) Marshal() (dAtA []byte, err error) {
  6515  	size := m.Size()
  6516  	dAtA = make([]byte, size)
  6517  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6518  	if err != nil {
  6519  		return nil, err
  6520  	}
  6521  	return dAtA[:n], nil
  6522  }
  6523  
  6524  func (m *MsgCreateSpotMarketOrder) MarshalTo(dAtA []byte) (int, error) {
  6525  	size := m.Size()
  6526  	return m.MarshalToSizedBuffer(dAtA[:size])
  6527  }
  6528  
  6529  func (m *MsgCreateSpotMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6530  	i := len(dAtA)
  6531  	_ = i
  6532  	var l int
  6533  	_ = l
  6534  	{
  6535  		size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  6536  		if err != nil {
  6537  			return 0, err
  6538  		}
  6539  		i -= size
  6540  		i = encodeVarintTx(dAtA, i, uint64(size))
  6541  	}
  6542  	i--
  6543  	dAtA[i] = 0x12
  6544  	if len(m.Sender) > 0 {
  6545  		i -= len(m.Sender)
  6546  		copy(dAtA[i:], m.Sender)
  6547  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6548  		i--
  6549  		dAtA[i] = 0xa
  6550  	}
  6551  	return len(dAtA) - i, nil
  6552  }
  6553  
  6554  func (m *MsgCreateSpotMarketOrderResponse) Marshal() (dAtA []byte, err error) {
  6555  	size := m.Size()
  6556  	dAtA = make([]byte, size)
  6557  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6558  	if err != nil {
  6559  		return nil, err
  6560  	}
  6561  	return dAtA[:n], nil
  6562  }
  6563  
  6564  func (m *MsgCreateSpotMarketOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  6565  	size := m.Size()
  6566  	return m.MarshalToSizedBuffer(dAtA[:size])
  6567  }
  6568  
  6569  func (m *MsgCreateSpotMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6570  	i := len(dAtA)
  6571  	_ = i
  6572  	var l int
  6573  	_ = l
  6574  	if len(m.Cid) > 0 {
  6575  		i -= len(m.Cid)
  6576  		copy(dAtA[i:], m.Cid)
  6577  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  6578  		i--
  6579  		dAtA[i] = 0x1a
  6580  	}
  6581  	if m.Results != nil {
  6582  		{
  6583  			size, err := m.Results.MarshalToSizedBuffer(dAtA[:i])
  6584  			if err != nil {
  6585  				return 0, err
  6586  			}
  6587  			i -= size
  6588  			i = encodeVarintTx(dAtA, i, uint64(size))
  6589  		}
  6590  		i--
  6591  		dAtA[i] = 0x12
  6592  	}
  6593  	if len(m.OrderHash) > 0 {
  6594  		i -= len(m.OrderHash)
  6595  		copy(dAtA[i:], m.OrderHash)
  6596  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  6597  		i--
  6598  		dAtA[i] = 0xa
  6599  	}
  6600  	return len(dAtA) - i, nil
  6601  }
  6602  
  6603  func (m *SpotMarketOrderResults) Marshal() (dAtA []byte, err error) {
  6604  	size := m.Size()
  6605  	dAtA = make([]byte, size)
  6606  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6607  	if err != nil {
  6608  		return nil, err
  6609  	}
  6610  	return dAtA[:n], nil
  6611  }
  6612  
  6613  func (m *SpotMarketOrderResults) MarshalTo(dAtA []byte) (int, error) {
  6614  	size := m.Size()
  6615  	return m.MarshalToSizedBuffer(dAtA[:size])
  6616  }
  6617  
  6618  func (m *SpotMarketOrderResults) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6619  	i := len(dAtA)
  6620  	_ = i
  6621  	var l int
  6622  	_ = l
  6623  	{
  6624  		size := m.Fee.Size()
  6625  		i -= size
  6626  		if _, err := m.Fee.MarshalTo(dAtA[i:]); err != nil {
  6627  			return 0, err
  6628  		}
  6629  		i = encodeVarintTx(dAtA, i, uint64(size))
  6630  	}
  6631  	i--
  6632  	dAtA[i] = 0x1a
  6633  	{
  6634  		size := m.Price.Size()
  6635  		i -= size
  6636  		if _, err := m.Price.MarshalTo(dAtA[i:]); err != nil {
  6637  			return 0, err
  6638  		}
  6639  		i = encodeVarintTx(dAtA, i, uint64(size))
  6640  	}
  6641  	i--
  6642  	dAtA[i] = 0x12
  6643  	{
  6644  		size := m.Quantity.Size()
  6645  		i -= size
  6646  		if _, err := m.Quantity.MarshalTo(dAtA[i:]); err != nil {
  6647  			return 0, err
  6648  		}
  6649  		i = encodeVarintTx(dAtA, i, uint64(size))
  6650  	}
  6651  	i--
  6652  	dAtA[i] = 0xa
  6653  	return len(dAtA) - i, nil
  6654  }
  6655  
  6656  func (m *MsgCreateDerivativeLimitOrder) Marshal() (dAtA []byte, err error) {
  6657  	size := m.Size()
  6658  	dAtA = make([]byte, size)
  6659  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6660  	if err != nil {
  6661  		return nil, err
  6662  	}
  6663  	return dAtA[:n], nil
  6664  }
  6665  
  6666  func (m *MsgCreateDerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error) {
  6667  	size := m.Size()
  6668  	return m.MarshalToSizedBuffer(dAtA[:size])
  6669  }
  6670  
  6671  func (m *MsgCreateDerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6672  	i := len(dAtA)
  6673  	_ = i
  6674  	var l int
  6675  	_ = l
  6676  	{
  6677  		size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  6678  		if err != nil {
  6679  			return 0, err
  6680  		}
  6681  		i -= size
  6682  		i = encodeVarintTx(dAtA, i, uint64(size))
  6683  	}
  6684  	i--
  6685  	dAtA[i] = 0x12
  6686  	if len(m.Sender) > 0 {
  6687  		i -= len(m.Sender)
  6688  		copy(dAtA[i:], m.Sender)
  6689  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6690  		i--
  6691  		dAtA[i] = 0xa
  6692  	}
  6693  	return len(dAtA) - i, nil
  6694  }
  6695  
  6696  func (m *MsgCreateDerivativeLimitOrderResponse) Marshal() (dAtA []byte, err error) {
  6697  	size := m.Size()
  6698  	dAtA = make([]byte, size)
  6699  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6700  	if err != nil {
  6701  		return nil, err
  6702  	}
  6703  	return dAtA[:n], nil
  6704  }
  6705  
  6706  func (m *MsgCreateDerivativeLimitOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  6707  	size := m.Size()
  6708  	return m.MarshalToSizedBuffer(dAtA[:size])
  6709  }
  6710  
  6711  func (m *MsgCreateDerivativeLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6712  	i := len(dAtA)
  6713  	_ = i
  6714  	var l int
  6715  	_ = l
  6716  	if len(m.Cid) > 0 {
  6717  		i -= len(m.Cid)
  6718  		copy(dAtA[i:], m.Cid)
  6719  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  6720  		i--
  6721  		dAtA[i] = 0x12
  6722  	}
  6723  	if len(m.OrderHash) > 0 {
  6724  		i -= len(m.OrderHash)
  6725  		copy(dAtA[i:], m.OrderHash)
  6726  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  6727  		i--
  6728  		dAtA[i] = 0xa
  6729  	}
  6730  	return len(dAtA) - i, nil
  6731  }
  6732  
  6733  func (m *MsgCreateBinaryOptionsLimitOrder) Marshal() (dAtA []byte, err error) {
  6734  	size := m.Size()
  6735  	dAtA = make([]byte, size)
  6736  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6737  	if err != nil {
  6738  		return nil, err
  6739  	}
  6740  	return dAtA[:n], nil
  6741  }
  6742  
  6743  func (m *MsgCreateBinaryOptionsLimitOrder) MarshalTo(dAtA []byte) (int, error) {
  6744  	size := m.Size()
  6745  	return m.MarshalToSizedBuffer(dAtA[:size])
  6746  }
  6747  
  6748  func (m *MsgCreateBinaryOptionsLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6749  	i := len(dAtA)
  6750  	_ = i
  6751  	var l int
  6752  	_ = l
  6753  	{
  6754  		size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  6755  		if err != nil {
  6756  			return 0, err
  6757  		}
  6758  		i -= size
  6759  		i = encodeVarintTx(dAtA, i, uint64(size))
  6760  	}
  6761  	i--
  6762  	dAtA[i] = 0x12
  6763  	if len(m.Sender) > 0 {
  6764  		i -= len(m.Sender)
  6765  		copy(dAtA[i:], m.Sender)
  6766  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6767  		i--
  6768  		dAtA[i] = 0xa
  6769  	}
  6770  	return len(dAtA) - i, nil
  6771  }
  6772  
  6773  func (m *MsgCreateBinaryOptionsLimitOrderResponse) Marshal() (dAtA []byte, err error) {
  6774  	size := m.Size()
  6775  	dAtA = make([]byte, size)
  6776  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6777  	if err != nil {
  6778  		return nil, err
  6779  	}
  6780  	return dAtA[:n], nil
  6781  }
  6782  
  6783  func (m *MsgCreateBinaryOptionsLimitOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  6784  	size := m.Size()
  6785  	return m.MarshalToSizedBuffer(dAtA[:size])
  6786  }
  6787  
  6788  func (m *MsgCreateBinaryOptionsLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6789  	i := len(dAtA)
  6790  	_ = i
  6791  	var l int
  6792  	_ = l
  6793  	if len(m.Cid) > 0 {
  6794  		i -= len(m.Cid)
  6795  		copy(dAtA[i:], m.Cid)
  6796  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  6797  		i--
  6798  		dAtA[i] = 0x12
  6799  	}
  6800  	if len(m.OrderHash) > 0 {
  6801  		i -= len(m.OrderHash)
  6802  		copy(dAtA[i:], m.OrderHash)
  6803  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  6804  		i--
  6805  		dAtA[i] = 0xa
  6806  	}
  6807  	return len(dAtA) - i, nil
  6808  }
  6809  
  6810  func (m *MsgBatchCreateDerivativeLimitOrders) Marshal() (dAtA []byte, err error) {
  6811  	size := m.Size()
  6812  	dAtA = make([]byte, size)
  6813  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6814  	if err != nil {
  6815  		return nil, err
  6816  	}
  6817  	return dAtA[:n], nil
  6818  }
  6819  
  6820  func (m *MsgBatchCreateDerivativeLimitOrders) MarshalTo(dAtA []byte) (int, error) {
  6821  	size := m.Size()
  6822  	return m.MarshalToSizedBuffer(dAtA[:size])
  6823  }
  6824  
  6825  func (m *MsgBatchCreateDerivativeLimitOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6826  	i := len(dAtA)
  6827  	_ = i
  6828  	var l int
  6829  	_ = l
  6830  	if len(m.Orders) > 0 {
  6831  		for iNdEx := len(m.Orders) - 1; iNdEx >= 0; iNdEx-- {
  6832  			{
  6833  				size, err := m.Orders[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6834  				if err != nil {
  6835  					return 0, err
  6836  				}
  6837  				i -= size
  6838  				i = encodeVarintTx(dAtA, i, uint64(size))
  6839  			}
  6840  			i--
  6841  			dAtA[i] = 0x12
  6842  		}
  6843  	}
  6844  	if len(m.Sender) > 0 {
  6845  		i -= len(m.Sender)
  6846  		copy(dAtA[i:], m.Sender)
  6847  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6848  		i--
  6849  		dAtA[i] = 0xa
  6850  	}
  6851  	return len(dAtA) - i, nil
  6852  }
  6853  
  6854  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Marshal() (dAtA []byte, err error) {
  6855  	size := m.Size()
  6856  	dAtA = make([]byte, size)
  6857  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6858  	if err != nil {
  6859  		return nil, err
  6860  	}
  6861  	return dAtA[:n], nil
  6862  }
  6863  
  6864  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalTo(dAtA []byte) (int, error) {
  6865  	size := m.Size()
  6866  	return m.MarshalToSizedBuffer(dAtA[:size])
  6867  }
  6868  
  6869  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6870  	i := len(dAtA)
  6871  	_ = i
  6872  	var l int
  6873  	_ = l
  6874  	if len(m.FailedOrdersCids) > 0 {
  6875  		for iNdEx := len(m.FailedOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  6876  			i -= len(m.FailedOrdersCids[iNdEx])
  6877  			copy(dAtA[i:], m.FailedOrdersCids[iNdEx])
  6878  			i = encodeVarintTx(dAtA, i, uint64(len(m.FailedOrdersCids[iNdEx])))
  6879  			i--
  6880  			dAtA[i] = 0x1a
  6881  		}
  6882  	}
  6883  	if len(m.CreatedOrdersCids) > 0 {
  6884  		for iNdEx := len(m.CreatedOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  6885  			i -= len(m.CreatedOrdersCids[iNdEx])
  6886  			copy(dAtA[i:], m.CreatedOrdersCids[iNdEx])
  6887  			i = encodeVarintTx(dAtA, i, uint64(len(m.CreatedOrdersCids[iNdEx])))
  6888  			i--
  6889  			dAtA[i] = 0x12
  6890  		}
  6891  	}
  6892  	if len(m.OrderHashes) > 0 {
  6893  		for iNdEx := len(m.OrderHashes) - 1; iNdEx >= 0; iNdEx-- {
  6894  			i -= len(m.OrderHashes[iNdEx])
  6895  			copy(dAtA[i:], m.OrderHashes[iNdEx])
  6896  			i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHashes[iNdEx])))
  6897  			i--
  6898  			dAtA[i] = 0xa
  6899  		}
  6900  	}
  6901  	return len(dAtA) - i, nil
  6902  }
  6903  
  6904  func (m *MsgCancelSpotOrder) Marshal() (dAtA []byte, err error) {
  6905  	size := m.Size()
  6906  	dAtA = make([]byte, size)
  6907  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6908  	if err != nil {
  6909  		return nil, err
  6910  	}
  6911  	return dAtA[:n], nil
  6912  }
  6913  
  6914  func (m *MsgCancelSpotOrder) MarshalTo(dAtA []byte) (int, error) {
  6915  	size := m.Size()
  6916  	return m.MarshalToSizedBuffer(dAtA[:size])
  6917  }
  6918  
  6919  func (m *MsgCancelSpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6920  	i := len(dAtA)
  6921  	_ = i
  6922  	var l int
  6923  	_ = l
  6924  	if len(m.Cid) > 0 {
  6925  		i -= len(m.Cid)
  6926  		copy(dAtA[i:], m.Cid)
  6927  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  6928  		i--
  6929  		dAtA[i] = 0x2a
  6930  	}
  6931  	if len(m.OrderHash) > 0 {
  6932  		i -= len(m.OrderHash)
  6933  		copy(dAtA[i:], m.OrderHash)
  6934  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  6935  		i--
  6936  		dAtA[i] = 0x22
  6937  	}
  6938  	if len(m.SubaccountId) > 0 {
  6939  		i -= len(m.SubaccountId)
  6940  		copy(dAtA[i:], m.SubaccountId)
  6941  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  6942  		i--
  6943  		dAtA[i] = 0x1a
  6944  	}
  6945  	if len(m.MarketId) > 0 {
  6946  		i -= len(m.MarketId)
  6947  		copy(dAtA[i:], m.MarketId)
  6948  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  6949  		i--
  6950  		dAtA[i] = 0x12
  6951  	}
  6952  	if len(m.Sender) > 0 {
  6953  		i -= len(m.Sender)
  6954  		copy(dAtA[i:], m.Sender)
  6955  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  6956  		i--
  6957  		dAtA[i] = 0xa
  6958  	}
  6959  	return len(dAtA) - i, nil
  6960  }
  6961  
  6962  func (m *MsgCancelSpotOrderResponse) Marshal() (dAtA []byte, err error) {
  6963  	size := m.Size()
  6964  	dAtA = make([]byte, size)
  6965  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6966  	if err != nil {
  6967  		return nil, err
  6968  	}
  6969  	return dAtA[:n], nil
  6970  }
  6971  
  6972  func (m *MsgCancelSpotOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  6973  	size := m.Size()
  6974  	return m.MarshalToSizedBuffer(dAtA[:size])
  6975  }
  6976  
  6977  func (m *MsgCancelSpotOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6978  	i := len(dAtA)
  6979  	_ = i
  6980  	var l int
  6981  	_ = l
  6982  	return len(dAtA) - i, nil
  6983  }
  6984  
  6985  func (m *MsgBatchCancelSpotOrders) Marshal() (dAtA []byte, err error) {
  6986  	size := m.Size()
  6987  	dAtA = make([]byte, size)
  6988  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6989  	if err != nil {
  6990  		return nil, err
  6991  	}
  6992  	return dAtA[:n], nil
  6993  }
  6994  
  6995  func (m *MsgBatchCancelSpotOrders) MarshalTo(dAtA []byte) (int, error) {
  6996  	size := m.Size()
  6997  	return m.MarshalToSizedBuffer(dAtA[:size])
  6998  }
  6999  
  7000  func (m *MsgBatchCancelSpotOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7001  	i := len(dAtA)
  7002  	_ = i
  7003  	var l int
  7004  	_ = l
  7005  	if len(m.Data) > 0 {
  7006  		for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- {
  7007  			{
  7008  				size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7009  				if err != nil {
  7010  					return 0, err
  7011  				}
  7012  				i -= size
  7013  				i = encodeVarintTx(dAtA, i, uint64(size))
  7014  			}
  7015  			i--
  7016  			dAtA[i] = 0x12
  7017  		}
  7018  	}
  7019  	if len(m.Sender) > 0 {
  7020  		i -= len(m.Sender)
  7021  		copy(dAtA[i:], m.Sender)
  7022  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7023  		i--
  7024  		dAtA[i] = 0xa
  7025  	}
  7026  	return len(dAtA) - i, nil
  7027  }
  7028  
  7029  func (m *MsgBatchCancelSpotOrdersResponse) Marshal() (dAtA []byte, err error) {
  7030  	size := m.Size()
  7031  	dAtA = make([]byte, size)
  7032  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7033  	if err != nil {
  7034  		return nil, err
  7035  	}
  7036  	return dAtA[:n], nil
  7037  }
  7038  
  7039  func (m *MsgBatchCancelSpotOrdersResponse) MarshalTo(dAtA []byte) (int, error) {
  7040  	size := m.Size()
  7041  	return m.MarshalToSizedBuffer(dAtA[:size])
  7042  }
  7043  
  7044  func (m *MsgBatchCancelSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7045  	i := len(dAtA)
  7046  	_ = i
  7047  	var l int
  7048  	_ = l
  7049  	if len(m.Success) > 0 {
  7050  		for iNdEx := len(m.Success) - 1; iNdEx >= 0; iNdEx-- {
  7051  			i--
  7052  			if m.Success[iNdEx] {
  7053  				dAtA[i] = 1
  7054  			} else {
  7055  				dAtA[i] = 0
  7056  			}
  7057  		}
  7058  		i = encodeVarintTx(dAtA, i, uint64(len(m.Success)))
  7059  		i--
  7060  		dAtA[i] = 0xa
  7061  	}
  7062  	return len(dAtA) - i, nil
  7063  }
  7064  
  7065  func (m *MsgBatchCancelBinaryOptionsOrders) Marshal() (dAtA []byte, err error) {
  7066  	size := m.Size()
  7067  	dAtA = make([]byte, size)
  7068  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7069  	if err != nil {
  7070  		return nil, err
  7071  	}
  7072  	return dAtA[:n], nil
  7073  }
  7074  
  7075  func (m *MsgBatchCancelBinaryOptionsOrders) MarshalTo(dAtA []byte) (int, error) {
  7076  	size := m.Size()
  7077  	return m.MarshalToSizedBuffer(dAtA[:size])
  7078  }
  7079  
  7080  func (m *MsgBatchCancelBinaryOptionsOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7081  	i := len(dAtA)
  7082  	_ = i
  7083  	var l int
  7084  	_ = l
  7085  	if len(m.Data) > 0 {
  7086  		for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- {
  7087  			{
  7088  				size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7089  				if err != nil {
  7090  					return 0, err
  7091  				}
  7092  				i -= size
  7093  				i = encodeVarintTx(dAtA, i, uint64(size))
  7094  			}
  7095  			i--
  7096  			dAtA[i] = 0x12
  7097  		}
  7098  	}
  7099  	if len(m.Sender) > 0 {
  7100  		i -= len(m.Sender)
  7101  		copy(dAtA[i:], m.Sender)
  7102  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7103  		i--
  7104  		dAtA[i] = 0xa
  7105  	}
  7106  	return len(dAtA) - i, nil
  7107  }
  7108  
  7109  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Marshal() (dAtA []byte, err error) {
  7110  	size := m.Size()
  7111  	dAtA = make([]byte, size)
  7112  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7113  	if err != nil {
  7114  		return nil, err
  7115  	}
  7116  	return dAtA[:n], nil
  7117  }
  7118  
  7119  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) MarshalTo(dAtA []byte) (int, error) {
  7120  	size := m.Size()
  7121  	return m.MarshalToSizedBuffer(dAtA[:size])
  7122  }
  7123  
  7124  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7125  	i := len(dAtA)
  7126  	_ = i
  7127  	var l int
  7128  	_ = l
  7129  	if len(m.Success) > 0 {
  7130  		for iNdEx := len(m.Success) - 1; iNdEx >= 0; iNdEx-- {
  7131  			i--
  7132  			if m.Success[iNdEx] {
  7133  				dAtA[i] = 1
  7134  			} else {
  7135  				dAtA[i] = 0
  7136  			}
  7137  		}
  7138  		i = encodeVarintTx(dAtA, i, uint64(len(m.Success)))
  7139  		i--
  7140  		dAtA[i] = 0xa
  7141  	}
  7142  	return len(dAtA) - i, nil
  7143  }
  7144  
  7145  func (m *MsgBatchUpdateOrders) Marshal() (dAtA []byte, err error) {
  7146  	size := m.Size()
  7147  	dAtA = make([]byte, size)
  7148  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7149  	if err != nil {
  7150  		return nil, err
  7151  	}
  7152  	return dAtA[:n], nil
  7153  }
  7154  
  7155  func (m *MsgBatchUpdateOrders) MarshalTo(dAtA []byte) (int, error) {
  7156  	size := m.Size()
  7157  	return m.MarshalToSizedBuffer(dAtA[:size])
  7158  }
  7159  
  7160  func (m *MsgBatchUpdateOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7161  	i := len(dAtA)
  7162  	_ = i
  7163  	var l int
  7164  	_ = l
  7165  	if len(m.BinaryOptionsOrdersToCreate) > 0 {
  7166  		for iNdEx := len(m.BinaryOptionsOrdersToCreate) - 1; iNdEx >= 0; iNdEx-- {
  7167  			{
  7168  				size, err := m.BinaryOptionsOrdersToCreate[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7169  				if err != nil {
  7170  					return 0, err
  7171  				}
  7172  				i -= size
  7173  				i = encodeVarintTx(dAtA, i, uint64(size))
  7174  			}
  7175  			i--
  7176  			dAtA[i] = 0x5a
  7177  		}
  7178  	}
  7179  	if len(m.BinaryOptionsMarketIdsToCancelAll) > 0 {
  7180  		for iNdEx := len(m.BinaryOptionsMarketIdsToCancelAll) - 1; iNdEx >= 0; iNdEx-- {
  7181  			i -= len(m.BinaryOptionsMarketIdsToCancelAll[iNdEx])
  7182  			copy(dAtA[i:], m.BinaryOptionsMarketIdsToCancelAll[iNdEx])
  7183  			i = encodeVarintTx(dAtA, i, uint64(len(m.BinaryOptionsMarketIdsToCancelAll[iNdEx])))
  7184  			i--
  7185  			dAtA[i] = 0x52
  7186  		}
  7187  	}
  7188  	if len(m.BinaryOptionsOrdersToCancel) > 0 {
  7189  		for iNdEx := len(m.BinaryOptionsOrdersToCancel) - 1; iNdEx >= 0; iNdEx-- {
  7190  			{
  7191  				size, err := m.BinaryOptionsOrdersToCancel[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7192  				if err != nil {
  7193  					return 0, err
  7194  				}
  7195  				i -= size
  7196  				i = encodeVarintTx(dAtA, i, uint64(size))
  7197  			}
  7198  			i--
  7199  			dAtA[i] = 0x4a
  7200  		}
  7201  	}
  7202  	if len(m.DerivativeOrdersToCreate) > 0 {
  7203  		for iNdEx := len(m.DerivativeOrdersToCreate) - 1; iNdEx >= 0; iNdEx-- {
  7204  			{
  7205  				size, err := m.DerivativeOrdersToCreate[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7206  				if err != nil {
  7207  					return 0, err
  7208  				}
  7209  				i -= size
  7210  				i = encodeVarintTx(dAtA, i, uint64(size))
  7211  			}
  7212  			i--
  7213  			dAtA[i] = 0x42
  7214  		}
  7215  	}
  7216  	if len(m.SpotOrdersToCreate) > 0 {
  7217  		for iNdEx := len(m.SpotOrdersToCreate) - 1; iNdEx >= 0; iNdEx-- {
  7218  			{
  7219  				size, err := m.SpotOrdersToCreate[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7220  				if err != nil {
  7221  					return 0, err
  7222  				}
  7223  				i -= size
  7224  				i = encodeVarintTx(dAtA, i, uint64(size))
  7225  			}
  7226  			i--
  7227  			dAtA[i] = 0x3a
  7228  		}
  7229  	}
  7230  	if len(m.DerivativeOrdersToCancel) > 0 {
  7231  		for iNdEx := len(m.DerivativeOrdersToCancel) - 1; iNdEx >= 0; iNdEx-- {
  7232  			{
  7233  				size, err := m.DerivativeOrdersToCancel[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7234  				if err != nil {
  7235  					return 0, err
  7236  				}
  7237  				i -= size
  7238  				i = encodeVarintTx(dAtA, i, uint64(size))
  7239  			}
  7240  			i--
  7241  			dAtA[i] = 0x32
  7242  		}
  7243  	}
  7244  	if len(m.SpotOrdersToCancel) > 0 {
  7245  		for iNdEx := len(m.SpotOrdersToCancel) - 1; iNdEx >= 0; iNdEx-- {
  7246  			{
  7247  				size, err := m.SpotOrdersToCancel[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7248  				if err != nil {
  7249  					return 0, err
  7250  				}
  7251  				i -= size
  7252  				i = encodeVarintTx(dAtA, i, uint64(size))
  7253  			}
  7254  			i--
  7255  			dAtA[i] = 0x2a
  7256  		}
  7257  	}
  7258  	if len(m.DerivativeMarketIdsToCancelAll) > 0 {
  7259  		for iNdEx := len(m.DerivativeMarketIdsToCancelAll) - 1; iNdEx >= 0; iNdEx-- {
  7260  			i -= len(m.DerivativeMarketIdsToCancelAll[iNdEx])
  7261  			copy(dAtA[i:], m.DerivativeMarketIdsToCancelAll[iNdEx])
  7262  			i = encodeVarintTx(dAtA, i, uint64(len(m.DerivativeMarketIdsToCancelAll[iNdEx])))
  7263  			i--
  7264  			dAtA[i] = 0x22
  7265  		}
  7266  	}
  7267  	if len(m.SpotMarketIdsToCancelAll) > 0 {
  7268  		for iNdEx := len(m.SpotMarketIdsToCancelAll) - 1; iNdEx >= 0; iNdEx-- {
  7269  			i -= len(m.SpotMarketIdsToCancelAll[iNdEx])
  7270  			copy(dAtA[i:], m.SpotMarketIdsToCancelAll[iNdEx])
  7271  			i = encodeVarintTx(dAtA, i, uint64(len(m.SpotMarketIdsToCancelAll[iNdEx])))
  7272  			i--
  7273  			dAtA[i] = 0x1a
  7274  		}
  7275  	}
  7276  	if len(m.SubaccountId) > 0 {
  7277  		i -= len(m.SubaccountId)
  7278  		copy(dAtA[i:], m.SubaccountId)
  7279  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  7280  		i--
  7281  		dAtA[i] = 0x12
  7282  	}
  7283  	if len(m.Sender) > 0 {
  7284  		i -= len(m.Sender)
  7285  		copy(dAtA[i:], m.Sender)
  7286  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7287  		i--
  7288  		dAtA[i] = 0xa
  7289  	}
  7290  	return len(dAtA) - i, nil
  7291  }
  7292  
  7293  func (m *MsgBatchUpdateOrdersResponse) Marshal() (dAtA []byte, err error) {
  7294  	size := m.Size()
  7295  	dAtA = make([]byte, size)
  7296  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7297  	if err != nil {
  7298  		return nil, err
  7299  	}
  7300  	return dAtA[:n], nil
  7301  }
  7302  
  7303  func (m *MsgBatchUpdateOrdersResponse) MarshalTo(dAtA []byte) (int, error) {
  7304  	size := m.Size()
  7305  	return m.MarshalToSizedBuffer(dAtA[:size])
  7306  }
  7307  
  7308  func (m *MsgBatchUpdateOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7309  	i := len(dAtA)
  7310  	_ = i
  7311  	var l int
  7312  	_ = l
  7313  	if len(m.FailedBinaryOptionsOrdersCids) > 0 {
  7314  		for iNdEx := len(m.FailedBinaryOptionsOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  7315  			i -= len(m.FailedBinaryOptionsOrdersCids[iNdEx])
  7316  			copy(dAtA[i:], m.FailedBinaryOptionsOrdersCids[iNdEx])
  7317  			i = encodeVarintTx(dAtA, i, uint64(len(m.FailedBinaryOptionsOrdersCids[iNdEx])))
  7318  			i--
  7319  			dAtA[i] = 0x62
  7320  		}
  7321  	}
  7322  	if len(m.CreatedBinaryOptionsOrdersCids) > 0 {
  7323  		for iNdEx := len(m.CreatedBinaryOptionsOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  7324  			i -= len(m.CreatedBinaryOptionsOrdersCids[iNdEx])
  7325  			copy(dAtA[i:], m.CreatedBinaryOptionsOrdersCids[iNdEx])
  7326  			i = encodeVarintTx(dAtA, i, uint64(len(m.CreatedBinaryOptionsOrdersCids[iNdEx])))
  7327  			i--
  7328  			dAtA[i] = 0x5a
  7329  		}
  7330  	}
  7331  	if len(m.FailedDerivativeOrdersCids) > 0 {
  7332  		for iNdEx := len(m.FailedDerivativeOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  7333  			i -= len(m.FailedDerivativeOrdersCids[iNdEx])
  7334  			copy(dAtA[i:], m.FailedDerivativeOrdersCids[iNdEx])
  7335  			i = encodeVarintTx(dAtA, i, uint64(len(m.FailedDerivativeOrdersCids[iNdEx])))
  7336  			i--
  7337  			dAtA[i] = 0x52
  7338  		}
  7339  	}
  7340  	if len(m.CreatedDerivativeOrdersCids) > 0 {
  7341  		for iNdEx := len(m.CreatedDerivativeOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  7342  			i -= len(m.CreatedDerivativeOrdersCids[iNdEx])
  7343  			copy(dAtA[i:], m.CreatedDerivativeOrdersCids[iNdEx])
  7344  			i = encodeVarintTx(dAtA, i, uint64(len(m.CreatedDerivativeOrdersCids[iNdEx])))
  7345  			i--
  7346  			dAtA[i] = 0x4a
  7347  		}
  7348  	}
  7349  	if len(m.FailedSpotOrdersCids) > 0 {
  7350  		for iNdEx := len(m.FailedSpotOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  7351  			i -= len(m.FailedSpotOrdersCids[iNdEx])
  7352  			copy(dAtA[i:], m.FailedSpotOrdersCids[iNdEx])
  7353  			i = encodeVarintTx(dAtA, i, uint64(len(m.FailedSpotOrdersCids[iNdEx])))
  7354  			i--
  7355  			dAtA[i] = 0x42
  7356  		}
  7357  	}
  7358  	if len(m.CreatedSpotOrdersCids) > 0 {
  7359  		for iNdEx := len(m.CreatedSpotOrdersCids) - 1; iNdEx >= 0; iNdEx-- {
  7360  			i -= len(m.CreatedSpotOrdersCids[iNdEx])
  7361  			copy(dAtA[i:], m.CreatedSpotOrdersCids[iNdEx])
  7362  			i = encodeVarintTx(dAtA, i, uint64(len(m.CreatedSpotOrdersCids[iNdEx])))
  7363  			i--
  7364  			dAtA[i] = 0x3a
  7365  		}
  7366  	}
  7367  	if len(m.BinaryOptionsOrderHashes) > 0 {
  7368  		for iNdEx := len(m.BinaryOptionsOrderHashes) - 1; iNdEx >= 0; iNdEx-- {
  7369  			i -= len(m.BinaryOptionsOrderHashes[iNdEx])
  7370  			copy(dAtA[i:], m.BinaryOptionsOrderHashes[iNdEx])
  7371  			i = encodeVarintTx(dAtA, i, uint64(len(m.BinaryOptionsOrderHashes[iNdEx])))
  7372  			i--
  7373  			dAtA[i] = 0x32
  7374  		}
  7375  	}
  7376  	if len(m.BinaryOptionsCancelSuccess) > 0 {
  7377  		for iNdEx := len(m.BinaryOptionsCancelSuccess) - 1; iNdEx >= 0; iNdEx-- {
  7378  			i--
  7379  			if m.BinaryOptionsCancelSuccess[iNdEx] {
  7380  				dAtA[i] = 1
  7381  			} else {
  7382  				dAtA[i] = 0
  7383  			}
  7384  		}
  7385  		i = encodeVarintTx(dAtA, i, uint64(len(m.BinaryOptionsCancelSuccess)))
  7386  		i--
  7387  		dAtA[i] = 0x2a
  7388  	}
  7389  	if len(m.DerivativeOrderHashes) > 0 {
  7390  		for iNdEx := len(m.DerivativeOrderHashes) - 1; iNdEx >= 0; iNdEx-- {
  7391  			i -= len(m.DerivativeOrderHashes[iNdEx])
  7392  			copy(dAtA[i:], m.DerivativeOrderHashes[iNdEx])
  7393  			i = encodeVarintTx(dAtA, i, uint64(len(m.DerivativeOrderHashes[iNdEx])))
  7394  			i--
  7395  			dAtA[i] = 0x22
  7396  		}
  7397  	}
  7398  	if len(m.SpotOrderHashes) > 0 {
  7399  		for iNdEx := len(m.SpotOrderHashes) - 1; iNdEx >= 0; iNdEx-- {
  7400  			i -= len(m.SpotOrderHashes[iNdEx])
  7401  			copy(dAtA[i:], m.SpotOrderHashes[iNdEx])
  7402  			i = encodeVarintTx(dAtA, i, uint64(len(m.SpotOrderHashes[iNdEx])))
  7403  			i--
  7404  			dAtA[i] = 0x1a
  7405  		}
  7406  	}
  7407  	if len(m.DerivativeCancelSuccess) > 0 {
  7408  		for iNdEx := len(m.DerivativeCancelSuccess) - 1; iNdEx >= 0; iNdEx-- {
  7409  			i--
  7410  			if m.DerivativeCancelSuccess[iNdEx] {
  7411  				dAtA[i] = 1
  7412  			} else {
  7413  				dAtA[i] = 0
  7414  			}
  7415  		}
  7416  		i = encodeVarintTx(dAtA, i, uint64(len(m.DerivativeCancelSuccess)))
  7417  		i--
  7418  		dAtA[i] = 0x12
  7419  	}
  7420  	if len(m.SpotCancelSuccess) > 0 {
  7421  		for iNdEx := len(m.SpotCancelSuccess) - 1; iNdEx >= 0; iNdEx-- {
  7422  			i--
  7423  			if m.SpotCancelSuccess[iNdEx] {
  7424  				dAtA[i] = 1
  7425  			} else {
  7426  				dAtA[i] = 0
  7427  			}
  7428  		}
  7429  		i = encodeVarintTx(dAtA, i, uint64(len(m.SpotCancelSuccess)))
  7430  		i--
  7431  		dAtA[i] = 0xa
  7432  	}
  7433  	return len(dAtA) - i, nil
  7434  }
  7435  
  7436  func (m *MsgCreateDerivativeMarketOrder) Marshal() (dAtA []byte, err error) {
  7437  	size := m.Size()
  7438  	dAtA = make([]byte, size)
  7439  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7440  	if err != nil {
  7441  		return nil, err
  7442  	}
  7443  	return dAtA[:n], nil
  7444  }
  7445  
  7446  func (m *MsgCreateDerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error) {
  7447  	size := m.Size()
  7448  	return m.MarshalToSizedBuffer(dAtA[:size])
  7449  }
  7450  
  7451  func (m *MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7452  	i := len(dAtA)
  7453  	_ = i
  7454  	var l int
  7455  	_ = l
  7456  	{
  7457  		size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  7458  		if err != nil {
  7459  			return 0, err
  7460  		}
  7461  		i -= size
  7462  		i = encodeVarintTx(dAtA, i, uint64(size))
  7463  	}
  7464  	i--
  7465  	dAtA[i] = 0x12
  7466  	if len(m.Sender) > 0 {
  7467  		i -= len(m.Sender)
  7468  		copy(dAtA[i:], m.Sender)
  7469  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7470  		i--
  7471  		dAtA[i] = 0xa
  7472  	}
  7473  	return len(dAtA) - i, nil
  7474  }
  7475  
  7476  func (m *MsgCreateDerivativeMarketOrderResponse) Marshal() (dAtA []byte, err error) {
  7477  	size := m.Size()
  7478  	dAtA = make([]byte, size)
  7479  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7480  	if err != nil {
  7481  		return nil, err
  7482  	}
  7483  	return dAtA[:n], nil
  7484  }
  7485  
  7486  func (m *MsgCreateDerivativeMarketOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  7487  	size := m.Size()
  7488  	return m.MarshalToSizedBuffer(dAtA[:size])
  7489  }
  7490  
  7491  func (m *MsgCreateDerivativeMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7492  	i := len(dAtA)
  7493  	_ = i
  7494  	var l int
  7495  	_ = l
  7496  	if len(m.Cid) > 0 {
  7497  		i -= len(m.Cid)
  7498  		copy(dAtA[i:], m.Cid)
  7499  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  7500  		i--
  7501  		dAtA[i] = 0x1a
  7502  	}
  7503  	if m.Results != nil {
  7504  		{
  7505  			size, err := m.Results.MarshalToSizedBuffer(dAtA[:i])
  7506  			if err != nil {
  7507  				return 0, err
  7508  			}
  7509  			i -= size
  7510  			i = encodeVarintTx(dAtA, i, uint64(size))
  7511  		}
  7512  		i--
  7513  		dAtA[i] = 0x12
  7514  	}
  7515  	if len(m.OrderHash) > 0 {
  7516  		i -= len(m.OrderHash)
  7517  		copy(dAtA[i:], m.OrderHash)
  7518  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  7519  		i--
  7520  		dAtA[i] = 0xa
  7521  	}
  7522  	return len(dAtA) - i, nil
  7523  }
  7524  
  7525  func (m *DerivativeMarketOrderResults) Marshal() (dAtA []byte, err error) {
  7526  	size := m.Size()
  7527  	dAtA = make([]byte, size)
  7528  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7529  	if err != nil {
  7530  		return nil, err
  7531  	}
  7532  	return dAtA[:n], nil
  7533  }
  7534  
  7535  func (m *DerivativeMarketOrderResults) MarshalTo(dAtA []byte) (int, error) {
  7536  	size := m.Size()
  7537  	return m.MarshalToSizedBuffer(dAtA[:size])
  7538  }
  7539  
  7540  func (m *DerivativeMarketOrderResults) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7541  	i := len(dAtA)
  7542  	_ = i
  7543  	var l int
  7544  	_ = l
  7545  	{
  7546  		size := m.Payout.Size()
  7547  		i -= size
  7548  		if _, err := m.Payout.MarshalTo(dAtA[i:]); err != nil {
  7549  			return 0, err
  7550  		}
  7551  		i = encodeVarintTx(dAtA, i, uint64(size))
  7552  	}
  7553  	i--
  7554  	dAtA[i] = 0x2a
  7555  	{
  7556  		size, err := m.PositionDelta.MarshalToSizedBuffer(dAtA[:i])
  7557  		if err != nil {
  7558  			return 0, err
  7559  		}
  7560  		i -= size
  7561  		i = encodeVarintTx(dAtA, i, uint64(size))
  7562  	}
  7563  	i--
  7564  	dAtA[i] = 0x22
  7565  	{
  7566  		size := m.Fee.Size()
  7567  		i -= size
  7568  		if _, err := m.Fee.MarshalTo(dAtA[i:]); err != nil {
  7569  			return 0, err
  7570  		}
  7571  		i = encodeVarintTx(dAtA, i, uint64(size))
  7572  	}
  7573  	i--
  7574  	dAtA[i] = 0x1a
  7575  	{
  7576  		size := m.Price.Size()
  7577  		i -= size
  7578  		if _, err := m.Price.MarshalTo(dAtA[i:]); err != nil {
  7579  			return 0, err
  7580  		}
  7581  		i = encodeVarintTx(dAtA, i, uint64(size))
  7582  	}
  7583  	i--
  7584  	dAtA[i] = 0x12
  7585  	{
  7586  		size := m.Quantity.Size()
  7587  		i -= size
  7588  		if _, err := m.Quantity.MarshalTo(dAtA[i:]); err != nil {
  7589  			return 0, err
  7590  		}
  7591  		i = encodeVarintTx(dAtA, i, uint64(size))
  7592  	}
  7593  	i--
  7594  	dAtA[i] = 0xa
  7595  	return len(dAtA) - i, nil
  7596  }
  7597  
  7598  func (m *MsgCreateBinaryOptionsMarketOrder) Marshal() (dAtA []byte, err error) {
  7599  	size := m.Size()
  7600  	dAtA = make([]byte, size)
  7601  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7602  	if err != nil {
  7603  		return nil, err
  7604  	}
  7605  	return dAtA[:n], nil
  7606  }
  7607  
  7608  func (m *MsgCreateBinaryOptionsMarketOrder) MarshalTo(dAtA []byte) (int, error) {
  7609  	size := m.Size()
  7610  	return m.MarshalToSizedBuffer(dAtA[:size])
  7611  }
  7612  
  7613  func (m *MsgCreateBinaryOptionsMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7614  	i := len(dAtA)
  7615  	_ = i
  7616  	var l int
  7617  	_ = l
  7618  	{
  7619  		size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  7620  		if err != nil {
  7621  			return 0, err
  7622  		}
  7623  		i -= size
  7624  		i = encodeVarintTx(dAtA, i, uint64(size))
  7625  	}
  7626  	i--
  7627  	dAtA[i] = 0x12
  7628  	if len(m.Sender) > 0 {
  7629  		i -= len(m.Sender)
  7630  		copy(dAtA[i:], m.Sender)
  7631  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7632  		i--
  7633  		dAtA[i] = 0xa
  7634  	}
  7635  	return len(dAtA) - i, nil
  7636  }
  7637  
  7638  func (m *MsgCreateBinaryOptionsMarketOrderResponse) Marshal() (dAtA []byte, err error) {
  7639  	size := m.Size()
  7640  	dAtA = make([]byte, size)
  7641  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7642  	if err != nil {
  7643  		return nil, err
  7644  	}
  7645  	return dAtA[:n], nil
  7646  }
  7647  
  7648  func (m *MsgCreateBinaryOptionsMarketOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  7649  	size := m.Size()
  7650  	return m.MarshalToSizedBuffer(dAtA[:size])
  7651  }
  7652  
  7653  func (m *MsgCreateBinaryOptionsMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7654  	i := len(dAtA)
  7655  	_ = i
  7656  	var l int
  7657  	_ = l
  7658  	if len(m.Cid) > 0 {
  7659  		i -= len(m.Cid)
  7660  		copy(dAtA[i:], m.Cid)
  7661  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  7662  		i--
  7663  		dAtA[i] = 0x1a
  7664  	}
  7665  	if m.Results != nil {
  7666  		{
  7667  			size, err := m.Results.MarshalToSizedBuffer(dAtA[:i])
  7668  			if err != nil {
  7669  				return 0, err
  7670  			}
  7671  			i -= size
  7672  			i = encodeVarintTx(dAtA, i, uint64(size))
  7673  		}
  7674  		i--
  7675  		dAtA[i] = 0x12
  7676  	}
  7677  	if len(m.OrderHash) > 0 {
  7678  		i -= len(m.OrderHash)
  7679  		copy(dAtA[i:], m.OrderHash)
  7680  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  7681  		i--
  7682  		dAtA[i] = 0xa
  7683  	}
  7684  	return len(dAtA) - i, nil
  7685  }
  7686  
  7687  func (m *MsgCancelDerivativeOrder) Marshal() (dAtA []byte, err error) {
  7688  	size := m.Size()
  7689  	dAtA = make([]byte, size)
  7690  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7691  	if err != nil {
  7692  		return nil, err
  7693  	}
  7694  	return dAtA[:n], nil
  7695  }
  7696  
  7697  func (m *MsgCancelDerivativeOrder) MarshalTo(dAtA []byte) (int, error) {
  7698  	size := m.Size()
  7699  	return m.MarshalToSizedBuffer(dAtA[:size])
  7700  }
  7701  
  7702  func (m *MsgCancelDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7703  	i := len(dAtA)
  7704  	_ = i
  7705  	var l int
  7706  	_ = l
  7707  	if len(m.Cid) > 0 {
  7708  		i -= len(m.Cid)
  7709  		copy(dAtA[i:], m.Cid)
  7710  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  7711  		i--
  7712  		dAtA[i] = 0x32
  7713  	}
  7714  	if m.OrderMask != 0 {
  7715  		i = encodeVarintTx(dAtA, i, uint64(m.OrderMask))
  7716  		i--
  7717  		dAtA[i] = 0x28
  7718  	}
  7719  	if len(m.OrderHash) > 0 {
  7720  		i -= len(m.OrderHash)
  7721  		copy(dAtA[i:], m.OrderHash)
  7722  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  7723  		i--
  7724  		dAtA[i] = 0x22
  7725  	}
  7726  	if len(m.SubaccountId) > 0 {
  7727  		i -= len(m.SubaccountId)
  7728  		copy(dAtA[i:], m.SubaccountId)
  7729  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  7730  		i--
  7731  		dAtA[i] = 0x1a
  7732  	}
  7733  	if len(m.MarketId) > 0 {
  7734  		i -= len(m.MarketId)
  7735  		copy(dAtA[i:], m.MarketId)
  7736  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  7737  		i--
  7738  		dAtA[i] = 0x12
  7739  	}
  7740  	if len(m.Sender) > 0 {
  7741  		i -= len(m.Sender)
  7742  		copy(dAtA[i:], m.Sender)
  7743  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7744  		i--
  7745  		dAtA[i] = 0xa
  7746  	}
  7747  	return len(dAtA) - i, nil
  7748  }
  7749  
  7750  func (m *MsgCancelDerivativeOrderResponse) Marshal() (dAtA []byte, err error) {
  7751  	size := m.Size()
  7752  	dAtA = make([]byte, size)
  7753  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7754  	if err != nil {
  7755  		return nil, err
  7756  	}
  7757  	return dAtA[:n], nil
  7758  }
  7759  
  7760  func (m *MsgCancelDerivativeOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  7761  	size := m.Size()
  7762  	return m.MarshalToSizedBuffer(dAtA[:size])
  7763  }
  7764  
  7765  func (m *MsgCancelDerivativeOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7766  	i := len(dAtA)
  7767  	_ = i
  7768  	var l int
  7769  	_ = l
  7770  	return len(dAtA) - i, nil
  7771  }
  7772  
  7773  func (m *MsgCancelBinaryOptionsOrder) Marshal() (dAtA []byte, err error) {
  7774  	size := m.Size()
  7775  	dAtA = make([]byte, size)
  7776  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7777  	if err != nil {
  7778  		return nil, err
  7779  	}
  7780  	return dAtA[:n], nil
  7781  }
  7782  
  7783  func (m *MsgCancelBinaryOptionsOrder) MarshalTo(dAtA []byte) (int, error) {
  7784  	size := m.Size()
  7785  	return m.MarshalToSizedBuffer(dAtA[:size])
  7786  }
  7787  
  7788  func (m *MsgCancelBinaryOptionsOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7789  	i := len(dAtA)
  7790  	_ = i
  7791  	var l int
  7792  	_ = l
  7793  	if len(m.Cid) > 0 {
  7794  		i -= len(m.Cid)
  7795  		copy(dAtA[i:], m.Cid)
  7796  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  7797  		i--
  7798  		dAtA[i] = 0x32
  7799  	}
  7800  	if m.OrderMask != 0 {
  7801  		i = encodeVarintTx(dAtA, i, uint64(m.OrderMask))
  7802  		i--
  7803  		dAtA[i] = 0x28
  7804  	}
  7805  	if len(m.OrderHash) > 0 {
  7806  		i -= len(m.OrderHash)
  7807  		copy(dAtA[i:], m.OrderHash)
  7808  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  7809  		i--
  7810  		dAtA[i] = 0x22
  7811  	}
  7812  	if len(m.SubaccountId) > 0 {
  7813  		i -= len(m.SubaccountId)
  7814  		copy(dAtA[i:], m.SubaccountId)
  7815  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  7816  		i--
  7817  		dAtA[i] = 0x1a
  7818  	}
  7819  	if len(m.MarketId) > 0 {
  7820  		i -= len(m.MarketId)
  7821  		copy(dAtA[i:], m.MarketId)
  7822  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  7823  		i--
  7824  		dAtA[i] = 0x12
  7825  	}
  7826  	if len(m.Sender) > 0 {
  7827  		i -= len(m.Sender)
  7828  		copy(dAtA[i:], m.Sender)
  7829  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7830  		i--
  7831  		dAtA[i] = 0xa
  7832  	}
  7833  	return len(dAtA) - i, nil
  7834  }
  7835  
  7836  func (m *MsgCancelBinaryOptionsOrderResponse) Marshal() (dAtA []byte, err error) {
  7837  	size := m.Size()
  7838  	dAtA = make([]byte, size)
  7839  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7840  	if err != nil {
  7841  		return nil, err
  7842  	}
  7843  	return dAtA[:n], nil
  7844  }
  7845  
  7846  func (m *MsgCancelBinaryOptionsOrderResponse) MarshalTo(dAtA []byte) (int, error) {
  7847  	size := m.Size()
  7848  	return m.MarshalToSizedBuffer(dAtA[:size])
  7849  }
  7850  
  7851  func (m *MsgCancelBinaryOptionsOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7852  	i := len(dAtA)
  7853  	_ = i
  7854  	var l int
  7855  	_ = l
  7856  	return len(dAtA) - i, nil
  7857  }
  7858  
  7859  func (m *OrderData) Marshal() (dAtA []byte, err error) {
  7860  	size := m.Size()
  7861  	dAtA = make([]byte, size)
  7862  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7863  	if err != nil {
  7864  		return nil, err
  7865  	}
  7866  	return dAtA[:n], nil
  7867  }
  7868  
  7869  func (m *OrderData) MarshalTo(dAtA []byte) (int, error) {
  7870  	size := m.Size()
  7871  	return m.MarshalToSizedBuffer(dAtA[:size])
  7872  }
  7873  
  7874  func (m *OrderData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7875  	i := len(dAtA)
  7876  	_ = i
  7877  	var l int
  7878  	_ = l
  7879  	if len(m.Cid) > 0 {
  7880  		i -= len(m.Cid)
  7881  		copy(dAtA[i:], m.Cid)
  7882  		i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
  7883  		i--
  7884  		dAtA[i] = 0x2a
  7885  	}
  7886  	if m.OrderMask != 0 {
  7887  		i = encodeVarintTx(dAtA, i, uint64(m.OrderMask))
  7888  		i--
  7889  		dAtA[i] = 0x20
  7890  	}
  7891  	if len(m.OrderHash) > 0 {
  7892  		i -= len(m.OrderHash)
  7893  		copy(dAtA[i:], m.OrderHash)
  7894  		i = encodeVarintTx(dAtA, i, uint64(len(m.OrderHash)))
  7895  		i--
  7896  		dAtA[i] = 0x1a
  7897  	}
  7898  	if len(m.SubaccountId) > 0 {
  7899  		i -= len(m.SubaccountId)
  7900  		copy(dAtA[i:], m.SubaccountId)
  7901  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  7902  		i--
  7903  		dAtA[i] = 0x12
  7904  	}
  7905  	if len(m.MarketId) > 0 {
  7906  		i -= len(m.MarketId)
  7907  		copy(dAtA[i:], m.MarketId)
  7908  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  7909  		i--
  7910  		dAtA[i] = 0xa
  7911  	}
  7912  	return len(dAtA) - i, nil
  7913  }
  7914  
  7915  func (m *MsgBatchCancelDerivativeOrders) Marshal() (dAtA []byte, err error) {
  7916  	size := m.Size()
  7917  	dAtA = make([]byte, size)
  7918  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7919  	if err != nil {
  7920  		return nil, err
  7921  	}
  7922  	return dAtA[:n], nil
  7923  }
  7924  
  7925  func (m *MsgBatchCancelDerivativeOrders) MarshalTo(dAtA []byte) (int, error) {
  7926  	size := m.Size()
  7927  	return m.MarshalToSizedBuffer(dAtA[:size])
  7928  }
  7929  
  7930  func (m *MsgBatchCancelDerivativeOrders) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7931  	i := len(dAtA)
  7932  	_ = i
  7933  	var l int
  7934  	_ = l
  7935  	if len(m.Data) > 0 {
  7936  		for iNdEx := len(m.Data) - 1; iNdEx >= 0; iNdEx-- {
  7937  			{
  7938  				size, err := m.Data[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7939  				if err != nil {
  7940  					return 0, err
  7941  				}
  7942  				i -= size
  7943  				i = encodeVarintTx(dAtA, i, uint64(size))
  7944  			}
  7945  			i--
  7946  			dAtA[i] = 0x12
  7947  		}
  7948  	}
  7949  	if len(m.Sender) > 0 {
  7950  		i -= len(m.Sender)
  7951  		copy(dAtA[i:], m.Sender)
  7952  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  7953  		i--
  7954  		dAtA[i] = 0xa
  7955  	}
  7956  	return len(dAtA) - i, nil
  7957  }
  7958  
  7959  func (m *MsgBatchCancelDerivativeOrdersResponse) Marshal() (dAtA []byte, err error) {
  7960  	size := m.Size()
  7961  	dAtA = make([]byte, size)
  7962  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7963  	if err != nil {
  7964  		return nil, err
  7965  	}
  7966  	return dAtA[:n], nil
  7967  }
  7968  
  7969  func (m *MsgBatchCancelDerivativeOrdersResponse) MarshalTo(dAtA []byte) (int, error) {
  7970  	size := m.Size()
  7971  	return m.MarshalToSizedBuffer(dAtA[:size])
  7972  }
  7973  
  7974  func (m *MsgBatchCancelDerivativeOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7975  	i := len(dAtA)
  7976  	_ = i
  7977  	var l int
  7978  	_ = l
  7979  	if len(m.Success) > 0 {
  7980  		for iNdEx := len(m.Success) - 1; iNdEx >= 0; iNdEx-- {
  7981  			i--
  7982  			if m.Success[iNdEx] {
  7983  				dAtA[i] = 1
  7984  			} else {
  7985  				dAtA[i] = 0
  7986  			}
  7987  		}
  7988  		i = encodeVarintTx(dAtA, i, uint64(len(m.Success)))
  7989  		i--
  7990  		dAtA[i] = 0xa
  7991  	}
  7992  	return len(dAtA) - i, nil
  7993  }
  7994  
  7995  func (m *MsgSubaccountTransfer) Marshal() (dAtA []byte, err error) {
  7996  	size := m.Size()
  7997  	dAtA = make([]byte, size)
  7998  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7999  	if err != nil {
  8000  		return nil, err
  8001  	}
  8002  	return dAtA[:n], nil
  8003  }
  8004  
  8005  func (m *MsgSubaccountTransfer) MarshalTo(dAtA []byte) (int, error) {
  8006  	size := m.Size()
  8007  	return m.MarshalToSizedBuffer(dAtA[:size])
  8008  }
  8009  
  8010  func (m *MsgSubaccountTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8011  	i := len(dAtA)
  8012  	_ = i
  8013  	var l int
  8014  	_ = l
  8015  	{
  8016  		size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
  8017  		if err != nil {
  8018  			return 0, err
  8019  		}
  8020  		i -= size
  8021  		i = encodeVarintTx(dAtA, i, uint64(size))
  8022  	}
  8023  	i--
  8024  	dAtA[i] = 0x22
  8025  	if len(m.DestinationSubaccountId) > 0 {
  8026  		i -= len(m.DestinationSubaccountId)
  8027  		copy(dAtA[i:], m.DestinationSubaccountId)
  8028  		i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationSubaccountId)))
  8029  		i--
  8030  		dAtA[i] = 0x1a
  8031  	}
  8032  	if len(m.SourceSubaccountId) > 0 {
  8033  		i -= len(m.SourceSubaccountId)
  8034  		copy(dAtA[i:], m.SourceSubaccountId)
  8035  		i = encodeVarintTx(dAtA, i, uint64(len(m.SourceSubaccountId)))
  8036  		i--
  8037  		dAtA[i] = 0x12
  8038  	}
  8039  	if len(m.Sender) > 0 {
  8040  		i -= len(m.Sender)
  8041  		copy(dAtA[i:], m.Sender)
  8042  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8043  		i--
  8044  		dAtA[i] = 0xa
  8045  	}
  8046  	return len(dAtA) - i, nil
  8047  }
  8048  
  8049  func (m *MsgSubaccountTransferResponse) Marshal() (dAtA []byte, err error) {
  8050  	size := m.Size()
  8051  	dAtA = make([]byte, size)
  8052  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8053  	if err != nil {
  8054  		return nil, err
  8055  	}
  8056  	return dAtA[:n], nil
  8057  }
  8058  
  8059  func (m *MsgSubaccountTransferResponse) MarshalTo(dAtA []byte) (int, error) {
  8060  	size := m.Size()
  8061  	return m.MarshalToSizedBuffer(dAtA[:size])
  8062  }
  8063  
  8064  func (m *MsgSubaccountTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8065  	i := len(dAtA)
  8066  	_ = i
  8067  	var l int
  8068  	_ = l
  8069  	return len(dAtA) - i, nil
  8070  }
  8071  
  8072  func (m *MsgExternalTransfer) Marshal() (dAtA []byte, err error) {
  8073  	size := m.Size()
  8074  	dAtA = make([]byte, size)
  8075  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8076  	if err != nil {
  8077  		return nil, err
  8078  	}
  8079  	return dAtA[:n], nil
  8080  }
  8081  
  8082  func (m *MsgExternalTransfer) MarshalTo(dAtA []byte) (int, error) {
  8083  	size := m.Size()
  8084  	return m.MarshalToSizedBuffer(dAtA[:size])
  8085  }
  8086  
  8087  func (m *MsgExternalTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8088  	i := len(dAtA)
  8089  	_ = i
  8090  	var l int
  8091  	_ = l
  8092  	{
  8093  		size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
  8094  		if err != nil {
  8095  			return 0, err
  8096  		}
  8097  		i -= size
  8098  		i = encodeVarintTx(dAtA, i, uint64(size))
  8099  	}
  8100  	i--
  8101  	dAtA[i] = 0x22
  8102  	if len(m.DestinationSubaccountId) > 0 {
  8103  		i -= len(m.DestinationSubaccountId)
  8104  		copy(dAtA[i:], m.DestinationSubaccountId)
  8105  		i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationSubaccountId)))
  8106  		i--
  8107  		dAtA[i] = 0x1a
  8108  	}
  8109  	if len(m.SourceSubaccountId) > 0 {
  8110  		i -= len(m.SourceSubaccountId)
  8111  		copy(dAtA[i:], m.SourceSubaccountId)
  8112  		i = encodeVarintTx(dAtA, i, uint64(len(m.SourceSubaccountId)))
  8113  		i--
  8114  		dAtA[i] = 0x12
  8115  	}
  8116  	if len(m.Sender) > 0 {
  8117  		i -= len(m.Sender)
  8118  		copy(dAtA[i:], m.Sender)
  8119  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8120  		i--
  8121  		dAtA[i] = 0xa
  8122  	}
  8123  	return len(dAtA) - i, nil
  8124  }
  8125  
  8126  func (m *MsgExternalTransferResponse) Marshal() (dAtA []byte, err error) {
  8127  	size := m.Size()
  8128  	dAtA = make([]byte, size)
  8129  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8130  	if err != nil {
  8131  		return nil, err
  8132  	}
  8133  	return dAtA[:n], nil
  8134  }
  8135  
  8136  func (m *MsgExternalTransferResponse) MarshalTo(dAtA []byte) (int, error) {
  8137  	size := m.Size()
  8138  	return m.MarshalToSizedBuffer(dAtA[:size])
  8139  }
  8140  
  8141  func (m *MsgExternalTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8142  	i := len(dAtA)
  8143  	_ = i
  8144  	var l int
  8145  	_ = l
  8146  	return len(dAtA) - i, nil
  8147  }
  8148  
  8149  func (m *MsgLiquidatePosition) Marshal() (dAtA []byte, err error) {
  8150  	size := m.Size()
  8151  	dAtA = make([]byte, size)
  8152  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8153  	if err != nil {
  8154  		return nil, err
  8155  	}
  8156  	return dAtA[:n], nil
  8157  }
  8158  
  8159  func (m *MsgLiquidatePosition) MarshalTo(dAtA []byte) (int, error) {
  8160  	size := m.Size()
  8161  	return m.MarshalToSizedBuffer(dAtA[:size])
  8162  }
  8163  
  8164  func (m *MsgLiquidatePosition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8165  	i := len(dAtA)
  8166  	_ = i
  8167  	var l int
  8168  	_ = l
  8169  	if m.Order != nil {
  8170  		{
  8171  			size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
  8172  			if err != nil {
  8173  				return 0, err
  8174  			}
  8175  			i -= size
  8176  			i = encodeVarintTx(dAtA, i, uint64(size))
  8177  		}
  8178  		i--
  8179  		dAtA[i] = 0x22
  8180  	}
  8181  	if len(m.MarketId) > 0 {
  8182  		i -= len(m.MarketId)
  8183  		copy(dAtA[i:], m.MarketId)
  8184  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  8185  		i--
  8186  		dAtA[i] = 0x1a
  8187  	}
  8188  	if len(m.SubaccountId) > 0 {
  8189  		i -= len(m.SubaccountId)
  8190  		copy(dAtA[i:], m.SubaccountId)
  8191  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  8192  		i--
  8193  		dAtA[i] = 0x12
  8194  	}
  8195  	if len(m.Sender) > 0 {
  8196  		i -= len(m.Sender)
  8197  		copy(dAtA[i:], m.Sender)
  8198  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8199  		i--
  8200  		dAtA[i] = 0xa
  8201  	}
  8202  	return len(dAtA) - i, nil
  8203  }
  8204  
  8205  func (m *MsgLiquidatePositionResponse) Marshal() (dAtA []byte, err error) {
  8206  	size := m.Size()
  8207  	dAtA = make([]byte, size)
  8208  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8209  	if err != nil {
  8210  		return nil, err
  8211  	}
  8212  	return dAtA[:n], nil
  8213  }
  8214  
  8215  func (m *MsgLiquidatePositionResponse) MarshalTo(dAtA []byte) (int, error) {
  8216  	size := m.Size()
  8217  	return m.MarshalToSizedBuffer(dAtA[:size])
  8218  }
  8219  
  8220  func (m *MsgLiquidatePositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8221  	i := len(dAtA)
  8222  	_ = i
  8223  	var l int
  8224  	_ = l
  8225  	return len(dAtA) - i, nil
  8226  }
  8227  
  8228  func (m *MsgEmergencySettleMarket) Marshal() (dAtA []byte, err error) {
  8229  	size := m.Size()
  8230  	dAtA = make([]byte, size)
  8231  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8232  	if err != nil {
  8233  		return nil, err
  8234  	}
  8235  	return dAtA[:n], nil
  8236  }
  8237  
  8238  func (m *MsgEmergencySettleMarket) MarshalTo(dAtA []byte) (int, error) {
  8239  	size := m.Size()
  8240  	return m.MarshalToSizedBuffer(dAtA[:size])
  8241  }
  8242  
  8243  func (m *MsgEmergencySettleMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8244  	i := len(dAtA)
  8245  	_ = i
  8246  	var l int
  8247  	_ = l
  8248  	if len(m.MarketId) > 0 {
  8249  		i -= len(m.MarketId)
  8250  		copy(dAtA[i:], m.MarketId)
  8251  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  8252  		i--
  8253  		dAtA[i] = 0x1a
  8254  	}
  8255  	if len(m.SubaccountId) > 0 {
  8256  		i -= len(m.SubaccountId)
  8257  		copy(dAtA[i:], m.SubaccountId)
  8258  		i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
  8259  		i--
  8260  		dAtA[i] = 0x12
  8261  	}
  8262  	if len(m.Sender) > 0 {
  8263  		i -= len(m.Sender)
  8264  		copy(dAtA[i:], m.Sender)
  8265  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8266  		i--
  8267  		dAtA[i] = 0xa
  8268  	}
  8269  	return len(dAtA) - i, nil
  8270  }
  8271  
  8272  func (m *MsgEmergencySettleMarketResponse) Marshal() (dAtA []byte, err error) {
  8273  	size := m.Size()
  8274  	dAtA = make([]byte, size)
  8275  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8276  	if err != nil {
  8277  		return nil, err
  8278  	}
  8279  	return dAtA[:n], nil
  8280  }
  8281  
  8282  func (m *MsgEmergencySettleMarketResponse) MarshalTo(dAtA []byte) (int, error) {
  8283  	size := m.Size()
  8284  	return m.MarshalToSizedBuffer(dAtA[:size])
  8285  }
  8286  
  8287  func (m *MsgEmergencySettleMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8288  	i := len(dAtA)
  8289  	_ = i
  8290  	var l int
  8291  	_ = l
  8292  	return len(dAtA) - i, nil
  8293  }
  8294  
  8295  func (m *MsgIncreasePositionMargin) Marshal() (dAtA []byte, err error) {
  8296  	size := m.Size()
  8297  	dAtA = make([]byte, size)
  8298  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8299  	if err != nil {
  8300  		return nil, err
  8301  	}
  8302  	return dAtA[:n], nil
  8303  }
  8304  
  8305  func (m *MsgIncreasePositionMargin) MarshalTo(dAtA []byte) (int, error) {
  8306  	size := m.Size()
  8307  	return m.MarshalToSizedBuffer(dAtA[:size])
  8308  }
  8309  
  8310  func (m *MsgIncreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8311  	i := len(dAtA)
  8312  	_ = i
  8313  	var l int
  8314  	_ = l
  8315  	{
  8316  		size := m.Amount.Size()
  8317  		i -= size
  8318  		if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
  8319  			return 0, err
  8320  		}
  8321  		i = encodeVarintTx(dAtA, i, uint64(size))
  8322  	}
  8323  	i--
  8324  	dAtA[i] = 0x2a
  8325  	if len(m.MarketId) > 0 {
  8326  		i -= len(m.MarketId)
  8327  		copy(dAtA[i:], m.MarketId)
  8328  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  8329  		i--
  8330  		dAtA[i] = 0x22
  8331  	}
  8332  	if len(m.DestinationSubaccountId) > 0 {
  8333  		i -= len(m.DestinationSubaccountId)
  8334  		copy(dAtA[i:], m.DestinationSubaccountId)
  8335  		i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationSubaccountId)))
  8336  		i--
  8337  		dAtA[i] = 0x1a
  8338  	}
  8339  	if len(m.SourceSubaccountId) > 0 {
  8340  		i -= len(m.SourceSubaccountId)
  8341  		copy(dAtA[i:], m.SourceSubaccountId)
  8342  		i = encodeVarintTx(dAtA, i, uint64(len(m.SourceSubaccountId)))
  8343  		i--
  8344  		dAtA[i] = 0x12
  8345  	}
  8346  	if len(m.Sender) > 0 {
  8347  		i -= len(m.Sender)
  8348  		copy(dAtA[i:], m.Sender)
  8349  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8350  		i--
  8351  		dAtA[i] = 0xa
  8352  	}
  8353  	return len(dAtA) - i, nil
  8354  }
  8355  
  8356  func (m *MsgIncreasePositionMarginResponse) Marshal() (dAtA []byte, err error) {
  8357  	size := m.Size()
  8358  	dAtA = make([]byte, size)
  8359  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8360  	if err != nil {
  8361  		return nil, err
  8362  	}
  8363  	return dAtA[:n], nil
  8364  }
  8365  
  8366  func (m *MsgIncreasePositionMarginResponse) MarshalTo(dAtA []byte) (int, error) {
  8367  	size := m.Size()
  8368  	return m.MarshalToSizedBuffer(dAtA[:size])
  8369  }
  8370  
  8371  func (m *MsgIncreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8372  	i := len(dAtA)
  8373  	_ = i
  8374  	var l int
  8375  	_ = l
  8376  	return len(dAtA) - i, nil
  8377  }
  8378  
  8379  func (m *MsgDecreasePositionMargin) Marshal() (dAtA []byte, err error) {
  8380  	size := m.Size()
  8381  	dAtA = make([]byte, size)
  8382  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8383  	if err != nil {
  8384  		return nil, err
  8385  	}
  8386  	return dAtA[:n], nil
  8387  }
  8388  
  8389  func (m *MsgDecreasePositionMargin) MarshalTo(dAtA []byte) (int, error) {
  8390  	size := m.Size()
  8391  	return m.MarshalToSizedBuffer(dAtA[:size])
  8392  }
  8393  
  8394  func (m *MsgDecreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8395  	i := len(dAtA)
  8396  	_ = i
  8397  	var l int
  8398  	_ = l
  8399  	{
  8400  		size := m.Amount.Size()
  8401  		i -= size
  8402  		if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
  8403  			return 0, err
  8404  		}
  8405  		i = encodeVarintTx(dAtA, i, uint64(size))
  8406  	}
  8407  	i--
  8408  	dAtA[i] = 0x2a
  8409  	if len(m.MarketId) > 0 {
  8410  		i -= len(m.MarketId)
  8411  		copy(dAtA[i:], m.MarketId)
  8412  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  8413  		i--
  8414  		dAtA[i] = 0x22
  8415  	}
  8416  	if len(m.DestinationSubaccountId) > 0 {
  8417  		i -= len(m.DestinationSubaccountId)
  8418  		copy(dAtA[i:], m.DestinationSubaccountId)
  8419  		i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationSubaccountId)))
  8420  		i--
  8421  		dAtA[i] = 0x1a
  8422  	}
  8423  	if len(m.SourceSubaccountId) > 0 {
  8424  		i -= len(m.SourceSubaccountId)
  8425  		copy(dAtA[i:], m.SourceSubaccountId)
  8426  		i = encodeVarintTx(dAtA, i, uint64(len(m.SourceSubaccountId)))
  8427  		i--
  8428  		dAtA[i] = 0x12
  8429  	}
  8430  	if len(m.Sender) > 0 {
  8431  		i -= len(m.Sender)
  8432  		copy(dAtA[i:], m.Sender)
  8433  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8434  		i--
  8435  		dAtA[i] = 0xa
  8436  	}
  8437  	return len(dAtA) - i, nil
  8438  }
  8439  
  8440  func (m *MsgDecreasePositionMarginResponse) Marshal() (dAtA []byte, err error) {
  8441  	size := m.Size()
  8442  	dAtA = make([]byte, size)
  8443  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8444  	if err != nil {
  8445  		return nil, err
  8446  	}
  8447  	return dAtA[:n], nil
  8448  }
  8449  
  8450  func (m *MsgDecreasePositionMarginResponse) MarshalTo(dAtA []byte) (int, error) {
  8451  	size := m.Size()
  8452  	return m.MarshalToSizedBuffer(dAtA[:size])
  8453  }
  8454  
  8455  func (m *MsgDecreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8456  	i := len(dAtA)
  8457  	_ = i
  8458  	var l int
  8459  	_ = l
  8460  	return len(dAtA) - i, nil
  8461  }
  8462  
  8463  func (m *MsgPrivilegedExecuteContract) Marshal() (dAtA []byte, err error) {
  8464  	size := m.Size()
  8465  	dAtA = make([]byte, size)
  8466  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8467  	if err != nil {
  8468  		return nil, err
  8469  	}
  8470  	return dAtA[:n], nil
  8471  }
  8472  
  8473  func (m *MsgPrivilegedExecuteContract) MarshalTo(dAtA []byte) (int, error) {
  8474  	size := m.Size()
  8475  	return m.MarshalToSizedBuffer(dAtA[:size])
  8476  }
  8477  
  8478  func (m *MsgPrivilegedExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8479  	i := len(dAtA)
  8480  	_ = i
  8481  	var l int
  8482  	_ = l
  8483  	if len(m.Data) > 0 {
  8484  		i -= len(m.Data)
  8485  		copy(dAtA[i:], m.Data)
  8486  		i = encodeVarintTx(dAtA, i, uint64(len(m.Data)))
  8487  		i--
  8488  		dAtA[i] = 0x22
  8489  	}
  8490  	if len(m.ContractAddress) > 0 {
  8491  		i -= len(m.ContractAddress)
  8492  		copy(dAtA[i:], m.ContractAddress)
  8493  		i = encodeVarintTx(dAtA, i, uint64(len(m.ContractAddress)))
  8494  		i--
  8495  		dAtA[i] = 0x1a
  8496  	}
  8497  	if len(m.Funds) > 0 {
  8498  		i -= len(m.Funds)
  8499  		copy(dAtA[i:], m.Funds)
  8500  		i = encodeVarintTx(dAtA, i, uint64(len(m.Funds)))
  8501  		i--
  8502  		dAtA[i] = 0x12
  8503  	}
  8504  	if len(m.Sender) > 0 {
  8505  		i -= len(m.Sender)
  8506  		copy(dAtA[i:], m.Sender)
  8507  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8508  		i--
  8509  		dAtA[i] = 0xa
  8510  	}
  8511  	return len(dAtA) - i, nil
  8512  }
  8513  
  8514  func (m *MsgPrivilegedExecuteContractResponse) Marshal() (dAtA []byte, err error) {
  8515  	size := m.Size()
  8516  	dAtA = make([]byte, size)
  8517  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8518  	if err != nil {
  8519  		return nil, err
  8520  	}
  8521  	return dAtA[:n], nil
  8522  }
  8523  
  8524  func (m *MsgPrivilegedExecuteContractResponse) MarshalTo(dAtA []byte) (int, error) {
  8525  	size := m.Size()
  8526  	return m.MarshalToSizedBuffer(dAtA[:size])
  8527  }
  8528  
  8529  func (m *MsgPrivilegedExecuteContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8530  	i := len(dAtA)
  8531  	_ = i
  8532  	var l int
  8533  	_ = l
  8534  	if len(m.FundsDiff) > 0 {
  8535  		for iNdEx := len(m.FundsDiff) - 1; iNdEx >= 0; iNdEx-- {
  8536  			{
  8537  				size, err := m.FundsDiff[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8538  				if err != nil {
  8539  					return 0, err
  8540  				}
  8541  				i -= size
  8542  				i = encodeVarintTx(dAtA, i, uint64(size))
  8543  			}
  8544  			i--
  8545  			dAtA[i] = 0xa
  8546  		}
  8547  	}
  8548  	return len(dAtA) - i, nil
  8549  }
  8550  
  8551  func (m *MsgRewardsOptOut) Marshal() (dAtA []byte, err error) {
  8552  	size := m.Size()
  8553  	dAtA = make([]byte, size)
  8554  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8555  	if err != nil {
  8556  		return nil, err
  8557  	}
  8558  	return dAtA[:n], nil
  8559  }
  8560  
  8561  func (m *MsgRewardsOptOut) MarshalTo(dAtA []byte) (int, error) {
  8562  	size := m.Size()
  8563  	return m.MarshalToSizedBuffer(dAtA[:size])
  8564  }
  8565  
  8566  func (m *MsgRewardsOptOut) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8567  	i := len(dAtA)
  8568  	_ = i
  8569  	var l int
  8570  	_ = l
  8571  	if len(m.Sender) > 0 {
  8572  		i -= len(m.Sender)
  8573  		copy(dAtA[i:], m.Sender)
  8574  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8575  		i--
  8576  		dAtA[i] = 0xa
  8577  	}
  8578  	return len(dAtA) - i, nil
  8579  }
  8580  
  8581  func (m *MsgRewardsOptOutResponse) Marshal() (dAtA []byte, err error) {
  8582  	size := m.Size()
  8583  	dAtA = make([]byte, size)
  8584  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8585  	if err != nil {
  8586  		return nil, err
  8587  	}
  8588  	return dAtA[:n], nil
  8589  }
  8590  
  8591  func (m *MsgRewardsOptOutResponse) MarshalTo(dAtA []byte) (int, error) {
  8592  	size := m.Size()
  8593  	return m.MarshalToSizedBuffer(dAtA[:size])
  8594  }
  8595  
  8596  func (m *MsgRewardsOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8597  	i := len(dAtA)
  8598  	_ = i
  8599  	var l int
  8600  	_ = l
  8601  	return len(dAtA) - i, nil
  8602  }
  8603  
  8604  func (m *MsgReclaimLockedFunds) Marshal() (dAtA []byte, err error) {
  8605  	size := m.Size()
  8606  	dAtA = make([]byte, size)
  8607  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8608  	if err != nil {
  8609  		return nil, err
  8610  	}
  8611  	return dAtA[:n], nil
  8612  }
  8613  
  8614  func (m *MsgReclaimLockedFunds) MarshalTo(dAtA []byte) (int, error) {
  8615  	size := m.Size()
  8616  	return m.MarshalToSizedBuffer(dAtA[:size])
  8617  }
  8618  
  8619  func (m *MsgReclaimLockedFunds) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8620  	i := len(dAtA)
  8621  	_ = i
  8622  	var l int
  8623  	_ = l
  8624  	if len(m.Signature) > 0 {
  8625  		i -= len(m.Signature)
  8626  		copy(dAtA[i:], m.Signature)
  8627  		i = encodeVarintTx(dAtA, i, uint64(len(m.Signature)))
  8628  		i--
  8629  		dAtA[i] = 0x1a
  8630  	}
  8631  	if len(m.LockedAccountPubKey) > 0 {
  8632  		i -= len(m.LockedAccountPubKey)
  8633  		copy(dAtA[i:], m.LockedAccountPubKey)
  8634  		i = encodeVarintTx(dAtA, i, uint64(len(m.LockedAccountPubKey)))
  8635  		i--
  8636  		dAtA[i] = 0x12
  8637  	}
  8638  	if len(m.Sender) > 0 {
  8639  		i -= len(m.Sender)
  8640  		copy(dAtA[i:], m.Sender)
  8641  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8642  		i--
  8643  		dAtA[i] = 0xa
  8644  	}
  8645  	return len(dAtA) - i, nil
  8646  }
  8647  
  8648  func (m *MsgReclaimLockedFundsResponse) Marshal() (dAtA []byte, err error) {
  8649  	size := m.Size()
  8650  	dAtA = make([]byte, size)
  8651  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8652  	if err != nil {
  8653  		return nil, err
  8654  	}
  8655  	return dAtA[:n], nil
  8656  }
  8657  
  8658  func (m *MsgReclaimLockedFundsResponse) MarshalTo(dAtA []byte) (int, error) {
  8659  	size := m.Size()
  8660  	return m.MarshalToSizedBuffer(dAtA[:size])
  8661  }
  8662  
  8663  func (m *MsgReclaimLockedFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8664  	i := len(dAtA)
  8665  	_ = i
  8666  	var l int
  8667  	_ = l
  8668  	return len(dAtA) - i, nil
  8669  }
  8670  
  8671  func (m *MsgSignData) Marshal() (dAtA []byte, err error) {
  8672  	size := m.Size()
  8673  	dAtA = make([]byte, size)
  8674  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8675  	if err != nil {
  8676  		return nil, err
  8677  	}
  8678  	return dAtA[:n], nil
  8679  }
  8680  
  8681  func (m *MsgSignData) MarshalTo(dAtA []byte) (int, error) {
  8682  	size := m.Size()
  8683  	return m.MarshalToSizedBuffer(dAtA[:size])
  8684  }
  8685  
  8686  func (m *MsgSignData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8687  	i := len(dAtA)
  8688  	_ = i
  8689  	var l int
  8690  	_ = l
  8691  	if len(m.Data) > 0 {
  8692  		i -= len(m.Data)
  8693  		copy(dAtA[i:], m.Data)
  8694  		i = encodeVarintTx(dAtA, i, uint64(len(m.Data)))
  8695  		i--
  8696  		dAtA[i] = 0x12
  8697  	}
  8698  	if len(m.Signer) > 0 {
  8699  		i -= len(m.Signer)
  8700  		copy(dAtA[i:], m.Signer)
  8701  		i = encodeVarintTx(dAtA, i, uint64(len(m.Signer)))
  8702  		i--
  8703  		dAtA[i] = 0xa
  8704  	}
  8705  	return len(dAtA) - i, nil
  8706  }
  8707  
  8708  func (m *MsgSignDoc) Marshal() (dAtA []byte, err error) {
  8709  	size := m.Size()
  8710  	dAtA = make([]byte, size)
  8711  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8712  	if err != nil {
  8713  		return nil, err
  8714  	}
  8715  	return dAtA[:n], nil
  8716  }
  8717  
  8718  func (m *MsgSignDoc) MarshalTo(dAtA []byte) (int, error) {
  8719  	size := m.Size()
  8720  	return m.MarshalToSizedBuffer(dAtA[:size])
  8721  }
  8722  
  8723  func (m *MsgSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8724  	i := len(dAtA)
  8725  	_ = i
  8726  	var l int
  8727  	_ = l
  8728  	{
  8729  		size, err := m.Value.MarshalToSizedBuffer(dAtA[:i])
  8730  		if err != nil {
  8731  			return 0, err
  8732  		}
  8733  		i -= size
  8734  		i = encodeVarintTx(dAtA, i, uint64(size))
  8735  	}
  8736  	i--
  8737  	dAtA[i] = 0x12
  8738  	if len(m.SignType) > 0 {
  8739  		i -= len(m.SignType)
  8740  		copy(dAtA[i:], m.SignType)
  8741  		i = encodeVarintTx(dAtA, i, uint64(len(m.SignType)))
  8742  		i--
  8743  		dAtA[i] = 0xa
  8744  	}
  8745  	return len(dAtA) - i, nil
  8746  }
  8747  
  8748  func (m *MsgAdminUpdateBinaryOptionsMarket) Marshal() (dAtA []byte, err error) {
  8749  	size := m.Size()
  8750  	dAtA = make([]byte, size)
  8751  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8752  	if err != nil {
  8753  		return nil, err
  8754  	}
  8755  	return dAtA[:n], nil
  8756  }
  8757  
  8758  func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalTo(dAtA []byte) (int, error) {
  8759  	size := m.Size()
  8760  	return m.MarshalToSizedBuffer(dAtA[:size])
  8761  }
  8762  
  8763  func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8764  	i := len(dAtA)
  8765  	_ = i
  8766  	var l int
  8767  	_ = l
  8768  	if m.Status != 0 {
  8769  		i = encodeVarintTx(dAtA, i, uint64(m.Status))
  8770  		i--
  8771  		dAtA[i] = 0x30
  8772  	}
  8773  	if m.SettlementTimestamp != 0 {
  8774  		i = encodeVarintTx(dAtA, i, uint64(m.SettlementTimestamp))
  8775  		i--
  8776  		dAtA[i] = 0x28
  8777  	}
  8778  	if m.ExpirationTimestamp != 0 {
  8779  		i = encodeVarintTx(dAtA, i, uint64(m.ExpirationTimestamp))
  8780  		i--
  8781  		dAtA[i] = 0x20
  8782  	}
  8783  	if m.SettlementPrice != nil {
  8784  		{
  8785  			size := m.SettlementPrice.Size()
  8786  			i -= size
  8787  			if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
  8788  				return 0, err
  8789  			}
  8790  			i = encodeVarintTx(dAtA, i, uint64(size))
  8791  		}
  8792  		i--
  8793  		dAtA[i] = 0x1a
  8794  	}
  8795  	if len(m.MarketId) > 0 {
  8796  		i -= len(m.MarketId)
  8797  		copy(dAtA[i:], m.MarketId)
  8798  		i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
  8799  		i--
  8800  		dAtA[i] = 0x12
  8801  	}
  8802  	if len(m.Sender) > 0 {
  8803  		i -= len(m.Sender)
  8804  		copy(dAtA[i:], m.Sender)
  8805  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8806  		i--
  8807  		dAtA[i] = 0xa
  8808  	}
  8809  	return len(dAtA) - i, nil
  8810  }
  8811  
  8812  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Marshal() (dAtA []byte, err error) {
  8813  	size := m.Size()
  8814  	dAtA = make([]byte, size)
  8815  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8816  	if err != nil {
  8817  		return nil, err
  8818  	}
  8819  	return dAtA[:n], nil
  8820  }
  8821  
  8822  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalTo(dAtA []byte) (int, error) {
  8823  	size := m.Size()
  8824  	return m.MarshalToSizedBuffer(dAtA[:size])
  8825  }
  8826  
  8827  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8828  	i := len(dAtA)
  8829  	_ = i
  8830  	var l int
  8831  	_ = l
  8832  	return len(dAtA) - i, nil
  8833  }
  8834  
  8835  func (m *MsgAuthorizeStakeGrants) Marshal() (dAtA []byte, err error) {
  8836  	size := m.Size()
  8837  	dAtA = make([]byte, size)
  8838  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8839  	if err != nil {
  8840  		return nil, err
  8841  	}
  8842  	return dAtA[:n], nil
  8843  }
  8844  
  8845  func (m *MsgAuthorizeStakeGrants) MarshalTo(dAtA []byte) (int, error) {
  8846  	size := m.Size()
  8847  	return m.MarshalToSizedBuffer(dAtA[:size])
  8848  }
  8849  
  8850  func (m *MsgAuthorizeStakeGrants) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8851  	i := len(dAtA)
  8852  	_ = i
  8853  	var l int
  8854  	_ = l
  8855  	if len(m.Grants) > 0 {
  8856  		for iNdEx := len(m.Grants) - 1; iNdEx >= 0; iNdEx-- {
  8857  			{
  8858  				size, err := m.Grants[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8859  				if err != nil {
  8860  					return 0, err
  8861  				}
  8862  				i -= size
  8863  				i = encodeVarintTx(dAtA, i, uint64(size))
  8864  			}
  8865  			i--
  8866  			dAtA[i] = 0x12
  8867  		}
  8868  	}
  8869  	if len(m.Sender) > 0 {
  8870  		i -= len(m.Sender)
  8871  		copy(dAtA[i:], m.Sender)
  8872  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8873  		i--
  8874  		dAtA[i] = 0xa
  8875  	}
  8876  	return len(dAtA) - i, nil
  8877  }
  8878  
  8879  func (m *MsgAuthorizeStakeGrantsResponse) Marshal() (dAtA []byte, err error) {
  8880  	size := m.Size()
  8881  	dAtA = make([]byte, size)
  8882  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8883  	if err != nil {
  8884  		return nil, err
  8885  	}
  8886  	return dAtA[:n], nil
  8887  }
  8888  
  8889  func (m *MsgAuthorizeStakeGrantsResponse) MarshalTo(dAtA []byte) (int, error) {
  8890  	size := m.Size()
  8891  	return m.MarshalToSizedBuffer(dAtA[:size])
  8892  }
  8893  
  8894  func (m *MsgAuthorizeStakeGrantsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8895  	i := len(dAtA)
  8896  	_ = i
  8897  	var l int
  8898  	_ = l
  8899  	return len(dAtA) - i, nil
  8900  }
  8901  
  8902  func (m *MsgActivateStakeGrant) Marshal() (dAtA []byte, err error) {
  8903  	size := m.Size()
  8904  	dAtA = make([]byte, size)
  8905  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8906  	if err != nil {
  8907  		return nil, err
  8908  	}
  8909  	return dAtA[:n], nil
  8910  }
  8911  
  8912  func (m *MsgActivateStakeGrant) MarshalTo(dAtA []byte) (int, error) {
  8913  	size := m.Size()
  8914  	return m.MarshalToSizedBuffer(dAtA[:size])
  8915  }
  8916  
  8917  func (m *MsgActivateStakeGrant) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8918  	i := len(dAtA)
  8919  	_ = i
  8920  	var l int
  8921  	_ = l
  8922  	if len(m.Granter) > 0 {
  8923  		i -= len(m.Granter)
  8924  		copy(dAtA[i:], m.Granter)
  8925  		i = encodeVarintTx(dAtA, i, uint64(len(m.Granter)))
  8926  		i--
  8927  		dAtA[i] = 0x12
  8928  	}
  8929  	if len(m.Sender) > 0 {
  8930  		i -= len(m.Sender)
  8931  		copy(dAtA[i:], m.Sender)
  8932  		i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
  8933  		i--
  8934  		dAtA[i] = 0xa
  8935  	}
  8936  	return len(dAtA) - i, nil
  8937  }
  8938  
  8939  func (m *MsgActivateStakeGrantResponse) Marshal() (dAtA []byte, err error) {
  8940  	size := m.Size()
  8941  	dAtA = make([]byte, size)
  8942  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8943  	if err != nil {
  8944  		return nil, err
  8945  	}
  8946  	return dAtA[:n], nil
  8947  }
  8948  
  8949  func (m *MsgActivateStakeGrantResponse) MarshalTo(dAtA []byte) (int, error) {
  8950  	size := m.Size()
  8951  	return m.MarshalToSizedBuffer(dAtA[:size])
  8952  }
  8953  
  8954  func (m *MsgActivateStakeGrantResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8955  	i := len(dAtA)
  8956  	_ = i
  8957  	var l int
  8958  	_ = l
  8959  	return len(dAtA) - i, nil
  8960  }
  8961  
  8962  func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
  8963  	offset -= sovTx(v)
  8964  	base := offset
  8965  	for v >= 1<<7 {
  8966  		dAtA[offset] = uint8(v&0x7f | 0x80)
  8967  		v >>= 7
  8968  		offset++
  8969  	}
  8970  	dAtA[offset] = uint8(v)
  8971  	return base
  8972  }
  8973  func (m *MsgUpdateSpotMarket) Size() (n int) {
  8974  	if m == nil {
  8975  		return 0
  8976  	}
  8977  	var l int
  8978  	_ = l
  8979  	l = len(m.Admin)
  8980  	if l > 0 {
  8981  		n += 1 + l + sovTx(uint64(l))
  8982  	}
  8983  	l = len(m.MarketId)
  8984  	if l > 0 {
  8985  		n += 1 + l + sovTx(uint64(l))
  8986  	}
  8987  	l = len(m.NewTicker)
  8988  	if l > 0 {
  8989  		n += 1 + l + sovTx(uint64(l))
  8990  	}
  8991  	l = m.NewMinPriceTickSize.Size()
  8992  	n += 1 + l + sovTx(uint64(l))
  8993  	l = m.NewMinQuantityTickSize.Size()
  8994  	n += 1 + l + sovTx(uint64(l))
  8995  	l = m.NewMinNotional.Size()
  8996  	n += 1 + l + sovTx(uint64(l))
  8997  	return n
  8998  }
  8999  
  9000  func (m *MsgUpdateSpotMarketResponse) Size() (n int) {
  9001  	if m == nil {
  9002  		return 0
  9003  	}
  9004  	var l int
  9005  	_ = l
  9006  	return n
  9007  }
  9008  
  9009  func (m *MsgUpdateDerivativeMarket) Size() (n int) {
  9010  	if m == nil {
  9011  		return 0
  9012  	}
  9013  	var l int
  9014  	_ = l
  9015  	l = len(m.Admin)
  9016  	if l > 0 {
  9017  		n += 1 + l + sovTx(uint64(l))
  9018  	}
  9019  	l = len(m.MarketId)
  9020  	if l > 0 {
  9021  		n += 1 + l + sovTx(uint64(l))
  9022  	}
  9023  	l = len(m.NewTicker)
  9024  	if l > 0 {
  9025  		n += 1 + l + sovTx(uint64(l))
  9026  	}
  9027  	l = m.NewMinPriceTickSize.Size()
  9028  	n += 1 + l + sovTx(uint64(l))
  9029  	l = m.NewMinQuantityTickSize.Size()
  9030  	n += 1 + l + sovTx(uint64(l))
  9031  	l = m.NewMinNotional.Size()
  9032  	n += 1 + l + sovTx(uint64(l))
  9033  	l = m.NewInitialMarginRatio.Size()
  9034  	n += 1 + l + sovTx(uint64(l))
  9035  	l = m.NewMaintenanceMarginRatio.Size()
  9036  	n += 1 + l + sovTx(uint64(l))
  9037  	return n
  9038  }
  9039  
  9040  func (m *MsgUpdateDerivativeMarketResponse) Size() (n int) {
  9041  	if m == nil {
  9042  		return 0
  9043  	}
  9044  	var l int
  9045  	_ = l
  9046  	return n
  9047  }
  9048  
  9049  func (m *MsgUpdateParams) Size() (n int) {
  9050  	if m == nil {
  9051  		return 0
  9052  	}
  9053  	var l int
  9054  	_ = l
  9055  	l = len(m.Authority)
  9056  	if l > 0 {
  9057  		n += 1 + l + sovTx(uint64(l))
  9058  	}
  9059  	l = m.Params.Size()
  9060  	n += 1 + l + sovTx(uint64(l))
  9061  	return n
  9062  }
  9063  
  9064  func (m *MsgUpdateParamsResponse) Size() (n int) {
  9065  	if m == nil {
  9066  		return 0
  9067  	}
  9068  	var l int
  9069  	_ = l
  9070  	return n
  9071  }
  9072  
  9073  func (m *MsgDeposit) Size() (n int) {
  9074  	if m == nil {
  9075  		return 0
  9076  	}
  9077  	var l int
  9078  	_ = l
  9079  	l = len(m.Sender)
  9080  	if l > 0 {
  9081  		n += 1 + l + sovTx(uint64(l))
  9082  	}
  9083  	l = len(m.SubaccountId)
  9084  	if l > 0 {
  9085  		n += 1 + l + sovTx(uint64(l))
  9086  	}
  9087  	l = m.Amount.Size()
  9088  	n += 1 + l + sovTx(uint64(l))
  9089  	return n
  9090  }
  9091  
  9092  func (m *MsgDepositResponse) Size() (n int) {
  9093  	if m == nil {
  9094  		return 0
  9095  	}
  9096  	var l int
  9097  	_ = l
  9098  	return n
  9099  }
  9100  
  9101  func (m *MsgWithdraw) Size() (n int) {
  9102  	if m == nil {
  9103  		return 0
  9104  	}
  9105  	var l int
  9106  	_ = l
  9107  	l = len(m.Sender)
  9108  	if l > 0 {
  9109  		n += 1 + l + sovTx(uint64(l))
  9110  	}
  9111  	l = len(m.SubaccountId)
  9112  	if l > 0 {
  9113  		n += 1 + l + sovTx(uint64(l))
  9114  	}
  9115  	l = m.Amount.Size()
  9116  	n += 1 + l + sovTx(uint64(l))
  9117  	return n
  9118  }
  9119  
  9120  func (m *MsgWithdrawResponse) Size() (n int) {
  9121  	if m == nil {
  9122  		return 0
  9123  	}
  9124  	var l int
  9125  	_ = l
  9126  	return n
  9127  }
  9128  
  9129  func (m *MsgCreateSpotLimitOrder) Size() (n int) {
  9130  	if m == nil {
  9131  		return 0
  9132  	}
  9133  	var l int
  9134  	_ = l
  9135  	l = len(m.Sender)
  9136  	if l > 0 {
  9137  		n += 1 + l + sovTx(uint64(l))
  9138  	}
  9139  	l = m.Order.Size()
  9140  	n += 1 + l + sovTx(uint64(l))
  9141  	return n
  9142  }
  9143  
  9144  func (m *MsgCreateSpotLimitOrderResponse) Size() (n int) {
  9145  	if m == nil {
  9146  		return 0
  9147  	}
  9148  	var l int
  9149  	_ = l
  9150  	l = len(m.OrderHash)
  9151  	if l > 0 {
  9152  		n += 1 + l + sovTx(uint64(l))
  9153  	}
  9154  	l = len(m.Cid)
  9155  	if l > 0 {
  9156  		n += 1 + l + sovTx(uint64(l))
  9157  	}
  9158  	return n
  9159  }
  9160  
  9161  func (m *MsgBatchCreateSpotLimitOrders) Size() (n int) {
  9162  	if m == nil {
  9163  		return 0
  9164  	}
  9165  	var l int
  9166  	_ = l
  9167  	l = len(m.Sender)
  9168  	if l > 0 {
  9169  		n += 1 + l + sovTx(uint64(l))
  9170  	}
  9171  	if len(m.Orders) > 0 {
  9172  		for _, e := range m.Orders {
  9173  			l = e.Size()
  9174  			n += 1 + l + sovTx(uint64(l))
  9175  		}
  9176  	}
  9177  	return n
  9178  }
  9179  
  9180  func (m *MsgBatchCreateSpotLimitOrdersResponse) Size() (n int) {
  9181  	if m == nil {
  9182  		return 0
  9183  	}
  9184  	var l int
  9185  	_ = l
  9186  	if len(m.OrderHashes) > 0 {
  9187  		for _, s := range m.OrderHashes {
  9188  			l = len(s)
  9189  			n += 1 + l + sovTx(uint64(l))
  9190  		}
  9191  	}
  9192  	if len(m.CreatedOrdersCids) > 0 {
  9193  		for _, s := range m.CreatedOrdersCids {
  9194  			l = len(s)
  9195  			n += 1 + l + sovTx(uint64(l))
  9196  		}
  9197  	}
  9198  	if len(m.FailedOrdersCids) > 0 {
  9199  		for _, s := range m.FailedOrdersCids {
  9200  			l = len(s)
  9201  			n += 1 + l + sovTx(uint64(l))
  9202  		}
  9203  	}
  9204  	return n
  9205  }
  9206  
  9207  func (m *MsgInstantSpotMarketLaunch) Size() (n int) {
  9208  	if m == nil {
  9209  		return 0
  9210  	}
  9211  	var l int
  9212  	_ = l
  9213  	l = len(m.Sender)
  9214  	if l > 0 {
  9215  		n += 1 + l + sovTx(uint64(l))
  9216  	}
  9217  	l = len(m.Ticker)
  9218  	if l > 0 {
  9219  		n += 1 + l + sovTx(uint64(l))
  9220  	}
  9221  	l = len(m.BaseDenom)
  9222  	if l > 0 {
  9223  		n += 1 + l + sovTx(uint64(l))
  9224  	}
  9225  	l = len(m.QuoteDenom)
  9226  	if l > 0 {
  9227  		n += 1 + l + sovTx(uint64(l))
  9228  	}
  9229  	l = m.MinPriceTickSize.Size()
  9230  	n += 1 + l + sovTx(uint64(l))
  9231  	l = m.MinQuantityTickSize.Size()
  9232  	n += 1 + l + sovTx(uint64(l))
  9233  	l = m.MinNotional.Size()
  9234  	n += 1 + l + sovTx(uint64(l))
  9235  	return n
  9236  }
  9237  
  9238  func (m *MsgInstantSpotMarketLaunchResponse) Size() (n int) {
  9239  	if m == nil {
  9240  		return 0
  9241  	}
  9242  	var l int
  9243  	_ = l
  9244  	return n
  9245  }
  9246  
  9247  func (m *MsgInstantPerpetualMarketLaunch) Size() (n int) {
  9248  	if m == nil {
  9249  		return 0
  9250  	}
  9251  	var l int
  9252  	_ = l
  9253  	l = len(m.Sender)
  9254  	if l > 0 {
  9255  		n += 1 + l + sovTx(uint64(l))
  9256  	}
  9257  	l = len(m.Ticker)
  9258  	if l > 0 {
  9259  		n += 1 + l + sovTx(uint64(l))
  9260  	}
  9261  	l = len(m.QuoteDenom)
  9262  	if l > 0 {
  9263  		n += 1 + l + sovTx(uint64(l))
  9264  	}
  9265  	l = len(m.OracleBase)
  9266  	if l > 0 {
  9267  		n += 1 + l + sovTx(uint64(l))
  9268  	}
  9269  	l = len(m.OracleQuote)
  9270  	if l > 0 {
  9271  		n += 1 + l + sovTx(uint64(l))
  9272  	}
  9273  	if m.OracleScaleFactor != 0 {
  9274  		n += 1 + sovTx(uint64(m.OracleScaleFactor))
  9275  	}
  9276  	if m.OracleType != 0 {
  9277  		n += 1 + sovTx(uint64(m.OracleType))
  9278  	}
  9279  	l = m.MakerFeeRate.Size()
  9280  	n += 1 + l + sovTx(uint64(l))
  9281  	l = m.TakerFeeRate.Size()
  9282  	n += 1 + l + sovTx(uint64(l))
  9283  	l = m.InitialMarginRatio.Size()
  9284  	n += 1 + l + sovTx(uint64(l))
  9285  	l = m.MaintenanceMarginRatio.Size()
  9286  	n += 1 + l + sovTx(uint64(l))
  9287  	l = m.MinPriceTickSize.Size()
  9288  	n += 1 + l + sovTx(uint64(l))
  9289  	l = m.MinQuantityTickSize.Size()
  9290  	n += 1 + l + sovTx(uint64(l))
  9291  	l = m.MinNotional.Size()
  9292  	n += 1 + l + sovTx(uint64(l))
  9293  	return n
  9294  }
  9295  
  9296  func (m *MsgInstantPerpetualMarketLaunchResponse) Size() (n int) {
  9297  	if m == nil {
  9298  		return 0
  9299  	}
  9300  	var l int
  9301  	_ = l
  9302  	return n
  9303  }
  9304  
  9305  func (m *MsgInstantBinaryOptionsMarketLaunch) Size() (n int) {
  9306  	if m == nil {
  9307  		return 0
  9308  	}
  9309  	var l int
  9310  	_ = l
  9311  	l = len(m.Sender)
  9312  	if l > 0 {
  9313  		n += 1 + l + sovTx(uint64(l))
  9314  	}
  9315  	l = len(m.Ticker)
  9316  	if l > 0 {
  9317  		n += 1 + l + sovTx(uint64(l))
  9318  	}
  9319  	l = len(m.OracleSymbol)
  9320  	if l > 0 {
  9321  		n += 1 + l + sovTx(uint64(l))
  9322  	}
  9323  	l = len(m.OracleProvider)
  9324  	if l > 0 {
  9325  		n += 1 + l + sovTx(uint64(l))
  9326  	}
  9327  	if m.OracleType != 0 {
  9328  		n += 1 + sovTx(uint64(m.OracleType))
  9329  	}
  9330  	if m.OracleScaleFactor != 0 {
  9331  		n += 1 + sovTx(uint64(m.OracleScaleFactor))
  9332  	}
  9333  	l = m.MakerFeeRate.Size()
  9334  	n += 1 + l + sovTx(uint64(l))
  9335  	l = m.TakerFeeRate.Size()
  9336  	n += 1 + l + sovTx(uint64(l))
  9337  	if m.ExpirationTimestamp != 0 {
  9338  		n += 1 + sovTx(uint64(m.ExpirationTimestamp))
  9339  	}
  9340  	if m.SettlementTimestamp != 0 {
  9341  		n += 1 + sovTx(uint64(m.SettlementTimestamp))
  9342  	}
  9343  	l = len(m.Admin)
  9344  	if l > 0 {
  9345  		n += 1 + l + sovTx(uint64(l))
  9346  	}
  9347  	l = len(m.QuoteDenom)
  9348  	if l > 0 {
  9349  		n += 1 + l + sovTx(uint64(l))
  9350  	}
  9351  	l = m.MinPriceTickSize.Size()
  9352  	n += 1 + l + sovTx(uint64(l))
  9353  	l = m.MinQuantityTickSize.Size()
  9354  	n += 1 + l + sovTx(uint64(l))
  9355  	l = m.MinNotional.Size()
  9356  	n += 1 + l + sovTx(uint64(l))
  9357  	return n
  9358  }
  9359  
  9360  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Size() (n int) {
  9361  	if m == nil {
  9362  		return 0
  9363  	}
  9364  	var l int
  9365  	_ = l
  9366  	return n
  9367  }
  9368  
  9369  func (m *MsgInstantExpiryFuturesMarketLaunch) Size() (n int) {
  9370  	if m == nil {
  9371  		return 0
  9372  	}
  9373  	var l int
  9374  	_ = l
  9375  	l = len(m.Sender)
  9376  	if l > 0 {
  9377  		n += 1 + l + sovTx(uint64(l))
  9378  	}
  9379  	l = len(m.Ticker)
  9380  	if l > 0 {
  9381  		n += 1 + l + sovTx(uint64(l))
  9382  	}
  9383  	l = len(m.QuoteDenom)
  9384  	if l > 0 {
  9385  		n += 1 + l + sovTx(uint64(l))
  9386  	}
  9387  	l = len(m.OracleBase)
  9388  	if l > 0 {
  9389  		n += 1 + l + sovTx(uint64(l))
  9390  	}
  9391  	l = len(m.OracleQuote)
  9392  	if l > 0 {
  9393  		n += 1 + l + sovTx(uint64(l))
  9394  	}
  9395  	if m.OracleType != 0 {
  9396  		n += 1 + sovTx(uint64(m.OracleType))
  9397  	}
  9398  	if m.OracleScaleFactor != 0 {
  9399  		n += 1 + sovTx(uint64(m.OracleScaleFactor))
  9400  	}
  9401  	if m.Expiry != 0 {
  9402  		n += 1 + sovTx(uint64(m.Expiry))
  9403  	}
  9404  	l = m.MakerFeeRate.Size()
  9405  	n += 1 + l + sovTx(uint64(l))
  9406  	l = m.TakerFeeRate.Size()
  9407  	n += 1 + l + sovTx(uint64(l))
  9408  	l = m.InitialMarginRatio.Size()
  9409  	n += 1 + l + sovTx(uint64(l))
  9410  	l = m.MaintenanceMarginRatio.Size()
  9411  	n += 1 + l + sovTx(uint64(l))
  9412  	l = m.MinPriceTickSize.Size()
  9413  	n += 1 + l + sovTx(uint64(l))
  9414  	l = m.MinQuantityTickSize.Size()
  9415  	n += 1 + l + sovTx(uint64(l))
  9416  	l = m.MinNotional.Size()
  9417  	n += 1 + l + sovTx(uint64(l))
  9418  	return n
  9419  }
  9420  
  9421  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Size() (n int) {
  9422  	if m == nil {
  9423  		return 0
  9424  	}
  9425  	var l int
  9426  	_ = l
  9427  	return n
  9428  }
  9429  
  9430  func (m *MsgCreateSpotMarketOrder) Size() (n int) {
  9431  	if m == nil {
  9432  		return 0
  9433  	}
  9434  	var l int
  9435  	_ = l
  9436  	l = len(m.Sender)
  9437  	if l > 0 {
  9438  		n += 1 + l + sovTx(uint64(l))
  9439  	}
  9440  	l = m.Order.Size()
  9441  	n += 1 + l + sovTx(uint64(l))
  9442  	return n
  9443  }
  9444  
  9445  func (m *MsgCreateSpotMarketOrderResponse) Size() (n int) {
  9446  	if m == nil {
  9447  		return 0
  9448  	}
  9449  	var l int
  9450  	_ = l
  9451  	l = len(m.OrderHash)
  9452  	if l > 0 {
  9453  		n += 1 + l + sovTx(uint64(l))
  9454  	}
  9455  	if m.Results != nil {
  9456  		l = m.Results.Size()
  9457  		n += 1 + l + sovTx(uint64(l))
  9458  	}
  9459  	l = len(m.Cid)
  9460  	if l > 0 {
  9461  		n += 1 + l + sovTx(uint64(l))
  9462  	}
  9463  	return n
  9464  }
  9465  
  9466  func (m *SpotMarketOrderResults) Size() (n int) {
  9467  	if m == nil {
  9468  		return 0
  9469  	}
  9470  	var l int
  9471  	_ = l
  9472  	l = m.Quantity.Size()
  9473  	n += 1 + l + sovTx(uint64(l))
  9474  	l = m.Price.Size()
  9475  	n += 1 + l + sovTx(uint64(l))
  9476  	l = m.Fee.Size()
  9477  	n += 1 + l + sovTx(uint64(l))
  9478  	return n
  9479  }
  9480  
  9481  func (m *MsgCreateDerivativeLimitOrder) Size() (n int) {
  9482  	if m == nil {
  9483  		return 0
  9484  	}
  9485  	var l int
  9486  	_ = l
  9487  	l = len(m.Sender)
  9488  	if l > 0 {
  9489  		n += 1 + l + sovTx(uint64(l))
  9490  	}
  9491  	l = m.Order.Size()
  9492  	n += 1 + l + sovTx(uint64(l))
  9493  	return n
  9494  }
  9495  
  9496  func (m *MsgCreateDerivativeLimitOrderResponse) Size() (n int) {
  9497  	if m == nil {
  9498  		return 0
  9499  	}
  9500  	var l int
  9501  	_ = l
  9502  	l = len(m.OrderHash)
  9503  	if l > 0 {
  9504  		n += 1 + l + sovTx(uint64(l))
  9505  	}
  9506  	l = len(m.Cid)
  9507  	if l > 0 {
  9508  		n += 1 + l + sovTx(uint64(l))
  9509  	}
  9510  	return n
  9511  }
  9512  
  9513  func (m *MsgCreateBinaryOptionsLimitOrder) Size() (n int) {
  9514  	if m == nil {
  9515  		return 0
  9516  	}
  9517  	var l int
  9518  	_ = l
  9519  	l = len(m.Sender)
  9520  	if l > 0 {
  9521  		n += 1 + l + sovTx(uint64(l))
  9522  	}
  9523  	l = m.Order.Size()
  9524  	n += 1 + l + sovTx(uint64(l))
  9525  	return n
  9526  }
  9527  
  9528  func (m *MsgCreateBinaryOptionsLimitOrderResponse) Size() (n int) {
  9529  	if m == nil {
  9530  		return 0
  9531  	}
  9532  	var l int
  9533  	_ = l
  9534  	l = len(m.OrderHash)
  9535  	if l > 0 {
  9536  		n += 1 + l + sovTx(uint64(l))
  9537  	}
  9538  	l = len(m.Cid)
  9539  	if l > 0 {
  9540  		n += 1 + l + sovTx(uint64(l))
  9541  	}
  9542  	return n
  9543  }
  9544  
  9545  func (m *MsgBatchCreateDerivativeLimitOrders) Size() (n int) {
  9546  	if m == nil {
  9547  		return 0
  9548  	}
  9549  	var l int
  9550  	_ = l
  9551  	l = len(m.Sender)
  9552  	if l > 0 {
  9553  		n += 1 + l + sovTx(uint64(l))
  9554  	}
  9555  	if len(m.Orders) > 0 {
  9556  		for _, e := range m.Orders {
  9557  			l = e.Size()
  9558  			n += 1 + l + sovTx(uint64(l))
  9559  		}
  9560  	}
  9561  	return n
  9562  }
  9563  
  9564  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Size() (n int) {
  9565  	if m == nil {
  9566  		return 0
  9567  	}
  9568  	var l int
  9569  	_ = l
  9570  	if len(m.OrderHashes) > 0 {
  9571  		for _, s := range m.OrderHashes {
  9572  			l = len(s)
  9573  			n += 1 + l + sovTx(uint64(l))
  9574  		}
  9575  	}
  9576  	if len(m.CreatedOrdersCids) > 0 {
  9577  		for _, s := range m.CreatedOrdersCids {
  9578  			l = len(s)
  9579  			n += 1 + l + sovTx(uint64(l))
  9580  		}
  9581  	}
  9582  	if len(m.FailedOrdersCids) > 0 {
  9583  		for _, s := range m.FailedOrdersCids {
  9584  			l = len(s)
  9585  			n += 1 + l + sovTx(uint64(l))
  9586  		}
  9587  	}
  9588  	return n
  9589  }
  9590  
  9591  func (m *MsgCancelSpotOrder) Size() (n int) {
  9592  	if m == nil {
  9593  		return 0
  9594  	}
  9595  	var l int
  9596  	_ = l
  9597  	l = len(m.Sender)
  9598  	if l > 0 {
  9599  		n += 1 + l + sovTx(uint64(l))
  9600  	}
  9601  	l = len(m.MarketId)
  9602  	if l > 0 {
  9603  		n += 1 + l + sovTx(uint64(l))
  9604  	}
  9605  	l = len(m.SubaccountId)
  9606  	if l > 0 {
  9607  		n += 1 + l + sovTx(uint64(l))
  9608  	}
  9609  	l = len(m.OrderHash)
  9610  	if l > 0 {
  9611  		n += 1 + l + sovTx(uint64(l))
  9612  	}
  9613  	l = len(m.Cid)
  9614  	if l > 0 {
  9615  		n += 1 + l + sovTx(uint64(l))
  9616  	}
  9617  	return n
  9618  }
  9619  
  9620  func (m *MsgCancelSpotOrderResponse) Size() (n int) {
  9621  	if m == nil {
  9622  		return 0
  9623  	}
  9624  	var l int
  9625  	_ = l
  9626  	return n
  9627  }
  9628  
  9629  func (m *MsgBatchCancelSpotOrders) Size() (n int) {
  9630  	if m == nil {
  9631  		return 0
  9632  	}
  9633  	var l int
  9634  	_ = l
  9635  	l = len(m.Sender)
  9636  	if l > 0 {
  9637  		n += 1 + l + sovTx(uint64(l))
  9638  	}
  9639  	if len(m.Data) > 0 {
  9640  		for _, e := range m.Data {
  9641  			l = e.Size()
  9642  			n += 1 + l + sovTx(uint64(l))
  9643  		}
  9644  	}
  9645  	return n
  9646  }
  9647  
  9648  func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int) {
  9649  	if m == nil {
  9650  		return 0
  9651  	}
  9652  	var l int
  9653  	_ = l
  9654  	if len(m.Success) > 0 {
  9655  		n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
  9656  	}
  9657  	return n
  9658  }
  9659  
  9660  func (m *MsgBatchCancelBinaryOptionsOrders) Size() (n int) {
  9661  	if m == nil {
  9662  		return 0
  9663  	}
  9664  	var l int
  9665  	_ = l
  9666  	l = len(m.Sender)
  9667  	if l > 0 {
  9668  		n += 1 + l + sovTx(uint64(l))
  9669  	}
  9670  	if len(m.Data) > 0 {
  9671  		for _, e := range m.Data {
  9672  			l = e.Size()
  9673  			n += 1 + l + sovTx(uint64(l))
  9674  		}
  9675  	}
  9676  	return n
  9677  }
  9678  
  9679  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Size() (n int) {
  9680  	if m == nil {
  9681  		return 0
  9682  	}
  9683  	var l int
  9684  	_ = l
  9685  	if len(m.Success) > 0 {
  9686  		n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
  9687  	}
  9688  	return n
  9689  }
  9690  
  9691  func (m *MsgBatchUpdateOrders) Size() (n int) {
  9692  	if m == nil {
  9693  		return 0
  9694  	}
  9695  	var l int
  9696  	_ = l
  9697  	l = len(m.Sender)
  9698  	if l > 0 {
  9699  		n += 1 + l + sovTx(uint64(l))
  9700  	}
  9701  	l = len(m.SubaccountId)
  9702  	if l > 0 {
  9703  		n += 1 + l + sovTx(uint64(l))
  9704  	}
  9705  	if len(m.SpotMarketIdsToCancelAll) > 0 {
  9706  		for _, s := range m.SpotMarketIdsToCancelAll {
  9707  			l = len(s)
  9708  			n += 1 + l + sovTx(uint64(l))
  9709  		}
  9710  	}
  9711  	if len(m.DerivativeMarketIdsToCancelAll) > 0 {
  9712  		for _, s := range m.DerivativeMarketIdsToCancelAll {
  9713  			l = len(s)
  9714  			n += 1 + l + sovTx(uint64(l))
  9715  		}
  9716  	}
  9717  	if len(m.SpotOrdersToCancel) > 0 {
  9718  		for _, e := range m.SpotOrdersToCancel {
  9719  			l = e.Size()
  9720  			n += 1 + l + sovTx(uint64(l))
  9721  		}
  9722  	}
  9723  	if len(m.DerivativeOrdersToCancel) > 0 {
  9724  		for _, e := range m.DerivativeOrdersToCancel {
  9725  			l = e.Size()
  9726  			n += 1 + l + sovTx(uint64(l))
  9727  		}
  9728  	}
  9729  	if len(m.SpotOrdersToCreate) > 0 {
  9730  		for _, e := range m.SpotOrdersToCreate {
  9731  			l = e.Size()
  9732  			n += 1 + l + sovTx(uint64(l))
  9733  		}
  9734  	}
  9735  	if len(m.DerivativeOrdersToCreate) > 0 {
  9736  		for _, e := range m.DerivativeOrdersToCreate {
  9737  			l = e.Size()
  9738  			n += 1 + l + sovTx(uint64(l))
  9739  		}
  9740  	}
  9741  	if len(m.BinaryOptionsOrdersToCancel) > 0 {
  9742  		for _, e := range m.BinaryOptionsOrdersToCancel {
  9743  			l = e.Size()
  9744  			n += 1 + l + sovTx(uint64(l))
  9745  		}
  9746  	}
  9747  	if len(m.BinaryOptionsMarketIdsToCancelAll) > 0 {
  9748  		for _, s := range m.BinaryOptionsMarketIdsToCancelAll {
  9749  			l = len(s)
  9750  			n += 1 + l + sovTx(uint64(l))
  9751  		}
  9752  	}
  9753  	if len(m.BinaryOptionsOrdersToCreate) > 0 {
  9754  		for _, e := range m.BinaryOptionsOrdersToCreate {
  9755  			l = e.Size()
  9756  			n += 1 + l + sovTx(uint64(l))
  9757  		}
  9758  	}
  9759  	return n
  9760  }
  9761  
  9762  func (m *MsgBatchUpdateOrdersResponse) Size() (n int) {
  9763  	if m == nil {
  9764  		return 0
  9765  	}
  9766  	var l int
  9767  	_ = l
  9768  	if len(m.SpotCancelSuccess) > 0 {
  9769  		n += 1 + sovTx(uint64(len(m.SpotCancelSuccess))) + len(m.SpotCancelSuccess)*1
  9770  	}
  9771  	if len(m.DerivativeCancelSuccess) > 0 {
  9772  		n += 1 + sovTx(uint64(len(m.DerivativeCancelSuccess))) + len(m.DerivativeCancelSuccess)*1
  9773  	}
  9774  	if len(m.SpotOrderHashes) > 0 {
  9775  		for _, s := range m.SpotOrderHashes {
  9776  			l = len(s)
  9777  			n += 1 + l + sovTx(uint64(l))
  9778  		}
  9779  	}
  9780  	if len(m.DerivativeOrderHashes) > 0 {
  9781  		for _, s := range m.DerivativeOrderHashes {
  9782  			l = len(s)
  9783  			n += 1 + l + sovTx(uint64(l))
  9784  		}
  9785  	}
  9786  	if len(m.BinaryOptionsCancelSuccess) > 0 {
  9787  		n += 1 + sovTx(uint64(len(m.BinaryOptionsCancelSuccess))) + len(m.BinaryOptionsCancelSuccess)*1
  9788  	}
  9789  	if len(m.BinaryOptionsOrderHashes) > 0 {
  9790  		for _, s := range m.BinaryOptionsOrderHashes {
  9791  			l = len(s)
  9792  			n += 1 + l + sovTx(uint64(l))
  9793  		}
  9794  	}
  9795  	if len(m.CreatedSpotOrdersCids) > 0 {
  9796  		for _, s := range m.CreatedSpotOrdersCids {
  9797  			l = len(s)
  9798  			n += 1 + l + sovTx(uint64(l))
  9799  		}
  9800  	}
  9801  	if len(m.FailedSpotOrdersCids) > 0 {
  9802  		for _, s := range m.FailedSpotOrdersCids {
  9803  			l = len(s)
  9804  			n += 1 + l + sovTx(uint64(l))
  9805  		}
  9806  	}
  9807  	if len(m.CreatedDerivativeOrdersCids) > 0 {
  9808  		for _, s := range m.CreatedDerivativeOrdersCids {
  9809  			l = len(s)
  9810  			n += 1 + l + sovTx(uint64(l))
  9811  		}
  9812  	}
  9813  	if len(m.FailedDerivativeOrdersCids) > 0 {
  9814  		for _, s := range m.FailedDerivativeOrdersCids {
  9815  			l = len(s)
  9816  			n += 1 + l + sovTx(uint64(l))
  9817  		}
  9818  	}
  9819  	if len(m.CreatedBinaryOptionsOrdersCids) > 0 {
  9820  		for _, s := range m.CreatedBinaryOptionsOrdersCids {
  9821  			l = len(s)
  9822  			n += 1 + l + sovTx(uint64(l))
  9823  		}
  9824  	}
  9825  	if len(m.FailedBinaryOptionsOrdersCids) > 0 {
  9826  		for _, s := range m.FailedBinaryOptionsOrdersCids {
  9827  			l = len(s)
  9828  			n += 1 + l + sovTx(uint64(l))
  9829  		}
  9830  	}
  9831  	return n
  9832  }
  9833  
  9834  func (m *MsgCreateDerivativeMarketOrder) Size() (n int) {
  9835  	if m == nil {
  9836  		return 0
  9837  	}
  9838  	var l int
  9839  	_ = l
  9840  	l = len(m.Sender)
  9841  	if l > 0 {
  9842  		n += 1 + l + sovTx(uint64(l))
  9843  	}
  9844  	l = m.Order.Size()
  9845  	n += 1 + l + sovTx(uint64(l))
  9846  	return n
  9847  }
  9848  
  9849  func (m *MsgCreateDerivativeMarketOrderResponse) Size() (n int) {
  9850  	if m == nil {
  9851  		return 0
  9852  	}
  9853  	var l int
  9854  	_ = l
  9855  	l = len(m.OrderHash)
  9856  	if l > 0 {
  9857  		n += 1 + l + sovTx(uint64(l))
  9858  	}
  9859  	if m.Results != nil {
  9860  		l = m.Results.Size()
  9861  		n += 1 + l + sovTx(uint64(l))
  9862  	}
  9863  	l = len(m.Cid)
  9864  	if l > 0 {
  9865  		n += 1 + l + sovTx(uint64(l))
  9866  	}
  9867  	return n
  9868  }
  9869  
  9870  func (m *DerivativeMarketOrderResults) Size() (n int) {
  9871  	if m == nil {
  9872  		return 0
  9873  	}
  9874  	var l int
  9875  	_ = l
  9876  	l = m.Quantity.Size()
  9877  	n += 1 + l + sovTx(uint64(l))
  9878  	l = m.Price.Size()
  9879  	n += 1 + l + sovTx(uint64(l))
  9880  	l = m.Fee.Size()
  9881  	n += 1 + l + sovTx(uint64(l))
  9882  	l = m.PositionDelta.Size()
  9883  	n += 1 + l + sovTx(uint64(l))
  9884  	l = m.Payout.Size()
  9885  	n += 1 + l + sovTx(uint64(l))
  9886  	return n
  9887  }
  9888  
  9889  func (m *MsgCreateBinaryOptionsMarketOrder) Size() (n int) {
  9890  	if m == nil {
  9891  		return 0
  9892  	}
  9893  	var l int
  9894  	_ = l
  9895  	l = len(m.Sender)
  9896  	if l > 0 {
  9897  		n += 1 + l + sovTx(uint64(l))
  9898  	}
  9899  	l = m.Order.Size()
  9900  	n += 1 + l + sovTx(uint64(l))
  9901  	return n
  9902  }
  9903  
  9904  func (m *MsgCreateBinaryOptionsMarketOrderResponse) Size() (n int) {
  9905  	if m == nil {
  9906  		return 0
  9907  	}
  9908  	var l int
  9909  	_ = l
  9910  	l = len(m.OrderHash)
  9911  	if l > 0 {
  9912  		n += 1 + l + sovTx(uint64(l))
  9913  	}
  9914  	if m.Results != nil {
  9915  		l = m.Results.Size()
  9916  		n += 1 + l + sovTx(uint64(l))
  9917  	}
  9918  	l = len(m.Cid)
  9919  	if l > 0 {
  9920  		n += 1 + l + sovTx(uint64(l))
  9921  	}
  9922  	return n
  9923  }
  9924  
  9925  func (m *MsgCancelDerivativeOrder) Size() (n int) {
  9926  	if m == nil {
  9927  		return 0
  9928  	}
  9929  	var l int
  9930  	_ = l
  9931  	l = len(m.Sender)
  9932  	if l > 0 {
  9933  		n += 1 + l + sovTx(uint64(l))
  9934  	}
  9935  	l = len(m.MarketId)
  9936  	if l > 0 {
  9937  		n += 1 + l + sovTx(uint64(l))
  9938  	}
  9939  	l = len(m.SubaccountId)
  9940  	if l > 0 {
  9941  		n += 1 + l + sovTx(uint64(l))
  9942  	}
  9943  	l = len(m.OrderHash)
  9944  	if l > 0 {
  9945  		n += 1 + l + sovTx(uint64(l))
  9946  	}
  9947  	if m.OrderMask != 0 {
  9948  		n += 1 + sovTx(uint64(m.OrderMask))
  9949  	}
  9950  	l = len(m.Cid)
  9951  	if l > 0 {
  9952  		n += 1 + l + sovTx(uint64(l))
  9953  	}
  9954  	return n
  9955  }
  9956  
  9957  func (m *MsgCancelDerivativeOrderResponse) Size() (n int) {
  9958  	if m == nil {
  9959  		return 0
  9960  	}
  9961  	var l int
  9962  	_ = l
  9963  	return n
  9964  }
  9965  
  9966  func (m *MsgCancelBinaryOptionsOrder) Size() (n int) {
  9967  	if m == nil {
  9968  		return 0
  9969  	}
  9970  	var l int
  9971  	_ = l
  9972  	l = len(m.Sender)
  9973  	if l > 0 {
  9974  		n += 1 + l + sovTx(uint64(l))
  9975  	}
  9976  	l = len(m.MarketId)
  9977  	if l > 0 {
  9978  		n += 1 + l + sovTx(uint64(l))
  9979  	}
  9980  	l = len(m.SubaccountId)
  9981  	if l > 0 {
  9982  		n += 1 + l + sovTx(uint64(l))
  9983  	}
  9984  	l = len(m.OrderHash)
  9985  	if l > 0 {
  9986  		n += 1 + l + sovTx(uint64(l))
  9987  	}
  9988  	if m.OrderMask != 0 {
  9989  		n += 1 + sovTx(uint64(m.OrderMask))
  9990  	}
  9991  	l = len(m.Cid)
  9992  	if l > 0 {
  9993  		n += 1 + l + sovTx(uint64(l))
  9994  	}
  9995  	return n
  9996  }
  9997  
  9998  func (m *MsgCancelBinaryOptionsOrderResponse) Size() (n int) {
  9999  	if m == nil {
 10000  		return 0
 10001  	}
 10002  	var l int
 10003  	_ = l
 10004  	return n
 10005  }
 10006  
 10007  func (m *OrderData) Size() (n int) {
 10008  	if m == nil {
 10009  		return 0
 10010  	}
 10011  	var l int
 10012  	_ = l
 10013  	l = len(m.MarketId)
 10014  	if l > 0 {
 10015  		n += 1 + l + sovTx(uint64(l))
 10016  	}
 10017  	l = len(m.SubaccountId)
 10018  	if l > 0 {
 10019  		n += 1 + l + sovTx(uint64(l))
 10020  	}
 10021  	l = len(m.OrderHash)
 10022  	if l > 0 {
 10023  		n += 1 + l + sovTx(uint64(l))
 10024  	}
 10025  	if m.OrderMask != 0 {
 10026  		n += 1 + sovTx(uint64(m.OrderMask))
 10027  	}
 10028  	l = len(m.Cid)
 10029  	if l > 0 {
 10030  		n += 1 + l + sovTx(uint64(l))
 10031  	}
 10032  	return n
 10033  }
 10034  
 10035  func (m *MsgBatchCancelDerivativeOrders) Size() (n int) {
 10036  	if m == nil {
 10037  		return 0
 10038  	}
 10039  	var l int
 10040  	_ = l
 10041  	l = len(m.Sender)
 10042  	if l > 0 {
 10043  		n += 1 + l + sovTx(uint64(l))
 10044  	}
 10045  	if len(m.Data) > 0 {
 10046  		for _, e := range m.Data {
 10047  			l = e.Size()
 10048  			n += 1 + l + sovTx(uint64(l))
 10049  		}
 10050  	}
 10051  	return n
 10052  }
 10053  
 10054  func (m *MsgBatchCancelDerivativeOrdersResponse) Size() (n int) {
 10055  	if m == nil {
 10056  		return 0
 10057  	}
 10058  	var l int
 10059  	_ = l
 10060  	if len(m.Success) > 0 {
 10061  		n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
 10062  	}
 10063  	return n
 10064  }
 10065  
 10066  func (m *MsgSubaccountTransfer) Size() (n int) {
 10067  	if m == nil {
 10068  		return 0
 10069  	}
 10070  	var l int
 10071  	_ = l
 10072  	l = len(m.Sender)
 10073  	if l > 0 {
 10074  		n += 1 + l + sovTx(uint64(l))
 10075  	}
 10076  	l = len(m.SourceSubaccountId)
 10077  	if l > 0 {
 10078  		n += 1 + l + sovTx(uint64(l))
 10079  	}
 10080  	l = len(m.DestinationSubaccountId)
 10081  	if l > 0 {
 10082  		n += 1 + l + sovTx(uint64(l))
 10083  	}
 10084  	l = m.Amount.Size()
 10085  	n += 1 + l + sovTx(uint64(l))
 10086  	return n
 10087  }
 10088  
 10089  func (m *MsgSubaccountTransferResponse) Size() (n int) {
 10090  	if m == nil {
 10091  		return 0
 10092  	}
 10093  	var l int
 10094  	_ = l
 10095  	return n
 10096  }
 10097  
 10098  func (m *MsgExternalTransfer) Size() (n int) {
 10099  	if m == nil {
 10100  		return 0
 10101  	}
 10102  	var l int
 10103  	_ = l
 10104  	l = len(m.Sender)
 10105  	if l > 0 {
 10106  		n += 1 + l + sovTx(uint64(l))
 10107  	}
 10108  	l = len(m.SourceSubaccountId)
 10109  	if l > 0 {
 10110  		n += 1 + l + sovTx(uint64(l))
 10111  	}
 10112  	l = len(m.DestinationSubaccountId)
 10113  	if l > 0 {
 10114  		n += 1 + l + sovTx(uint64(l))
 10115  	}
 10116  	l = m.Amount.Size()
 10117  	n += 1 + l + sovTx(uint64(l))
 10118  	return n
 10119  }
 10120  
 10121  func (m *MsgExternalTransferResponse) Size() (n int) {
 10122  	if m == nil {
 10123  		return 0
 10124  	}
 10125  	var l int
 10126  	_ = l
 10127  	return n
 10128  }
 10129  
 10130  func (m *MsgLiquidatePosition) Size() (n int) {
 10131  	if m == nil {
 10132  		return 0
 10133  	}
 10134  	var l int
 10135  	_ = l
 10136  	l = len(m.Sender)
 10137  	if l > 0 {
 10138  		n += 1 + l + sovTx(uint64(l))
 10139  	}
 10140  	l = len(m.SubaccountId)
 10141  	if l > 0 {
 10142  		n += 1 + l + sovTx(uint64(l))
 10143  	}
 10144  	l = len(m.MarketId)
 10145  	if l > 0 {
 10146  		n += 1 + l + sovTx(uint64(l))
 10147  	}
 10148  	if m.Order != nil {
 10149  		l = m.Order.Size()
 10150  		n += 1 + l + sovTx(uint64(l))
 10151  	}
 10152  	return n
 10153  }
 10154  
 10155  func (m *MsgLiquidatePositionResponse) Size() (n int) {
 10156  	if m == nil {
 10157  		return 0
 10158  	}
 10159  	var l int
 10160  	_ = l
 10161  	return n
 10162  }
 10163  
 10164  func (m *MsgEmergencySettleMarket) Size() (n int) {
 10165  	if m == nil {
 10166  		return 0
 10167  	}
 10168  	var l int
 10169  	_ = l
 10170  	l = len(m.Sender)
 10171  	if l > 0 {
 10172  		n += 1 + l + sovTx(uint64(l))
 10173  	}
 10174  	l = len(m.SubaccountId)
 10175  	if l > 0 {
 10176  		n += 1 + l + sovTx(uint64(l))
 10177  	}
 10178  	l = len(m.MarketId)
 10179  	if l > 0 {
 10180  		n += 1 + l + sovTx(uint64(l))
 10181  	}
 10182  	return n
 10183  }
 10184  
 10185  func (m *MsgEmergencySettleMarketResponse) Size() (n int) {
 10186  	if m == nil {
 10187  		return 0
 10188  	}
 10189  	var l int
 10190  	_ = l
 10191  	return n
 10192  }
 10193  
 10194  func (m *MsgIncreasePositionMargin) Size() (n int) {
 10195  	if m == nil {
 10196  		return 0
 10197  	}
 10198  	var l int
 10199  	_ = l
 10200  	l = len(m.Sender)
 10201  	if l > 0 {
 10202  		n += 1 + l + sovTx(uint64(l))
 10203  	}
 10204  	l = len(m.SourceSubaccountId)
 10205  	if l > 0 {
 10206  		n += 1 + l + sovTx(uint64(l))
 10207  	}
 10208  	l = len(m.DestinationSubaccountId)
 10209  	if l > 0 {
 10210  		n += 1 + l + sovTx(uint64(l))
 10211  	}
 10212  	l = len(m.MarketId)
 10213  	if l > 0 {
 10214  		n += 1 + l + sovTx(uint64(l))
 10215  	}
 10216  	l = m.Amount.Size()
 10217  	n += 1 + l + sovTx(uint64(l))
 10218  	return n
 10219  }
 10220  
 10221  func (m *MsgIncreasePositionMarginResponse) Size() (n int) {
 10222  	if m == nil {
 10223  		return 0
 10224  	}
 10225  	var l int
 10226  	_ = l
 10227  	return n
 10228  }
 10229  
 10230  func (m *MsgDecreasePositionMargin) Size() (n int) {
 10231  	if m == nil {
 10232  		return 0
 10233  	}
 10234  	var l int
 10235  	_ = l
 10236  	l = len(m.Sender)
 10237  	if l > 0 {
 10238  		n += 1 + l + sovTx(uint64(l))
 10239  	}
 10240  	l = len(m.SourceSubaccountId)
 10241  	if l > 0 {
 10242  		n += 1 + l + sovTx(uint64(l))
 10243  	}
 10244  	l = len(m.DestinationSubaccountId)
 10245  	if l > 0 {
 10246  		n += 1 + l + sovTx(uint64(l))
 10247  	}
 10248  	l = len(m.MarketId)
 10249  	if l > 0 {
 10250  		n += 1 + l + sovTx(uint64(l))
 10251  	}
 10252  	l = m.Amount.Size()
 10253  	n += 1 + l + sovTx(uint64(l))
 10254  	return n
 10255  }
 10256  
 10257  func (m *MsgDecreasePositionMarginResponse) Size() (n int) {
 10258  	if m == nil {
 10259  		return 0
 10260  	}
 10261  	var l int
 10262  	_ = l
 10263  	return n
 10264  }
 10265  
 10266  func (m *MsgPrivilegedExecuteContract) Size() (n int) {
 10267  	if m == nil {
 10268  		return 0
 10269  	}
 10270  	var l int
 10271  	_ = l
 10272  	l = len(m.Sender)
 10273  	if l > 0 {
 10274  		n += 1 + l + sovTx(uint64(l))
 10275  	}
 10276  	l = len(m.Funds)
 10277  	if l > 0 {
 10278  		n += 1 + l + sovTx(uint64(l))
 10279  	}
 10280  	l = len(m.ContractAddress)
 10281  	if l > 0 {
 10282  		n += 1 + l + sovTx(uint64(l))
 10283  	}
 10284  	l = len(m.Data)
 10285  	if l > 0 {
 10286  		n += 1 + l + sovTx(uint64(l))
 10287  	}
 10288  	return n
 10289  }
 10290  
 10291  func (m *MsgPrivilegedExecuteContractResponse) Size() (n int) {
 10292  	if m == nil {
 10293  		return 0
 10294  	}
 10295  	var l int
 10296  	_ = l
 10297  	if len(m.FundsDiff) > 0 {
 10298  		for _, e := range m.FundsDiff {
 10299  			l = e.Size()
 10300  			n += 1 + l + sovTx(uint64(l))
 10301  		}
 10302  	}
 10303  	return n
 10304  }
 10305  
 10306  func (m *MsgRewardsOptOut) Size() (n int) {
 10307  	if m == nil {
 10308  		return 0
 10309  	}
 10310  	var l int
 10311  	_ = l
 10312  	l = len(m.Sender)
 10313  	if l > 0 {
 10314  		n += 1 + l + sovTx(uint64(l))
 10315  	}
 10316  	return n
 10317  }
 10318  
 10319  func (m *MsgRewardsOptOutResponse) Size() (n int) {
 10320  	if m == nil {
 10321  		return 0
 10322  	}
 10323  	var l int
 10324  	_ = l
 10325  	return n
 10326  }
 10327  
 10328  func (m *MsgReclaimLockedFunds) Size() (n int) {
 10329  	if m == nil {
 10330  		return 0
 10331  	}
 10332  	var l int
 10333  	_ = l
 10334  	l = len(m.Sender)
 10335  	if l > 0 {
 10336  		n += 1 + l + sovTx(uint64(l))
 10337  	}
 10338  	l = len(m.LockedAccountPubKey)
 10339  	if l > 0 {
 10340  		n += 1 + l + sovTx(uint64(l))
 10341  	}
 10342  	l = len(m.Signature)
 10343  	if l > 0 {
 10344  		n += 1 + l + sovTx(uint64(l))
 10345  	}
 10346  	return n
 10347  }
 10348  
 10349  func (m *MsgReclaimLockedFundsResponse) Size() (n int) {
 10350  	if m == nil {
 10351  		return 0
 10352  	}
 10353  	var l int
 10354  	_ = l
 10355  	return n
 10356  }
 10357  
 10358  func (m *MsgSignData) Size() (n int) {
 10359  	if m == nil {
 10360  		return 0
 10361  	}
 10362  	var l int
 10363  	_ = l
 10364  	l = len(m.Signer)
 10365  	if l > 0 {
 10366  		n += 1 + l + sovTx(uint64(l))
 10367  	}
 10368  	l = len(m.Data)
 10369  	if l > 0 {
 10370  		n += 1 + l + sovTx(uint64(l))
 10371  	}
 10372  	return n
 10373  }
 10374  
 10375  func (m *MsgSignDoc) Size() (n int) {
 10376  	if m == nil {
 10377  		return 0
 10378  	}
 10379  	var l int
 10380  	_ = l
 10381  	l = len(m.SignType)
 10382  	if l > 0 {
 10383  		n += 1 + l + sovTx(uint64(l))
 10384  	}
 10385  	l = m.Value.Size()
 10386  	n += 1 + l + sovTx(uint64(l))
 10387  	return n
 10388  }
 10389  
 10390  func (m *MsgAdminUpdateBinaryOptionsMarket) Size() (n int) {
 10391  	if m == nil {
 10392  		return 0
 10393  	}
 10394  	var l int
 10395  	_ = l
 10396  	l = len(m.Sender)
 10397  	if l > 0 {
 10398  		n += 1 + l + sovTx(uint64(l))
 10399  	}
 10400  	l = len(m.MarketId)
 10401  	if l > 0 {
 10402  		n += 1 + l + sovTx(uint64(l))
 10403  	}
 10404  	if m.SettlementPrice != nil {
 10405  		l = m.SettlementPrice.Size()
 10406  		n += 1 + l + sovTx(uint64(l))
 10407  	}
 10408  	if m.ExpirationTimestamp != 0 {
 10409  		n += 1 + sovTx(uint64(m.ExpirationTimestamp))
 10410  	}
 10411  	if m.SettlementTimestamp != 0 {
 10412  		n += 1 + sovTx(uint64(m.SettlementTimestamp))
 10413  	}
 10414  	if m.Status != 0 {
 10415  		n += 1 + sovTx(uint64(m.Status))
 10416  	}
 10417  	return n
 10418  }
 10419  
 10420  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Size() (n int) {
 10421  	if m == nil {
 10422  		return 0
 10423  	}
 10424  	var l int
 10425  	_ = l
 10426  	return n
 10427  }
 10428  
 10429  func (m *MsgAuthorizeStakeGrants) Size() (n int) {
 10430  	if m == nil {
 10431  		return 0
 10432  	}
 10433  	var l int
 10434  	_ = l
 10435  	l = len(m.Sender)
 10436  	if l > 0 {
 10437  		n += 1 + l + sovTx(uint64(l))
 10438  	}
 10439  	if len(m.Grants) > 0 {
 10440  		for _, e := range m.Grants {
 10441  			l = e.Size()
 10442  			n += 1 + l + sovTx(uint64(l))
 10443  		}
 10444  	}
 10445  	return n
 10446  }
 10447  
 10448  func (m *MsgAuthorizeStakeGrantsResponse) Size() (n int) {
 10449  	if m == nil {
 10450  		return 0
 10451  	}
 10452  	var l int
 10453  	_ = l
 10454  	return n
 10455  }
 10456  
 10457  func (m *MsgActivateStakeGrant) Size() (n int) {
 10458  	if m == nil {
 10459  		return 0
 10460  	}
 10461  	var l int
 10462  	_ = l
 10463  	l = len(m.Sender)
 10464  	if l > 0 {
 10465  		n += 1 + l + sovTx(uint64(l))
 10466  	}
 10467  	l = len(m.Granter)
 10468  	if l > 0 {
 10469  		n += 1 + l + sovTx(uint64(l))
 10470  	}
 10471  	return n
 10472  }
 10473  
 10474  func (m *MsgActivateStakeGrantResponse) Size() (n int) {
 10475  	if m == nil {
 10476  		return 0
 10477  	}
 10478  	var l int
 10479  	_ = l
 10480  	return n
 10481  }
 10482  
 10483  func sovTx(x uint64) (n int) {
 10484  	return (math_bits.Len64(x|1) + 6) / 7
 10485  }
 10486  func sozTx(x uint64) (n int) {
 10487  	return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 10488  }
 10489  func (m *MsgUpdateSpotMarket) Unmarshal(dAtA []byte) error {
 10490  	l := len(dAtA)
 10491  	iNdEx := 0
 10492  	for iNdEx < l {
 10493  		preIndex := iNdEx
 10494  		var wire uint64
 10495  		for shift := uint(0); ; shift += 7 {
 10496  			if shift >= 64 {
 10497  				return ErrIntOverflowTx
 10498  			}
 10499  			if iNdEx >= l {
 10500  				return io.ErrUnexpectedEOF
 10501  			}
 10502  			b := dAtA[iNdEx]
 10503  			iNdEx++
 10504  			wire |= uint64(b&0x7F) << shift
 10505  			if b < 0x80 {
 10506  				break
 10507  			}
 10508  		}
 10509  		fieldNum := int32(wire >> 3)
 10510  		wireType := int(wire & 0x7)
 10511  		if wireType == 4 {
 10512  			return fmt.Errorf("proto: MsgUpdateSpotMarket: wiretype end group for non-group")
 10513  		}
 10514  		if fieldNum <= 0 {
 10515  			return fmt.Errorf("proto: MsgUpdateSpotMarket: illegal tag %d (wire type %d)", fieldNum, wire)
 10516  		}
 10517  		switch fieldNum {
 10518  		case 1:
 10519  			if wireType != 2 {
 10520  				return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
 10521  			}
 10522  			var stringLen uint64
 10523  			for shift := uint(0); ; shift += 7 {
 10524  				if shift >= 64 {
 10525  					return ErrIntOverflowTx
 10526  				}
 10527  				if iNdEx >= l {
 10528  					return io.ErrUnexpectedEOF
 10529  				}
 10530  				b := dAtA[iNdEx]
 10531  				iNdEx++
 10532  				stringLen |= uint64(b&0x7F) << shift
 10533  				if b < 0x80 {
 10534  					break
 10535  				}
 10536  			}
 10537  			intStringLen := int(stringLen)
 10538  			if intStringLen < 0 {
 10539  				return ErrInvalidLengthTx
 10540  			}
 10541  			postIndex := iNdEx + intStringLen
 10542  			if postIndex < 0 {
 10543  				return ErrInvalidLengthTx
 10544  			}
 10545  			if postIndex > l {
 10546  				return io.ErrUnexpectedEOF
 10547  			}
 10548  			m.Admin = string(dAtA[iNdEx:postIndex])
 10549  			iNdEx = postIndex
 10550  		case 2:
 10551  			if wireType != 2 {
 10552  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 10553  			}
 10554  			var stringLen uint64
 10555  			for shift := uint(0); ; shift += 7 {
 10556  				if shift >= 64 {
 10557  					return ErrIntOverflowTx
 10558  				}
 10559  				if iNdEx >= l {
 10560  					return io.ErrUnexpectedEOF
 10561  				}
 10562  				b := dAtA[iNdEx]
 10563  				iNdEx++
 10564  				stringLen |= uint64(b&0x7F) << shift
 10565  				if b < 0x80 {
 10566  					break
 10567  				}
 10568  			}
 10569  			intStringLen := int(stringLen)
 10570  			if intStringLen < 0 {
 10571  				return ErrInvalidLengthTx
 10572  			}
 10573  			postIndex := iNdEx + intStringLen
 10574  			if postIndex < 0 {
 10575  				return ErrInvalidLengthTx
 10576  			}
 10577  			if postIndex > l {
 10578  				return io.ErrUnexpectedEOF
 10579  			}
 10580  			m.MarketId = string(dAtA[iNdEx:postIndex])
 10581  			iNdEx = postIndex
 10582  		case 3:
 10583  			if wireType != 2 {
 10584  				return fmt.Errorf("proto: wrong wireType = %d for field NewTicker", wireType)
 10585  			}
 10586  			var stringLen uint64
 10587  			for shift := uint(0); ; shift += 7 {
 10588  				if shift >= 64 {
 10589  					return ErrIntOverflowTx
 10590  				}
 10591  				if iNdEx >= l {
 10592  					return io.ErrUnexpectedEOF
 10593  				}
 10594  				b := dAtA[iNdEx]
 10595  				iNdEx++
 10596  				stringLen |= uint64(b&0x7F) << shift
 10597  				if b < 0x80 {
 10598  					break
 10599  				}
 10600  			}
 10601  			intStringLen := int(stringLen)
 10602  			if intStringLen < 0 {
 10603  				return ErrInvalidLengthTx
 10604  			}
 10605  			postIndex := iNdEx + intStringLen
 10606  			if postIndex < 0 {
 10607  				return ErrInvalidLengthTx
 10608  			}
 10609  			if postIndex > l {
 10610  				return io.ErrUnexpectedEOF
 10611  			}
 10612  			m.NewTicker = string(dAtA[iNdEx:postIndex])
 10613  			iNdEx = postIndex
 10614  		case 4:
 10615  			if wireType != 2 {
 10616  				return fmt.Errorf("proto: wrong wireType = %d for field NewMinPriceTickSize", wireType)
 10617  			}
 10618  			var stringLen uint64
 10619  			for shift := uint(0); ; shift += 7 {
 10620  				if shift >= 64 {
 10621  					return ErrIntOverflowTx
 10622  				}
 10623  				if iNdEx >= l {
 10624  					return io.ErrUnexpectedEOF
 10625  				}
 10626  				b := dAtA[iNdEx]
 10627  				iNdEx++
 10628  				stringLen |= uint64(b&0x7F) << shift
 10629  				if b < 0x80 {
 10630  					break
 10631  				}
 10632  			}
 10633  			intStringLen := int(stringLen)
 10634  			if intStringLen < 0 {
 10635  				return ErrInvalidLengthTx
 10636  			}
 10637  			postIndex := iNdEx + intStringLen
 10638  			if postIndex < 0 {
 10639  				return ErrInvalidLengthTx
 10640  			}
 10641  			if postIndex > l {
 10642  				return io.ErrUnexpectedEOF
 10643  			}
 10644  			if err := m.NewMinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10645  				return err
 10646  			}
 10647  			iNdEx = postIndex
 10648  		case 5:
 10649  			if wireType != 2 {
 10650  				return fmt.Errorf("proto: wrong wireType = %d for field NewMinQuantityTickSize", wireType)
 10651  			}
 10652  			var stringLen uint64
 10653  			for shift := uint(0); ; shift += 7 {
 10654  				if shift >= 64 {
 10655  					return ErrIntOverflowTx
 10656  				}
 10657  				if iNdEx >= l {
 10658  					return io.ErrUnexpectedEOF
 10659  				}
 10660  				b := dAtA[iNdEx]
 10661  				iNdEx++
 10662  				stringLen |= uint64(b&0x7F) << shift
 10663  				if b < 0x80 {
 10664  					break
 10665  				}
 10666  			}
 10667  			intStringLen := int(stringLen)
 10668  			if intStringLen < 0 {
 10669  				return ErrInvalidLengthTx
 10670  			}
 10671  			postIndex := iNdEx + intStringLen
 10672  			if postIndex < 0 {
 10673  				return ErrInvalidLengthTx
 10674  			}
 10675  			if postIndex > l {
 10676  				return io.ErrUnexpectedEOF
 10677  			}
 10678  			if err := m.NewMinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10679  				return err
 10680  			}
 10681  			iNdEx = postIndex
 10682  		case 6:
 10683  			if wireType != 2 {
 10684  				return fmt.Errorf("proto: wrong wireType = %d for field NewMinNotional", wireType)
 10685  			}
 10686  			var stringLen uint64
 10687  			for shift := uint(0); ; shift += 7 {
 10688  				if shift >= 64 {
 10689  					return ErrIntOverflowTx
 10690  				}
 10691  				if iNdEx >= l {
 10692  					return io.ErrUnexpectedEOF
 10693  				}
 10694  				b := dAtA[iNdEx]
 10695  				iNdEx++
 10696  				stringLen |= uint64(b&0x7F) << shift
 10697  				if b < 0x80 {
 10698  					break
 10699  				}
 10700  			}
 10701  			intStringLen := int(stringLen)
 10702  			if intStringLen < 0 {
 10703  				return ErrInvalidLengthTx
 10704  			}
 10705  			postIndex := iNdEx + intStringLen
 10706  			if postIndex < 0 {
 10707  				return ErrInvalidLengthTx
 10708  			}
 10709  			if postIndex > l {
 10710  				return io.ErrUnexpectedEOF
 10711  			}
 10712  			if err := m.NewMinNotional.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10713  				return err
 10714  			}
 10715  			iNdEx = postIndex
 10716  		default:
 10717  			iNdEx = preIndex
 10718  			skippy, err := skipTx(dAtA[iNdEx:])
 10719  			if err != nil {
 10720  				return err
 10721  			}
 10722  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10723  				return ErrInvalidLengthTx
 10724  			}
 10725  			if (iNdEx + skippy) > l {
 10726  				return io.ErrUnexpectedEOF
 10727  			}
 10728  			iNdEx += skippy
 10729  		}
 10730  	}
 10731  
 10732  	if iNdEx > l {
 10733  		return io.ErrUnexpectedEOF
 10734  	}
 10735  	return nil
 10736  }
 10737  func (m *MsgUpdateSpotMarketResponse) Unmarshal(dAtA []byte) error {
 10738  	l := len(dAtA)
 10739  	iNdEx := 0
 10740  	for iNdEx < l {
 10741  		preIndex := iNdEx
 10742  		var wire uint64
 10743  		for shift := uint(0); ; shift += 7 {
 10744  			if shift >= 64 {
 10745  				return ErrIntOverflowTx
 10746  			}
 10747  			if iNdEx >= l {
 10748  				return io.ErrUnexpectedEOF
 10749  			}
 10750  			b := dAtA[iNdEx]
 10751  			iNdEx++
 10752  			wire |= uint64(b&0x7F) << shift
 10753  			if b < 0x80 {
 10754  				break
 10755  			}
 10756  		}
 10757  		fieldNum := int32(wire >> 3)
 10758  		wireType := int(wire & 0x7)
 10759  		if wireType == 4 {
 10760  			return fmt.Errorf("proto: MsgUpdateSpotMarketResponse: wiretype end group for non-group")
 10761  		}
 10762  		if fieldNum <= 0 {
 10763  			return fmt.Errorf("proto: MsgUpdateSpotMarketResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 10764  		}
 10765  		switch fieldNum {
 10766  		default:
 10767  			iNdEx = preIndex
 10768  			skippy, err := skipTx(dAtA[iNdEx:])
 10769  			if err != nil {
 10770  				return err
 10771  			}
 10772  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10773  				return ErrInvalidLengthTx
 10774  			}
 10775  			if (iNdEx + skippy) > l {
 10776  				return io.ErrUnexpectedEOF
 10777  			}
 10778  			iNdEx += skippy
 10779  		}
 10780  	}
 10781  
 10782  	if iNdEx > l {
 10783  		return io.ErrUnexpectedEOF
 10784  	}
 10785  	return nil
 10786  }
 10787  func (m *MsgUpdateDerivativeMarket) Unmarshal(dAtA []byte) error {
 10788  	l := len(dAtA)
 10789  	iNdEx := 0
 10790  	for iNdEx < l {
 10791  		preIndex := iNdEx
 10792  		var wire uint64
 10793  		for shift := uint(0); ; shift += 7 {
 10794  			if shift >= 64 {
 10795  				return ErrIntOverflowTx
 10796  			}
 10797  			if iNdEx >= l {
 10798  				return io.ErrUnexpectedEOF
 10799  			}
 10800  			b := dAtA[iNdEx]
 10801  			iNdEx++
 10802  			wire |= uint64(b&0x7F) << shift
 10803  			if b < 0x80 {
 10804  				break
 10805  			}
 10806  		}
 10807  		fieldNum := int32(wire >> 3)
 10808  		wireType := int(wire & 0x7)
 10809  		if wireType == 4 {
 10810  			return fmt.Errorf("proto: MsgUpdateDerivativeMarket: wiretype end group for non-group")
 10811  		}
 10812  		if fieldNum <= 0 {
 10813  			return fmt.Errorf("proto: MsgUpdateDerivativeMarket: illegal tag %d (wire type %d)", fieldNum, wire)
 10814  		}
 10815  		switch fieldNum {
 10816  		case 1:
 10817  			if wireType != 2 {
 10818  				return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
 10819  			}
 10820  			var stringLen uint64
 10821  			for shift := uint(0); ; shift += 7 {
 10822  				if shift >= 64 {
 10823  					return ErrIntOverflowTx
 10824  				}
 10825  				if iNdEx >= l {
 10826  					return io.ErrUnexpectedEOF
 10827  				}
 10828  				b := dAtA[iNdEx]
 10829  				iNdEx++
 10830  				stringLen |= uint64(b&0x7F) << shift
 10831  				if b < 0x80 {
 10832  					break
 10833  				}
 10834  			}
 10835  			intStringLen := int(stringLen)
 10836  			if intStringLen < 0 {
 10837  				return ErrInvalidLengthTx
 10838  			}
 10839  			postIndex := iNdEx + intStringLen
 10840  			if postIndex < 0 {
 10841  				return ErrInvalidLengthTx
 10842  			}
 10843  			if postIndex > l {
 10844  				return io.ErrUnexpectedEOF
 10845  			}
 10846  			m.Admin = string(dAtA[iNdEx:postIndex])
 10847  			iNdEx = postIndex
 10848  		case 2:
 10849  			if wireType != 2 {
 10850  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 10851  			}
 10852  			var stringLen uint64
 10853  			for shift := uint(0); ; shift += 7 {
 10854  				if shift >= 64 {
 10855  					return ErrIntOverflowTx
 10856  				}
 10857  				if iNdEx >= l {
 10858  					return io.ErrUnexpectedEOF
 10859  				}
 10860  				b := dAtA[iNdEx]
 10861  				iNdEx++
 10862  				stringLen |= uint64(b&0x7F) << shift
 10863  				if b < 0x80 {
 10864  					break
 10865  				}
 10866  			}
 10867  			intStringLen := int(stringLen)
 10868  			if intStringLen < 0 {
 10869  				return ErrInvalidLengthTx
 10870  			}
 10871  			postIndex := iNdEx + intStringLen
 10872  			if postIndex < 0 {
 10873  				return ErrInvalidLengthTx
 10874  			}
 10875  			if postIndex > l {
 10876  				return io.ErrUnexpectedEOF
 10877  			}
 10878  			m.MarketId = string(dAtA[iNdEx:postIndex])
 10879  			iNdEx = postIndex
 10880  		case 3:
 10881  			if wireType != 2 {
 10882  				return fmt.Errorf("proto: wrong wireType = %d for field NewTicker", wireType)
 10883  			}
 10884  			var stringLen uint64
 10885  			for shift := uint(0); ; shift += 7 {
 10886  				if shift >= 64 {
 10887  					return ErrIntOverflowTx
 10888  				}
 10889  				if iNdEx >= l {
 10890  					return io.ErrUnexpectedEOF
 10891  				}
 10892  				b := dAtA[iNdEx]
 10893  				iNdEx++
 10894  				stringLen |= uint64(b&0x7F) << shift
 10895  				if b < 0x80 {
 10896  					break
 10897  				}
 10898  			}
 10899  			intStringLen := int(stringLen)
 10900  			if intStringLen < 0 {
 10901  				return ErrInvalidLengthTx
 10902  			}
 10903  			postIndex := iNdEx + intStringLen
 10904  			if postIndex < 0 {
 10905  				return ErrInvalidLengthTx
 10906  			}
 10907  			if postIndex > l {
 10908  				return io.ErrUnexpectedEOF
 10909  			}
 10910  			m.NewTicker = string(dAtA[iNdEx:postIndex])
 10911  			iNdEx = postIndex
 10912  		case 4:
 10913  			if wireType != 2 {
 10914  				return fmt.Errorf("proto: wrong wireType = %d for field NewMinPriceTickSize", wireType)
 10915  			}
 10916  			var stringLen uint64
 10917  			for shift := uint(0); ; shift += 7 {
 10918  				if shift >= 64 {
 10919  					return ErrIntOverflowTx
 10920  				}
 10921  				if iNdEx >= l {
 10922  					return io.ErrUnexpectedEOF
 10923  				}
 10924  				b := dAtA[iNdEx]
 10925  				iNdEx++
 10926  				stringLen |= uint64(b&0x7F) << shift
 10927  				if b < 0x80 {
 10928  					break
 10929  				}
 10930  			}
 10931  			intStringLen := int(stringLen)
 10932  			if intStringLen < 0 {
 10933  				return ErrInvalidLengthTx
 10934  			}
 10935  			postIndex := iNdEx + intStringLen
 10936  			if postIndex < 0 {
 10937  				return ErrInvalidLengthTx
 10938  			}
 10939  			if postIndex > l {
 10940  				return io.ErrUnexpectedEOF
 10941  			}
 10942  			if err := m.NewMinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10943  				return err
 10944  			}
 10945  			iNdEx = postIndex
 10946  		case 5:
 10947  			if wireType != 2 {
 10948  				return fmt.Errorf("proto: wrong wireType = %d for field NewMinQuantityTickSize", wireType)
 10949  			}
 10950  			var stringLen uint64
 10951  			for shift := uint(0); ; shift += 7 {
 10952  				if shift >= 64 {
 10953  					return ErrIntOverflowTx
 10954  				}
 10955  				if iNdEx >= l {
 10956  					return io.ErrUnexpectedEOF
 10957  				}
 10958  				b := dAtA[iNdEx]
 10959  				iNdEx++
 10960  				stringLen |= uint64(b&0x7F) << shift
 10961  				if b < 0x80 {
 10962  					break
 10963  				}
 10964  			}
 10965  			intStringLen := int(stringLen)
 10966  			if intStringLen < 0 {
 10967  				return ErrInvalidLengthTx
 10968  			}
 10969  			postIndex := iNdEx + intStringLen
 10970  			if postIndex < 0 {
 10971  				return ErrInvalidLengthTx
 10972  			}
 10973  			if postIndex > l {
 10974  				return io.ErrUnexpectedEOF
 10975  			}
 10976  			if err := m.NewMinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10977  				return err
 10978  			}
 10979  			iNdEx = postIndex
 10980  		case 6:
 10981  			if wireType != 2 {
 10982  				return fmt.Errorf("proto: wrong wireType = %d for field NewMinNotional", wireType)
 10983  			}
 10984  			var stringLen uint64
 10985  			for shift := uint(0); ; shift += 7 {
 10986  				if shift >= 64 {
 10987  					return ErrIntOverflowTx
 10988  				}
 10989  				if iNdEx >= l {
 10990  					return io.ErrUnexpectedEOF
 10991  				}
 10992  				b := dAtA[iNdEx]
 10993  				iNdEx++
 10994  				stringLen |= uint64(b&0x7F) << shift
 10995  				if b < 0x80 {
 10996  					break
 10997  				}
 10998  			}
 10999  			intStringLen := int(stringLen)
 11000  			if intStringLen < 0 {
 11001  				return ErrInvalidLengthTx
 11002  			}
 11003  			postIndex := iNdEx + intStringLen
 11004  			if postIndex < 0 {
 11005  				return ErrInvalidLengthTx
 11006  			}
 11007  			if postIndex > l {
 11008  				return io.ErrUnexpectedEOF
 11009  			}
 11010  			if err := m.NewMinNotional.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11011  				return err
 11012  			}
 11013  			iNdEx = postIndex
 11014  		case 7:
 11015  			if wireType != 2 {
 11016  				return fmt.Errorf("proto: wrong wireType = %d for field NewInitialMarginRatio", wireType)
 11017  			}
 11018  			var stringLen uint64
 11019  			for shift := uint(0); ; shift += 7 {
 11020  				if shift >= 64 {
 11021  					return ErrIntOverflowTx
 11022  				}
 11023  				if iNdEx >= l {
 11024  					return io.ErrUnexpectedEOF
 11025  				}
 11026  				b := dAtA[iNdEx]
 11027  				iNdEx++
 11028  				stringLen |= uint64(b&0x7F) << shift
 11029  				if b < 0x80 {
 11030  					break
 11031  				}
 11032  			}
 11033  			intStringLen := int(stringLen)
 11034  			if intStringLen < 0 {
 11035  				return ErrInvalidLengthTx
 11036  			}
 11037  			postIndex := iNdEx + intStringLen
 11038  			if postIndex < 0 {
 11039  				return ErrInvalidLengthTx
 11040  			}
 11041  			if postIndex > l {
 11042  				return io.ErrUnexpectedEOF
 11043  			}
 11044  			if err := m.NewInitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11045  				return err
 11046  			}
 11047  			iNdEx = postIndex
 11048  		case 8:
 11049  			if wireType != 2 {
 11050  				return fmt.Errorf("proto: wrong wireType = %d for field NewMaintenanceMarginRatio", wireType)
 11051  			}
 11052  			var stringLen uint64
 11053  			for shift := uint(0); ; shift += 7 {
 11054  				if shift >= 64 {
 11055  					return ErrIntOverflowTx
 11056  				}
 11057  				if iNdEx >= l {
 11058  					return io.ErrUnexpectedEOF
 11059  				}
 11060  				b := dAtA[iNdEx]
 11061  				iNdEx++
 11062  				stringLen |= uint64(b&0x7F) << shift
 11063  				if b < 0x80 {
 11064  					break
 11065  				}
 11066  			}
 11067  			intStringLen := int(stringLen)
 11068  			if intStringLen < 0 {
 11069  				return ErrInvalidLengthTx
 11070  			}
 11071  			postIndex := iNdEx + intStringLen
 11072  			if postIndex < 0 {
 11073  				return ErrInvalidLengthTx
 11074  			}
 11075  			if postIndex > l {
 11076  				return io.ErrUnexpectedEOF
 11077  			}
 11078  			if err := m.NewMaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11079  				return err
 11080  			}
 11081  			iNdEx = postIndex
 11082  		default:
 11083  			iNdEx = preIndex
 11084  			skippy, err := skipTx(dAtA[iNdEx:])
 11085  			if err != nil {
 11086  				return err
 11087  			}
 11088  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11089  				return ErrInvalidLengthTx
 11090  			}
 11091  			if (iNdEx + skippy) > l {
 11092  				return io.ErrUnexpectedEOF
 11093  			}
 11094  			iNdEx += skippy
 11095  		}
 11096  	}
 11097  
 11098  	if iNdEx > l {
 11099  		return io.ErrUnexpectedEOF
 11100  	}
 11101  	return nil
 11102  }
 11103  func (m *MsgUpdateDerivativeMarketResponse) Unmarshal(dAtA []byte) error {
 11104  	l := len(dAtA)
 11105  	iNdEx := 0
 11106  	for iNdEx < l {
 11107  		preIndex := iNdEx
 11108  		var wire uint64
 11109  		for shift := uint(0); ; shift += 7 {
 11110  			if shift >= 64 {
 11111  				return ErrIntOverflowTx
 11112  			}
 11113  			if iNdEx >= l {
 11114  				return io.ErrUnexpectedEOF
 11115  			}
 11116  			b := dAtA[iNdEx]
 11117  			iNdEx++
 11118  			wire |= uint64(b&0x7F) << shift
 11119  			if b < 0x80 {
 11120  				break
 11121  			}
 11122  		}
 11123  		fieldNum := int32(wire >> 3)
 11124  		wireType := int(wire & 0x7)
 11125  		if wireType == 4 {
 11126  			return fmt.Errorf("proto: MsgUpdateDerivativeMarketResponse: wiretype end group for non-group")
 11127  		}
 11128  		if fieldNum <= 0 {
 11129  			return fmt.Errorf("proto: MsgUpdateDerivativeMarketResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11130  		}
 11131  		switch fieldNum {
 11132  		default:
 11133  			iNdEx = preIndex
 11134  			skippy, err := skipTx(dAtA[iNdEx:])
 11135  			if err != nil {
 11136  				return err
 11137  			}
 11138  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11139  				return ErrInvalidLengthTx
 11140  			}
 11141  			if (iNdEx + skippy) > l {
 11142  				return io.ErrUnexpectedEOF
 11143  			}
 11144  			iNdEx += skippy
 11145  		}
 11146  	}
 11147  
 11148  	if iNdEx > l {
 11149  		return io.ErrUnexpectedEOF
 11150  	}
 11151  	return nil
 11152  }
 11153  func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error {
 11154  	l := len(dAtA)
 11155  	iNdEx := 0
 11156  	for iNdEx < l {
 11157  		preIndex := iNdEx
 11158  		var wire uint64
 11159  		for shift := uint(0); ; shift += 7 {
 11160  			if shift >= 64 {
 11161  				return ErrIntOverflowTx
 11162  			}
 11163  			if iNdEx >= l {
 11164  				return io.ErrUnexpectedEOF
 11165  			}
 11166  			b := dAtA[iNdEx]
 11167  			iNdEx++
 11168  			wire |= uint64(b&0x7F) << shift
 11169  			if b < 0x80 {
 11170  				break
 11171  			}
 11172  		}
 11173  		fieldNum := int32(wire >> 3)
 11174  		wireType := int(wire & 0x7)
 11175  		if wireType == 4 {
 11176  			return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group")
 11177  		}
 11178  		if fieldNum <= 0 {
 11179  			return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire)
 11180  		}
 11181  		switch fieldNum {
 11182  		case 1:
 11183  			if wireType != 2 {
 11184  				return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
 11185  			}
 11186  			var stringLen uint64
 11187  			for shift := uint(0); ; shift += 7 {
 11188  				if shift >= 64 {
 11189  					return ErrIntOverflowTx
 11190  				}
 11191  				if iNdEx >= l {
 11192  					return io.ErrUnexpectedEOF
 11193  				}
 11194  				b := dAtA[iNdEx]
 11195  				iNdEx++
 11196  				stringLen |= uint64(b&0x7F) << shift
 11197  				if b < 0x80 {
 11198  					break
 11199  				}
 11200  			}
 11201  			intStringLen := int(stringLen)
 11202  			if intStringLen < 0 {
 11203  				return ErrInvalidLengthTx
 11204  			}
 11205  			postIndex := iNdEx + intStringLen
 11206  			if postIndex < 0 {
 11207  				return ErrInvalidLengthTx
 11208  			}
 11209  			if postIndex > l {
 11210  				return io.ErrUnexpectedEOF
 11211  			}
 11212  			m.Authority = string(dAtA[iNdEx:postIndex])
 11213  			iNdEx = postIndex
 11214  		case 2:
 11215  			if wireType != 2 {
 11216  				return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
 11217  			}
 11218  			var msglen int
 11219  			for shift := uint(0); ; shift += 7 {
 11220  				if shift >= 64 {
 11221  					return ErrIntOverflowTx
 11222  				}
 11223  				if iNdEx >= l {
 11224  					return io.ErrUnexpectedEOF
 11225  				}
 11226  				b := dAtA[iNdEx]
 11227  				iNdEx++
 11228  				msglen |= int(b&0x7F) << shift
 11229  				if b < 0x80 {
 11230  					break
 11231  				}
 11232  			}
 11233  			if msglen < 0 {
 11234  				return ErrInvalidLengthTx
 11235  			}
 11236  			postIndex := iNdEx + msglen
 11237  			if postIndex < 0 {
 11238  				return ErrInvalidLengthTx
 11239  			}
 11240  			if postIndex > l {
 11241  				return io.ErrUnexpectedEOF
 11242  			}
 11243  			if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11244  				return err
 11245  			}
 11246  			iNdEx = postIndex
 11247  		default:
 11248  			iNdEx = preIndex
 11249  			skippy, err := skipTx(dAtA[iNdEx:])
 11250  			if err != nil {
 11251  				return err
 11252  			}
 11253  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11254  				return ErrInvalidLengthTx
 11255  			}
 11256  			if (iNdEx + skippy) > l {
 11257  				return io.ErrUnexpectedEOF
 11258  			}
 11259  			iNdEx += skippy
 11260  		}
 11261  	}
 11262  
 11263  	if iNdEx > l {
 11264  		return io.ErrUnexpectedEOF
 11265  	}
 11266  	return nil
 11267  }
 11268  func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error {
 11269  	l := len(dAtA)
 11270  	iNdEx := 0
 11271  	for iNdEx < l {
 11272  		preIndex := iNdEx
 11273  		var wire uint64
 11274  		for shift := uint(0); ; shift += 7 {
 11275  			if shift >= 64 {
 11276  				return ErrIntOverflowTx
 11277  			}
 11278  			if iNdEx >= l {
 11279  				return io.ErrUnexpectedEOF
 11280  			}
 11281  			b := dAtA[iNdEx]
 11282  			iNdEx++
 11283  			wire |= uint64(b&0x7F) << shift
 11284  			if b < 0x80 {
 11285  				break
 11286  			}
 11287  		}
 11288  		fieldNum := int32(wire >> 3)
 11289  		wireType := int(wire & 0x7)
 11290  		if wireType == 4 {
 11291  			return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group")
 11292  		}
 11293  		if fieldNum <= 0 {
 11294  			return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11295  		}
 11296  		switch fieldNum {
 11297  		default:
 11298  			iNdEx = preIndex
 11299  			skippy, err := skipTx(dAtA[iNdEx:])
 11300  			if err != nil {
 11301  				return err
 11302  			}
 11303  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11304  				return ErrInvalidLengthTx
 11305  			}
 11306  			if (iNdEx + skippy) > l {
 11307  				return io.ErrUnexpectedEOF
 11308  			}
 11309  			iNdEx += skippy
 11310  		}
 11311  	}
 11312  
 11313  	if iNdEx > l {
 11314  		return io.ErrUnexpectedEOF
 11315  	}
 11316  	return nil
 11317  }
 11318  func (m *MsgDeposit) Unmarshal(dAtA []byte) error {
 11319  	l := len(dAtA)
 11320  	iNdEx := 0
 11321  	for iNdEx < l {
 11322  		preIndex := iNdEx
 11323  		var wire uint64
 11324  		for shift := uint(0); ; shift += 7 {
 11325  			if shift >= 64 {
 11326  				return ErrIntOverflowTx
 11327  			}
 11328  			if iNdEx >= l {
 11329  				return io.ErrUnexpectedEOF
 11330  			}
 11331  			b := dAtA[iNdEx]
 11332  			iNdEx++
 11333  			wire |= uint64(b&0x7F) << shift
 11334  			if b < 0x80 {
 11335  				break
 11336  			}
 11337  		}
 11338  		fieldNum := int32(wire >> 3)
 11339  		wireType := int(wire & 0x7)
 11340  		if wireType == 4 {
 11341  			return fmt.Errorf("proto: MsgDeposit: wiretype end group for non-group")
 11342  		}
 11343  		if fieldNum <= 0 {
 11344  			return fmt.Errorf("proto: MsgDeposit: illegal tag %d (wire type %d)", fieldNum, wire)
 11345  		}
 11346  		switch fieldNum {
 11347  		case 1:
 11348  			if wireType != 2 {
 11349  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 11350  			}
 11351  			var stringLen uint64
 11352  			for shift := uint(0); ; shift += 7 {
 11353  				if shift >= 64 {
 11354  					return ErrIntOverflowTx
 11355  				}
 11356  				if iNdEx >= l {
 11357  					return io.ErrUnexpectedEOF
 11358  				}
 11359  				b := dAtA[iNdEx]
 11360  				iNdEx++
 11361  				stringLen |= uint64(b&0x7F) << shift
 11362  				if b < 0x80 {
 11363  					break
 11364  				}
 11365  			}
 11366  			intStringLen := int(stringLen)
 11367  			if intStringLen < 0 {
 11368  				return ErrInvalidLengthTx
 11369  			}
 11370  			postIndex := iNdEx + intStringLen
 11371  			if postIndex < 0 {
 11372  				return ErrInvalidLengthTx
 11373  			}
 11374  			if postIndex > l {
 11375  				return io.ErrUnexpectedEOF
 11376  			}
 11377  			m.Sender = string(dAtA[iNdEx:postIndex])
 11378  			iNdEx = postIndex
 11379  		case 2:
 11380  			if wireType != 2 {
 11381  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 11382  			}
 11383  			var stringLen uint64
 11384  			for shift := uint(0); ; shift += 7 {
 11385  				if shift >= 64 {
 11386  					return ErrIntOverflowTx
 11387  				}
 11388  				if iNdEx >= l {
 11389  					return io.ErrUnexpectedEOF
 11390  				}
 11391  				b := dAtA[iNdEx]
 11392  				iNdEx++
 11393  				stringLen |= uint64(b&0x7F) << shift
 11394  				if b < 0x80 {
 11395  					break
 11396  				}
 11397  			}
 11398  			intStringLen := int(stringLen)
 11399  			if intStringLen < 0 {
 11400  				return ErrInvalidLengthTx
 11401  			}
 11402  			postIndex := iNdEx + intStringLen
 11403  			if postIndex < 0 {
 11404  				return ErrInvalidLengthTx
 11405  			}
 11406  			if postIndex > l {
 11407  				return io.ErrUnexpectedEOF
 11408  			}
 11409  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 11410  			iNdEx = postIndex
 11411  		case 3:
 11412  			if wireType != 2 {
 11413  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
 11414  			}
 11415  			var msglen int
 11416  			for shift := uint(0); ; shift += 7 {
 11417  				if shift >= 64 {
 11418  					return ErrIntOverflowTx
 11419  				}
 11420  				if iNdEx >= l {
 11421  					return io.ErrUnexpectedEOF
 11422  				}
 11423  				b := dAtA[iNdEx]
 11424  				iNdEx++
 11425  				msglen |= int(b&0x7F) << shift
 11426  				if b < 0x80 {
 11427  					break
 11428  				}
 11429  			}
 11430  			if msglen < 0 {
 11431  				return ErrInvalidLengthTx
 11432  			}
 11433  			postIndex := iNdEx + msglen
 11434  			if postIndex < 0 {
 11435  				return ErrInvalidLengthTx
 11436  			}
 11437  			if postIndex > l {
 11438  				return io.ErrUnexpectedEOF
 11439  			}
 11440  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11441  				return err
 11442  			}
 11443  			iNdEx = postIndex
 11444  		default:
 11445  			iNdEx = preIndex
 11446  			skippy, err := skipTx(dAtA[iNdEx:])
 11447  			if err != nil {
 11448  				return err
 11449  			}
 11450  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11451  				return ErrInvalidLengthTx
 11452  			}
 11453  			if (iNdEx + skippy) > l {
 11454  				return io.ErrUnexpectedEOF
 11455  			}
 11456  			iNdEx += skippy
 11457  		}
 11458  	}
 11459  
 11460  	if iNdEx > l {
 11461  		return io.ErrUnexpectedEOF
 11462  	}
 11463  	return nil
 11464  }
 11465  func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error {
 11466  	l := len(dAtA)
 11467  	iNdEx := 0
 11468  	for iNdEx < l {
 11469  		preIndex := iNdEx
 11470  		var wire uint64
 11471  		for shift := uint(0); ; shift += 7 {
 11472  			if shift >= 64 {
 11473  				return ErrIntOverflowTx
 11474  			}
 11475  			if iNdEx >= l {
 11476  				return io.ErrUnexpectedEOF
 11477  			}
 11478  			b := dAtA[iNdEx]
 11479  			iNdEx++
 11480  			wire |= uint64(b&0x7F) << shift
 11481  			if b < 0x80 {
 11482  				break
 11483  			}
 11484  		}
 11485  		fieldNum := int32(wire >> 3)
 11486  		wireType := int(wire & 0x7)
 11487  		if wireType == 4 {
 11488  			return fmt.Errorf("proto: MsgDepositResponse: wiretype end group for non-group")
 11489  		}
 11490  		if fieldNum <= 0 {
 11491  			return fmt.Errorf("proto: MsgDepositResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11492  		}
 11493  		switch fieldNum {
 11494  		default:
 11495  			iNdEx = preIndex
 11496  			skippy, err := skipTx(dAtA[iNdEx:])
 11497  			if err != nil {
 11498  				return err
 11499  			}
 11500  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11501  				return ErrInvalidLengthTx
 11502  			}
 11503  			if (iNdEx + skippy) > l {
 11504  				return io.ErrUnexpectedEOF
 11505  			}
 11506  			iNdEx += skippy
 11507  		}
 11508  	}
 11509  
 11510  	if iNdEx > l {
 11511  		return io.ErrUnexpectedEOF
 11512  	}
 11513  	return nil
 11514  }
 11515  func (m *MsgWithdraw) Unmarshal(dAtA []byte) error {
 11516  	l := len(dAtA)
 11517  	iNdEx := 0
 11518  	for iNdEx < l {
 11519  		preIndex := iNdEx
 11520  		var wire uint64
 11521  		for shift := uint(0); ; shift += 7 {
 11522  			if shift >= 64 {
 11523  				return ErrIntOverflowTx
 11524  			}
 11525  			if iNdEx >= l {
 11526  				return io.ErrUnexpectedEOF
 11527  			}
 11528  			b := dAtA[iNdEx]
 11529  			iNdEx++
 11530  			wire |= uint64(b&0x7F) << shift
 11531  			if b < 0x80 {
 11532  				break
 11533  			}
 11534  		}
 11535  		fieldNum := int32(wire >> 3)
 11536  		wireType := int(wire & 0x7)
 11537  		if wireType == 4 {
 11538  			return fmt.Errorf("proto: MsgWithdraw: wiretype end group for non-group")
 11539  		}
 11540  		if fieldNum <= 0 {
 11541  			return fmt.Errorf("proto: MsgWithdraw: illegal tag %d (wire type %d)", fieldNum, wire)
 11542  		}
 11543  		switch fieldNum {
 11544  		case 1:
 11545  			if wireType != 2 {
 11546  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 11547  			}
 11548  			var stringLen uint64
 11549  			for shift := uint(0); ; shift += 7 {
 11550  				if shift >= 64 {
 11551  					return ErrIntOverflowTx
 11552  				}
 11553  				if iNdEx >= l {
 11554  					return io.ErrUnexpectedEOF
 11555  				}
 11556  				b := dAtA[iNdEx]
 11557  				iNdEx++
 11558  				stringLen |= uint64(b&0x7F) << shift
 11559  				if b < 0x80 {
 11560  					break
 11561  				}
 11562  			}
 11563  			intStringLen := int(stringLen)
 11564  			if intStringLen < 0 {
 11565  				return ErrInvalidLengthTx
 11566  			}
 11567  			postIndex := iNdEx + intStringLen
 11568  			if postIndex < 0 {
 11569  				return ErrInvalidLengthTx
 11570  			}
 11571  			if postIndex > l {
 11572  				return io.ErrUnexpectedEOF
 11573  			}
 11574  			m.Sender = string(dAtA[iNdEx:postIndex])
 11575  			iNdEx = postIndex
 11576  		case 2:
 11577  			if wireType != 2 {
 11578  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 11579  			}
 11580  			var stringLen uint64
 11581  			for shift := uint(0); ; shift += 7 {
 11582  				if shift >= 64 {
 11583  					return ErrIntOverflowTx
 11584  				}
 11585  				if iNdEx >= l {
 11586  					return io.ErrUnexpectedEOF
 11587  				}
 11588  				b := dAtA[iNdEx]
 11589  				iNdEx++
 11590  				stringLen |= uint64(b&0x7F) << shift
 11591  				if b < 0x80 {
 11592  					break
 11593  				}
 11594  			}
 11595  			intStringLen := int(stringLen)
 11596  			if intStringLen < 0 {
 11597  				return ErrInvalidLengthTx
 11598  			}
 11599  			postIndex := iNdEx + intStringLen
 11600  			if postIndex < 0 {
 11601  				return ErrInvalidLengthTx
 11602  			}
 11603  			if postIndex > l {
 11604  				return io.ErrUnexpectedEOF
 11605  			}
 11606  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 11607  			iNdEx = postIndex
 11608  		case 3:
 11609  			if wireType != 2 {
 11610  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
 11611  			}
 11612  			var msglen int
 11613  			for shift := uint(0); ; shift += 7 {
 11614  				if shift >= 64 {
 11615  					return ErrIntOverflowTx
 11616  				}
 11617  				if iNdEx >= l {
 11618  					return io.ErrUnexpectedEOF
 11619  				}
 11620  				b := dAtA[iNdEx]
 11621  				iNdEx++
 11622  				msglen |= int(b&0x7F) << shift
 11623  				if b < 0x80 {
 11624  					break
 11625  				}
 11626  			}
 11627  			if msglen < 0 {
 11628  				return ErrInvalidLengthTx
 11629  			}
 11630  			postIndex := iNdEx + msglen
 11631  			if postIndex < 0 {
 11632  				return ErrInvalidLengthTx
 11633  			}
 11634  			if postIndex > l {
 11635  				return io.ErrUnexpectedEOF
 11636  			}
 11637  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11638  				return err
 11639  			}
 11640  			iNdEx = postIndex
 11641  		default:
 11642  			iNdEx = preIndex
 11643  			skippy, err := skipTx(dAtA[iNdEx:])
 11644  			if err != nil {
 11645  				return err
 11646  			}
 11647  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11648  				return ErrInvalidLengthTx
 11649  			}
 11650  			if (iNdEx + skippy) > l {
 11651  				return io.ErrUnexpectedEOF
 11652  			}
 11653  			iNdEx += skippy
 11654  		}
 11655  	}
 11656  
 11657  	if iNdEx > l {
 11658  		return io.ErrUnexpectedEOF
 11659  	}
 11660  	return nil
 11661  }
 11662  func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error {
 11663  	l := len(dAtA)
 11664  	iNdEx := 0
 11665  	for iNdEx < l {
 11666  		preIndex := iNdEx
 11667  		var wire uint64
 11668  		for shift := uint(0); ; shift += 7 {
 11669  			if shift >= 64 {
 11670  				return ErrIntOverflowTx
 11671  			}
 11672  			if iNdEx >= l {
 11673  				return io.ErrUnexpectedEOF
 11674  			}
 11675  			b := dAtA[iNdEx]
 11676  			iNdEx++
 11677  			wire |= uint64(b&0x7F) << shift
 11678  			if b < 0x80 {
 11679  				break
 11680  			}
 11681  		}
 11682  		fieldNum := int32(wire >> 3)
 11683  		wireType := int(wire & 0x7)
 11684  		if wireType == 4 {
 11685  			return fmt.Errorf("proto: MsgWithdrawResponse: wiretype end group for non-group")
 11686  		}
 11687  		if fieldNum <= 0 {
 11688  			return fmt.Errorf("proto: MsgWithdrawResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11689  		}
 11690  		switch fieldNum {
 11691  		default:
 11692  			iNdEx = preIndex
 11693  			skippy, err := skipTx(dAtA[iNdEx:])
 11694  			if err != nil {
 11695  				return err
 11696  			}
 11697  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11698  				return ErrInvalidLengthTx
 11699  			}
 11700  			if (iNdEx + skippy) > l {
 11701  				return io.ErrUnexpectedEOF
 11702  			}
 11703  			iNdEx += skippy
 11704  		}
 11705  	}
 11706  
 11707  	if iNdEx > l {
 11708  		return io.ErrUnexpectedEOF
 11709  	}
 11710  	return nil
 11711  }
 11712  func (m *MsgCreateSpotLimitOrder) Unmarshal(dAtA []byte) error {
 11713  	l := len(dAtA)
 11714  	iNdEx := 0
 11715  	for iNdEx < l {
 11716  		preIndex := iNdEx
 11717  		var wire uint64
 11718  		for shift := uint(0); ; shift += 7 {
 11719  			if shift >= 64 {
 11720  				return ErrIntOverflowTx
 11721  			}
 11722  			if iNdEx >= l {
 11723  				return io.ErrUnexpectedEOF
 11724  			}
 11725  			b := dAtA[iNdEx]
 11726  			iNdEx++
 11727  			wire |= uint64(b&0x7F) << shift
 11728  			if b < 0x80 {
 11729  				break
 11730  			}
 11731  		}
 11732  		fieldNum := int32(wire >> 3)
 11733  		wireType := int(wire & 0x7)
 11734  		if wireType == 4 {
 11735  			return fmt.Errorf("proto: MsgCreateSpotLimitOrder: wiretype end group for non-group")
 11736  		}
 11737  		if fieldNum <= 0 {
 11738  			return fmt.Errorf("proto: MsgCreateSpotLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 11739  		}
 11740  		switch fieldNum {
 11741  		case 1:
 11742  			if wireType != 2 {
 11743  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 11744  			}
 11745  			var stringLen uint64
 11746  			for shift := uint(0); ; shift += 7 {
 11747  				if shift >= 64 {
 11748  					return ErrIntOverflowTx
 11749  				}
 11750  				if iNdEx >= l {
 11751  					return io.ErrUnexpectedEOF
 11752  				}
 11753  				b := dAtA[iNdEx]
 11754  				iNdEx++
 11755  				stringLen |= uint64(b&0x7F) << shift
 11756  				if b < 0x80 {
 11757  					break
 11758  				}
 11759  			}
 11760  			intStringLen := int(stringLen)
 11761  			if intStringLen < 0 {
 11762  				return ErrInvalidLengthTx
 11763  			}
 11764  			postIndex := iNdEx + intStringLen
 11765  			if postIndex < 0 {
 11766  				return ErrInvalidLengthTx
 11767  			}
 11768  			if postIndex > l {
 11769  				return io.ErrUnexpectedEOF
 11770  			}
 11771  			m.Sender = string(dAtA[iNdEx:postIndex])
 11772  			iNdEx = postIndex
 11773  		case 2:
 11774  			if wireType != 2 {
 11775  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 11776  			}
 11777  			var msglen int
 11778  			for shift := uint(0); ; shift += 7 {
 11779  				if shift >= 64 {
 11780  					return ErrIntOverflowTx
 11781  				}
 11782  				if iNdEx >= l {
 11783  					return io.ErrUnexpectedEOF
 11784  				}
 11785  				b := dAtA[iNdEx]
 11786  				iNdEx++
 11787  				msglen |= int(b&0x7F) << shift
 11788  				if b < 0x80 {
 11789  					break
 11790  				}
 11791  			}
 11792  			if msglen < 0 {
 11793  				return ErrInvalidLengthTx
 11794  			}
 11795  			postIndex := iNdEx + msglen
 11796  			if postIndex < 0 {
 11797  				return ErrInvalidLengthTx
 11798  			}
 11799  			if postIndex > l {
 11800  				return io.ErrUnexpectedEOF
 11801  			}
 11802  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11803  				return err
 11804  			}
 11805  			iNdEx = postIndex
 11806  		default:
 11807  			iNdEx = preIndex
 11808  			skippy, err := skipTx(dAtA[iNdEx:])
 11809  			if err != nil {
 11810  				return err
 11811  			}
 11812  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11813  				return ErrInvalidLengthTx
 11814  			}
 11815  			if (iNdEx + skippy) > l {
 11816  				return io.ErrUnexpectedEOF
 11817  			}
 11818  			iNdEx += skippy
 11819  		}
 11820  	}
 11821  
 11822  	if iNdEx > l {
 11823  		return io.ErrUnexpectedEOF
 11824  	}
 11825  	return nil
 11826  }
 11827  func (m *MsgCreateSpotLimitOrderResponse) Unmarshal(dAtA []byte) error {
 11828  	l := len(dAtA)
 11829  	iNdEx := 0
 11830  	for iNdEx < l {
 11831  		preIndex := iNdEx
 11832  		var wire uint64
 11833  		for shift := uint(0); ; shift += 7 {
 11834  			if shift >= 64 {
 11835  				return ErrIntOverflowTx
 11836  			}
 11837  			if iNdEx >= l {
 11838  				return io.ErrUnexpectedEOF
 11839  			}
 11840  			b := dAtA[iNdEx]
 11841  			iNdEx++
 11842  			wire |= uint64(b&0x7F) << shift
 11843  			if b < 0x80 {
 11844  				break
 11845  			}
 11846  		}
 11847  		fieldNum := int32(wire >> 3)
 11848  		wireType := int(wire & 0x7)
 11849  		if wireType == 4 {
 11850  			return fmt.Errorf("proto: MsgCreateSpotLimitOrderResponse: wiretype end group for non-group")
 11851  		}
 11852  		if fieldNum <= 0 {
 11853  			return fmt.Errorf("proto: MsgCreateSpotLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 11854  		}
 11855  		switch fieldNum {
 11856  		case 1:
 11857  			if wireType != 2 {
 11858  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 11859  			}
 11860  			var stringLen uint64
 11861  			for shift := uint(0); ; shift += 7 {
 11862  				if shift >= 64 {
 11863  					return ErrIntOverflowTx
 11864  				}
 11865  				if iNdEx >= l {
 11866  					return io.ErrUnexpectedEOF
 11867  				}
 11868  				b := dAtA[iNdEx]
 11869  				iNdEx++
 11870  				stringLen |= uint64(b&0x7F) << shift
 11871  				if b < 0x80 {
 11872  					break
 11873  				}
 11874  			}
 11875  			intStringLen := int(stringLen)
 11876  			if intStringLen < 0 {
 11877  				return ErrInvalidLengthTx
 11878  			}
 11879  			postIndex := iNdEx + intStringLen
 11880  			if postIndex < 0 {
 11881  				return ErrInvalidLengthTx
 11882  			}
 11883  			if postIndex > l {
 11884  				return io.ErrUnexpectedEOF
 11885  			}
 11886  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 11887  			iNdEx = postIndex
 11888  		case 2:
 11889  			if wireType != 2 {
 11890  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 11891  			}
 11892  			var stringLen uint64
 11893  			for shift := uint(0); ; shift += 7 {
 11894  				if shift >= 64 {
 11895  					return ErrIntOverflowTx
 11896  				}
 11897  				if iNdEx >= l {
 11898  					return io.ErrUnexpectedEOF
 11899  				}
 11900  				b := dAtA[iNdEx]
 11901  				iNdEx++
 11902  				stringLen |= uint64(b&0x7F) << shift
 11903  				if b < 0x80 {
 11904  					break
 11905  				}
 11906  			}
 11907  			intStringLen := int(stringLen)
 11908  			if intStringLen < 0 {
 11909  				return ErrInvalidLengthTx
 11910  			}
 11911  			postIndex := iNdEx + intStringLen
 11912  			if postIndex < 0 {
 11913  				return ErrInvalidLengthTx
 11914  			}
 11915  			if postIndex > l {
 11916  				return io.ErrUnexpectedEOF
 11917  			}
 11918  			m.Cid = string(dAtA[iNdEx:postIndex])
 11919  			iNdEx = postIndex
 11920  		default:
 11921  			iNdEx = preIndex
 11922  			skippy, err := skipTx(dAtA[iNdEx:])
 11923  			if err != nil {
 11924  				return err
 11925  			}
 11926  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11927  				return ErrInvalidLengthTx
 11928  			}
 11929  			if (iNdEx + skippy) > l {
 11930  				return io.ErrUnexpectedEOF
 11931  			}
 11932  			iNdEx += skippy
 11933  		}
 11934  	}
 11935  
 11936  	if iNdEx > l {
 11937  		return io.ErrUnexpectedEOF
 11938  	}
 11939  	return nil
 11940  }
 11941  func (m *MsgBatchCreateSpotLimitOrders) Unmarshal(dAtA []byte) error {
 11942  	l := len(dAtA)
 11943  	iNdEx := 0
 11944  	for iNdEx < l {
 11945  		preIndex := iNdEx
 11946  		var wire uint64
 11947  		for shift := uint(0); ; shift += 7 {
 11948  			if shift >= 64 {
 11949  				return ErrIntOverflowTx
 11950  			}
 11951  			if iNdEx >= l {
 11952  				return io.ErrUnexpectedEOF
 11953  			}
 11954  			b := dAtA[iNdEx]
 11955  			iNdEx++
 11956  			wire |= uint64(b&0x7F) << shift
 11957  			if b < 0x80 {
 11958  				break
 11959  			}
 11960  		}
 11961  		fieldNum := int32(wire >> 3)
 11962  		wireType := int(wire & 0x7)
 11963  		if wireType == 4 {
 11964  			return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrders: wiretype end group for non-group")
 11965  		}
 11966  		if fieldNum <= 0 {
 11967  			return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrders: illegal tag %d (wire type %d)", fieldNum, wire)
 11968  		}
 11969  		switch fieldNum {
 11970  		case 1:
 11971  			if wireType != 2 {
 11972  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 11973  			}
 11974  			var stringLen uint64
 11975  			for shift := uint(0); ; shift += 7 {
 11976  				if shift >= 64 {
 11977  					return ErrIntOverflowTx
 11978  				}
 11979  				if iNdEx >= l {
 11980  					return io.ErrUnexpectedEOF
 11981  				}
 11982  				b := dAtA[iNdEx]
 11983  				iNdEx++
 11984  				stringLen |= uint64(b&0x7F) << shift
 11985  				if b < 0x80 {
 11986  					break
 11987  				}
 11988  			}
 11989  			intStringLen := int(stringLen)
 11990  			if intStringLen < 0 {
 11991  				return ErrInvalidLengthTx
 11992  			}
 11993  			postIndex := iNdEx + intStringLen
 11994  			if postIndex < 0 {
 11995  				return ErrInvalidLengthTx
 11996  			}
 11997  			if postIndex > l {
 11998  				return io.ErrUnexpectedEOF
 11999  			}
 12000  			m.Sender = string(dAtA[iNdEx:postIndex])
 12001  			iNdEx = postIndex
 12002  		case 2:
 12003  			if wireType != 2 {
 12004  				return fmt.Errorf("proto: wrong wireType = %d for field Orders", wireType)
 12005  			}
 12006  			var msglen int
 12007  			for shift := uint(0); ; shift += 7 {
 12008  				if shift >= 64 {
 12009  					return ErrIntOverflowTx
 12010  				}
 12011  				if iNdEx >= l {
 12012  					return io.ErrUnexpectedEOF
 12013  				}
 12014  				b := dAtA[iNdEx]
 12015  				iNdEx++
 12016  				msglen |= int(b&0x7F) << shift
 12017  				if b < 0x80 {
 12018  					break
 12019  				}
 12020  			}
 12021  			if msglen < 0 {
 12022  				return ErrInvalidLengthTx
 12023  			}
 12024  			postIndex := iNdEx + msglen
 12025  			if postIndex < 0 {
 12026  				return ErrInvalidLengthTx
 12027  			}
 12028  			if postIndex > l {
 12029  				return io.ErrUnexpectedEOF
 12030  			}
 12031  			m.Orders = append(m.Orders, SpotOrder{})
 12032  			if err := m.Orders[len(m.Orders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12033  				return err
 12034  			}
 12035  			iNdEx = postIndex
 12036  		default:
 12037  			iNdEx = preIndex
 12038  			skippy, err := skipTx(dAtA[iNdEx:])
 12039  			if err != nil {
 12040  				return err
 12041  			}
 12042  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12043  				return ErrInvalidLengthTx
 12044  			}
 12045  			if (iNdEx + skippy) > l {
 12046  				return io.ErrUnexpectedEOF
 12047  			}
 12048  			iNdEx += skippy
 12049  		}
 12050  	}
 12051  
 12052  	if iNdEx > l {
 12053  		return io.ErrUnexpectedEOF
 12054  	}
 12055  	return nil
 12056  }
 12057  func (m *MsgBatchCreateSpotLimitOrdersResponse) Unmarshal(dAtA []byte) error {
 12058  	l := len(dAtA)
 12059  	iNdEx := 0
 12060  	for iNdEx < l {
 12061  		preIndex := iNdEx
 12062  		var wire uint64
 12063  		for shift := uint(0); ; shift += 7 {
 12064  			if shift >= 64 {
 12065  				return ErrIntOverflowTx
 12066  			}
 12067  			if iNdEx >= l {
 12068  				return io.ErrUnexpectedEOF
 12069  			}
 12070  			b := dAtA[iNdEx]
 12071  			iNdEx++
 12072  			wire |= uint64(b&0x7F) << shift
 12073  			if b < 0x80 {
 12074  				break
 12075  			}
 12076  		}
 12077  		fieldNum := int32(wire >> 3)
 12078  		wireType := int(wire & 0x7)
 12079  		if wireType == 4 {
 12080  			return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrdersResponse: wiretype end group for non-group")
 12081  		}
 12082  		if fieldNum <= 0 {
 12083  			return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 12084  		}
 12085  		switch fieldNum {
 12086  		case 1:
 12087  			if wireType != 2 {
 12088  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHashes", wireType)
 12089  			}
 12090  			var stringLen uint64
 12091  			for shift := uint(0); ; shift += 7 {
 12092  				if shift >= 64 {
 12093  					return ErrIntOverflowTx
 12094  				}
 12095  				if iNdEx >= l {
 12096  					return io.ErrUnexpectedEOF
 12097  				}
 12098  				b := dAtA[iNdEx]
 12099  				iNdEx++
 12100  				stringLen |= uint64(b&0x7F) << shift
 12101  				if b < 0x80 {
 12102  					break
 12103  				}
 12104  			}
 12105  			intStringLen := int(stringLen)
 12106  			if intStringLen < 0 {
 12107  				return ErrInvalidLengthTx
 12108  			}
 12109  			postIndex := iNdEx + intStringLen
 12110  			if postIndex < 0 {
 12111  				return ErrInvalidLengthTx
 12112  			}
 12113  			if postIndex > l {
 12114  				return io.ErrUnexpectedEOF
 12115  			}
 12116  			m.OrderHashes = append(m.OrderHashes, string(dAtA[iNdEx:postIndex]))
 12117  			iNdEx = postIndex
 12118  		case 2:
 12119  			if wireType != 2 {
 12120  				return fmt.Errorf("proto: wrong wireType = %d for field CreatedOrdersCids", wireType)
 12121  			}
 12122  			var stringLen uint64
 12123  			for shift := uint(0); ; shift += 7 {
 12124  				if shift >= 64 {
 12125  					return ErrIntOverflowTx
 12126  				}
 12127  				if iNdEx >= l {
 12128  					return io.ErrUnexpectedEOF
 12129  				}
 12130  				b := dAtA[iNdEx]
 12131  				iNdEx++
 12132  				stringLen |= uint64(b&0x7F) << shift
 12133  				if b < 0x80 {
 12134  					break
 12135  				}
 12136  			}
 12137  			intStringLen := int(stringLen)
 12138  			if intStringLen < 0 {
 12139  				return ErrInvalidLengthTx
 12140  			}
 12141  			postIndex := iNdEx + intStringLen
 12142  			if postIndex < 0 {
 12143  				return ErrInvalidLengthTx
 12144  			}
 12145  			if postIndex > l {
 12146  				return io.ErrUnexpectedEOF
 12147  			}
 12148  			m.CreatedOrdersCids = append(m.CreatedOrdersCids, string(dAtA[iNdEx:postIndex]))
 12149  			iNdEx = postIndex
 12150  		case 3:
 12151  			if wireType != 2 {
 12152  				return fmt.Errorf("proto: wrong wireType = %d for field FailedOrdersCids", wireType)
 12153  			}
 12154  			var stringLen uint64
 12155  			for shift := uint(0); ; shift += 7 {
 12156  				if shift >= 64 {
 12157  					return ErrIntOverflowTx
 12158  				}
 12159  				if iNdEx >= l {
 12160  					return io.ErrUnexpectedEOF
 12161  				}
 12162  				b := dAtA[iNdEx]
 12163  				iNdEx++
 12164  				stringLen |= uint64(b&0x7F) << shift
 12165  				if b < 0x80 {
 12166  					break
 12167  				}
 12168  			}
 12169  			intStringLen := int(stringLen)
 12170  			if intStringLen < 0 {
 12171  				return ErrInvalidLengthTx
 12172  			}
 12173  			postIndex := iNdEx + intStringLen
 12174  			if postIndex < 0 {
 12175  				return ErrInvalidLengthTx
 12176  			}
 12177  			if postIndex > l {
 12178  				return io.ErrUnexpectedEOF
 12179  			}
 12180  			m.FailedOrdersCids = append(m.FailedOrdersCids, string(dAtA[iNdEx:postIndex]))
 12181  			iNdEx = postIndex
 12182  		default:
 12183  			iNdEx = preIndex
 12184  			skippy, err := skipTx(dAtA[iNdEx:])
 12185  			if err != nil {
 12186  				return err
 12187  			}
 12188  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12189  				return ErrInvalidLengthTx
 12190  			}
 12191  			if (iNdEx + skippy) > l {
 12192  				return io.ErrUnexpectedEOF
 12193  			}
 12194  			iNdEx += skippy
 12195  		}
 12196  	}
 12197  
 12198  	if iNdEx > l {
 12199  		return io.ErrUnexpectedEOF
 12200  	}
 12201  	return nil
 12202  }
 12203  func (m *MsgInstantSpotMarketLaunch) Unmarshal(dAtA []byte) error {
 12204  	l := len(dAtA)
 12205  	iNdEx := 0
 12206  	for iNdEx < l {
 12207  		preIndex := iNdEx
 12208  		var wire uint64
 12209  		for shift := uint(0); ; shift += 7 {
 12210  			if shift >= 64 {
 12211  				return ErrIntOverflowTx
 12212  			}
 12213  			if iNdEx >= l {
 12214  				return io.ErrUnexpectedEOF
 12215  			}
 12216  			b := dAtA[iNdEx]
 12217  			iNdEx++
 12218  			wire |= uint64(b&0x7F) << shift
 12219  			if b < 0x80 {
 12220  				break
 12221  			}
 12222  		}
 12223  		fieldNum := int32(wire >> 3)
 12224  		wireType := int(wire & 0x7)
 12225  		if wireType == 4 {
 12226  			return fmt.Errorf("proto: MsgInstantSpotMarketLaunch: wiretype end group for non-group")
 12227  		}
 12228  		if fieldNum <= 0 {
 12229  			return fmt.Errorf("proto: MsgInstantSpotMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
 12230  		}
 12231  		switch fieldNum {
 12232  		case 1:
 12233  			if wireType != 2 {
 12234  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 12235  			}
 12236  			var stringLen uint64
 12237  			for shift := uint(0); ; shift += 7 {
 12238  				if shift >= 64 {
 12239  					return ErrIntOverflowTx
 12240  				}
 12241  				if iNdEx >= l {
 12242  					return io.ErrUnexpectedEOF
 12243  				}
 12244  				b := dAtA[iNdEx]
 12245  				iNdEx++
 12246  				stringLen |= uint64(b&0x7F) << shift
 12247  				if b < 0x80 {
 12248  					break
 12249  				}
 12250  			}
 12251  			intStringLen := int(stringLen)
 12252  			if intStringLen < 0 {
 12253  				return ErrInvalidLengthTx
 12254  			}
 12255  			postIndex := iNdEx + intStringLen
 12256  			if postIndex < 0 {
 12257  				return ErrInvalidLengthTx
 12258  			}
 12259  			if postIndex > l {
 12260  				return io.ErrUnexpectedEOF
 12261  			}
 12262  			m.Sender = string(dAtA[iNdEx:postIndex])
 12263  			iNdEx = postIndex
 12264  		case 2:
 12265  			if wireType != 2 {
 12266  				return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
 12267  			}
 12268  			var stringLen uint64
 12269  			for shift := uint(0); ; shift += 7 {
 12270  				if shift >= 64 {
 12271  					return ErrIntOverflowTx
 12272  				}
 12273  				if iNdEx >= l {
 12274  					return io.ErrUnexpectedEOF
 12275  				}
 12276  				b := dAtA[iNdEx]
 12277  				iNdEx++
 12278  				stringLen |= uint64(b&0x7F) << shift
 12279  				if b < 0x80 {
 12280  					break
 12281  				}
 12282  			}
 12283  			intStringLen := int(stringLen)
 12284  			if intStringLen < 0 {
 12285  				return ErrInvalidLengthTx
 12286  			}
 12287  			postIndex := iNdEx + intStringLen
 12288  			if postIndex < 0 {
 12289  				return ErrInvalidLengthTx
 12290  			}
 12291  			if postIndex > l {
 12292  				return io.ErrUnexpectedEOF
 12293  			}
 12294  			m.Ticker = string(dAtA[iNdEx:postIndex])
 12295  			iNdEx = postIndex
 12296  		case 3:
 12297  			if wireType != 2 {
 12298  				return fmt.Errorf("proto: wrong wireType = %d for field BaseDenom", wireType)
 12299  			}
 12300  			var stringLen uint64
 12301  			for shift := uint(0); ; shift += 7 {
 12302  				if shift >= 64 {
 12303  					return ErrIntOverflowTx
 12304  				}
 12305  				if iNdEx >= l {
 12306  					return io.ErrUnexpectedEOF
 12307  				}
 12308  				b := dAtA[iNdEx]
 12309  				iNdEx++
 12310  				stringLen |= uint64(b&0x7F) << shift
 12311  				if b < 0x80 {
 12312  					break
 12313  				}
 12314  			}
 12315  			intStringLen := int(stringLen)
 12316  			if intStringLen < 0 {
 12317  				return ErrInvalidLengthTx
 12318  			}
 12319  			postIndex := iNdEx + intStringLen
 12320  			if postIndex < 0 {
 12321  				return ErrInvalidLengthTx
 12322  			}
 12323  			if postIndex > l {
 12324  				return io.ErrUnexpectedEOF
 12325  			}
 12326  			m.BaseDenom = string(dAtA[iNdEx:postIndex])
 12327  			iNdEx = postIndex
 12328  		case 4:
 12329  			if wireType != 2 {
 12330  				return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
 12331  			}
 12332  			var stringLen uint64
 12333  			for shift := uint(0); ; shift += 7 {
 12334  				if shift >= 64 {
 12335  					return ErrIntOverflowTx
 12336  				}
 12337  				if iNdEx >= l {
 12338  					return io.ErrUnexpectedEOF
 12339  				}
 12340  				b := dAtA[iNdEx]
 12341  				iNdEx++
 12342  				stringLen |= uint64(b&0x7F) << shift
 12343  				if b < 0x80 {
 12344  					break
 12345  				}
 12346  			}
 12347  			intStringLen := int(stringLen)
 12348  			if intStringLen < 0 {
 12349  				return ErrInvalidLengthTx
 12350  			}
 12351  			postIndex := iNdEx + intStringLen
 12352  			if postIndex < 0 {
 12353  				return ErrInvalidLengthTx
 12354  			}
 12355  			if postIndex > l {
 12356  				return io.ErrUnexpectedEOF
 12357  			}
 12358  			m.QuoteDenom = string(dAtA[iNdEx:postIndex])
 12359  			iNdEx = postIndex
 12360  		case 5:
 12361  			if wireType != 2 {
 12362  				return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
 12363  			}
 12364  			var stringLen uint64
 12365  			for shift := uint(0); ; shift += 7 {
 12366  				if shift >= 64 {
 12367  					return ErrIntOverflowTx
 12368  				}
 12369  				if iNdEx >= l {
 12370  					return io.ErrUnexpectedEOF
 12371  				}
 12372  				b := dAtA[iNdEx]
 12373  				iNdEx++
 12374  				stringLen |= uint64(b&0x7F) << shift
 12375  				if b < 0x80 {
 12376  					break
 12377  				}
 12378  			}
 12379  			intStringLen := int(stringLen)
 12380  			if intStringLen < 0 {
 12381  				return ErrInvalidLengthTx
 12382  			}
 12383  			postIndex := iNdEx + intStringLen
 12384  			if postIndex < 0 {
 12385  				return ErrInvalidLengthTx
 12386  			}
 12387  			if postIndex > l {
 12388  				return io.ErrUnexpectedEOF
 12389  			}
 12390  			if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12391  				return err
 12392  			}
 12393  			iNdEx = postIndex
 12394  		case 6:
 12395  			if wireType != 2 {
 12396  				return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
 12397  			}
 12398  			var stringLen uint64
 12399  			for shift := uint(0); ; shift += 7 {
 12400  				if shift >= 64 {
 12401  					return ErrIntOverflowTx
 12402  				}
 12403  				if iNdEx >= l {
 12404  					return io.ErrUnexpectedEOF
 12405  				}
 12406  				b := dAtA[iNdEx]
 12407  				iNdEx++
 12408  				stringLen |= uint64(b&0x7F) << shift
 12409  				if b < 0x80 {
 12410  					break
 12411  				}
 12412  			}
 12413  			intStringLen := int(stringLen)
 12414  			if intStringLen < 0 {
 12415  				return ErrInvalidLengthTx
 12416  			}
 12417  			postIndex := iNdEx + intStringLen
 12418  			if postIndex < 0 {
 12419  				return ErrInvalidLengthTx
 12420  			}
 12421  			if postIndex > l {
 12422  				return io.ErrUnexpectedEOF
 12423  			}
 12424  			if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12425  				return err
 12426  			}
 12427  			iNdEx = postIndex
 12428  		case 7:
 12429  			if wireType != 2 {
 12430  				return fmt.Errorf("proto: wrong wireType = %d for field MinNotional", wireType)
 12431  			}
 12432  			var stringLen uint64
 12433  			for shift := uint(0); ; shift += 7 {
 12434  				if shift >= 64 {
 12435  					return ErrIntOverflowTx
 12436  				}
 12437  				if iNdEx >= l {
 12438  					return io.ErrUnexpectedEOF
 12439  				}
 12440  				b := dAtA[iNdEx]
 12441  				iNdEx++
 12442  				stringLen |= uint64(b&0x7F) << shift
 12443  				if b < 0x80 {
 12444  					break
 12445  				}
 12446  			}
 12447  			intStringLen := int(stringLen)
 12448  			if intStringLen < 0 {
 12449  				return ErrInvalidLengthTx
 12450  			}
 12451  			postIndex := iNdEx + intStringLen
 12452  			if postIndex < 0 {
 12453  				return ErrInvalidLengthTx
 12454  			}
 12455  			if postIndex > l {
 12456  				return io.ErrUnexpectedEOF
 12457  			}
 12458  			if err := m.MinNotional.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12459  				return err
 12460  			}
 12461  			iNdEx = postIndex
 12462  		default:
 12463  			iNdEx = preIndex
 12464  			skippy, err := skipTx(dAtA[iNdEx:])
 12465  			if err != nil {
 12466  				return err
 12467  			}
 12468  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12469  				return ErrInvalidLengthTx
 12470  			}
 12471  			if (iNdEx + skippy) > l {
 12472  				return io.ErrUnexpectedEOF
 12473  			}
 12474  			iNdEx += skippy
 12475  		}
 12476  	}
 12477  
 12478  	if iNdEx > l {
 12479  		return io.ErrUnexpectedEOF
 12480  	}
 12481  	return nil
 12482  }
 12483  func (m *MsgInstantSpotMarketLaunchResponse) Unmarshal(dAtA []byte) error {
 12484  	l := len(dAtA)
 12485  	iNdEx := 0
 12486  	for iNdEx < l {
 12487  		preIndex := iNdEx
 12488  		var wire uint64
 12489  		for shift := uint(0); ; shift += 7 {
 12490  			if shift >= 64 {
 12491  				return ErrIntOverflowTx
 12492  			}
 12493  			if iNdEx >= l {
 12494  				return io.ErrUnexpectedEOF
 12495  			}
 12496  			b := dAtA[iNdEx]
 12497  			iNdEx++
 12498  			wire |= uint64(b&0x7F) << shift
 12499  			if b < 0x80 {
 12500  				break
 12501  			}
 12502  		}
 12503  		fieldNum := int32(wire >> 3)
 12504  		wireType := int(wire & 0x7)
 12505  		if wireType == 4 {
 12506  			return fmt.Errorf("proto: MsgInstantSpotMarketLaunchResponse: wiretype end group for non-group")
 12507  		}
 12508  		if fieldNum <= 0 {
 12509  			return fmt.Errorf("proto: MsgInstantSpotMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 12510  		}
 12511  		switch fieldNum {
 12512  		default:
 12513  			iNdEx = preIndex
 12514  			skippy, err := skipTx(dAtA[iNdEx:])
 12515  			if err != nil {
 12516  				return err
 12517  			}
 12518  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12519  				return ErrInvalidLengthTx
 12520  			}
 12521  			if (iNdEx + skippy) > l {
 12522  				return io.ErrUnexpectedEOF
 12523  			}
 12524  			iNdEx += skippy
 12525  		}
 12526  	}
 12527  
 12528  	if iNdEx > l {
 12529  		return io.ErrUnexpectedEOF
 12530  	}
 12531  	return nil
 12532  }
 12533  func (m *MsgInstantPerpetualMarketLaunch) Unmarshal(dAtA []byte) error {
 12534  	l := len(dAtA)
 12535  	iNdEx := 0
 12536  	for iNdEx < l {
 12537  		preIndex := iNdEx
 12538  		var wire uint64
 12539  		for shift := uint(0); ; shift += 7 {
 12540  			if shift >= 64 {
 12541  				return ErrIntOverflowTx
 12542  			}
 12543  			if iNdEx >= l {
 12544  				return io.ErrUnexpectedEOF
 12545  			}
 12546  			b := dAtA[iNdEx]
 12547  			iNdEx++
 12548  			wire |= uint64(b&0x7F) << shift
 12549  			if b < 0x80 {
 12550  				break
 12551  			}
 12552  		}
 12553  		fieldNum := int32(wire >> 3)
 12554  		wireType := int(wire & 0x7)
 12555  		if wireType == 4 {
 12556  			return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunch: wiretype end group for non-group")
 12557  		}
 12558  		if fieldNum <= 0 {
 12559  			return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
 12560  		}
 12561  		switch fieldNum {
 12562  		case 1:
 12563  			if wireType != 2 {
 12564  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 12565  			}
 12566  			var stringLen uint64
 12567  			for shift := uint(0); ; shift += 7 {
 12568  				if shift >= 64 {
 12569  					return ErrIntOverflowTx
 12570  				}
 12571  				if iNdEx >= l {
 12572  					return io.ErrUnexpectedEOF
 12573  				}
 12574  				b := dAtA[iNdEx]
 12575  				iNdEx++
 12576  				stringLen |= uint64(b&0x7F) << shift
 12577  				if b < 0x80 {
 12578  					break
 12579  				}
 12580  			}
 12581  			intStringLen := int(stringLen)
 12582  			if intStringLen < 0 {
 12583  				return ErrInvalidLengthTx
 12584  			}
 12585  			postIndex := iNdEx + intStringLen
 12586  			if postIndex < 0 {
 12587  				return ErrInvalidLengthTx
 12588  			}
 12589  			if postIndex > l {
 12590  				return io.ErrUnexpectedEOF
 12591  			}
 12592  			m.Sender = string(dAtA[iNdEx:postIndex])
 12593  			iNdEx = postIndex
 12594  		case 2:
 12595  			if wireType != 2 {
 12596  				return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
 12597  			}
 12598  			var stringLen uint64
 12599  			for shift := uint(0); ; shift += 7 {
 12600  				if shift >= 64 {
 12601  					return ErrIntOverflowTx
 12602  				}
 12603  				if iNdEx >= l {
 12604  					return io.ErrUnexpectedEOF
 12605  				}
 12606  				b := dAtA[iNdEx]
 12607  				iNdEx++
 12608  				stringLen |= uint64(b&0x7F) << shift
 12609  				if b < 0x80 {
 12610  					break
 12611  				}
 12612  			}
 12613  			intStringLen := int(stringLen)
 12614  			if intStringLen < 0 {
 12615  				return ErrInvalidLengthTx
 12616  			}
 12617  			postIndex := iNdEx + intStringLen
 12618  			if postIndex < 0 {
 12619  				return ErrInvalidLengthTx
 12620  			}
 12621  			if postIndex > l {
 12622  				return io.ErrUnexpectedEOF
 12623  			}
 12624  			m.Ticker = string(dAtA[iNdEx:postIndex])
 12625  			iNdEx = postIndex
 12626  		case 3:
 12627  			if wireType != 2 {
 12628  				return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
 12629  			}
 12630  			var stringLen uint64
 12631  			for shift := uint(0); ; shift += 7 {
 12632  				if shift >= 64 {
 12633  					return ErrIntOverflowTx
 12634  				}
 12635  				if iNdEx >= l {
 12636  					return io.ErrUnexpectedEOF
 12637  				}
 12638  				b := dAtA[iNdEx]
 12639  				iNdEx++
 12640  				stringLen |= uint64(b&0x7F) << shift
 12641  				if b < 0x80 {
 12642  					break
 12643  				}
 12644  			}
 12645  			intStringLen := int(stringLen)
 12646  			if intStringLen < 0 {
 12647  				return ErrInvalidLengthTx
 12648  			}
 12649  			postIndex := iNdEx + intStringLen
 12650  			if postIndex < 0 {
 12651  				return ErrInvalidLengthTx
 12652  			}
 12653  			if postIndex > l {
 12654  				return io.ErrUnexpectedEOF
 12655  			}
 12656  			m.QuoteDenom = string(dAtA[iNdEx:postIndex])
 12657  			iNdEx = postIndex
 12658  		case 4:
 12659  			if wireType != 2 {
 12660  				return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
 12661  			}
 12662  			var stringLen uint64
 12663  			for shift := uint(0); ; shift += 7 {
 12664  				if shift >= 64 {
 12665  					return ErrIntOverflowTx
 12666  				}
 12667  				if iNdEx >= l {
 12668  					return io.ErrUnexpectedEOF
 12669  				}
 12670  				b := dAtA[iNdEx]
 12671  				iNdEx++
 12672  				stringLen |= uint64(b&0x7F) << shift
 12673  				if b < 0x80 {
 12674  					break
 12675  				}
 12676  			}
 12677  			intStringLen := int(stringLen)
 12678  			if intStringLen < 0 {
 12679  				return ErrInvalidLengthTx
 12680  			}
 12681  			postIndex := iNdEx + intStringLen
 12682  			if postIndex < 0 {
 12683  				return ErrInvalidLengthTx
 12684  			}
 12685  			if postIndex > l {
 12686  				return io.ErrUnexpectedEOF
 12687  			}
 12688  			m.OracleBase = string(dAtA[iNdEx:postIndex])
 12689  			iNdEx = postIndex
 12690  		case 5:
 12691  			if wireType != 2 {
 12692  				return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
 12693  			}
 12694  			var stringLen uint64
 12695  			for shift := uint(0); ; shift += 7 {
 12696  				if shift >= 64 {
 12697  					return ErrIntOverflowTx
 12698  				}
 12699  				if iNdEx >= l {
 12700  					return io.ErrUnexpectedEOF
 12701  				}
 12702  				b := dAtA[iNdEx]
 12703  				iNdEx++
 12704  				stringLen |= uint64(b&0x7F) << shift
 12705  				if b < 0x80 {
 12706  					break
 12707  				}
 12708  			}
 12709  			intStringLen := int(stringLen)
 12710  			if intStringLen < 0 {
 12711  				return ErrInvalidLengthTx
 12712  			}
 12713  			postIndex := iNdEx + intStringLen
 12714  			if postIndex < 0 {
 12715  				return ErrInvalidLengthTx
 12716  			}
 12717  			if postIndex > l {
 12718  				return io.ErrUnexpectedEOF
 12719  			}
 12720  			m.OracleQuote = string(dAtA[iNdEx:postIndex])
 12721  			iNdEx = postIndex
 12722  		case 6:
 12723  			if wireType != 0 {
 12724  				return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
 12725  			}
 12726  			m.OracleScaleFactor = 0
 12727  			for shift := uint(0); ; shift += 7 {
 12728  				if shift >= 64 {
 12729  					return ErrIntOverflowTx
 12730  				}
 12731  				if iNdEx >= l {
 12732  					return io.ErrUnexpectedEOF
 12733  				}
 12734  				b := dAtA[iNdEx]
 12735  				iNdEx++
 12736  				m.OracleScaleFactor |= uint32(b&0x7F) << shift
 12737  				if b < 0x80 {
 12738  					break
 12739  				}
 12740  			}
 12741  		case 7:
 12742  			if wireType != 0 {
 12743  				return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
 12744  			}
 12745  			m.OracleType = 0
 12746  			for shift := uint(0); ; shift += 7 {
 12747  				if shift >= 64 {
 12748  					return ErrIntOverflowTx
 12749  				}
 12750  				if iNdEx >= l {
 12751  					return io.ErrUnexpectedEOF
 12752  				}
 12753  				b := dAtA[iNdEx]
 12754  				iNdEx++
 12755  				m.OracleType |= types1.OracleType(b&0x7F) << shift
 12756  				if b < 0x80 {
 12757  					break
 12758  				}
 12759  			}
 12760  		case 8:
 12761  			if wireType != 2 {
 12762  				return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
 12763  			}
 12764  			var stringLen uint64
 12765  			for shift := uint(0); ; shift += 7 {
 12766  				if shift >= 64 {
 12767  					return ErrIntOverflowTx
 12768  				}
 12769  				if iNdEx >= l {
 12770  					return io.ErrUnexpectedEOF
 12771  				}
 12772  				b := dAtA[iNdEx]
 12773  				iNdEx++
 12774  				stringLen |= uint64(b&0x7F) << shift
 12775  				if b < 0x80 {
 12776  					break
 12777  				}
 12778  			}
 12779  			intStringLen := int(stringLen)
 12780  			if intStringLen < 0 {
 12781  				return ErrInvalidLengthTx
 12782  			}
 12783  			postIndex := iNdEx + intStringLen
 12784  			if postIndex < 0 {
 12785  				return ErrInvalidLengthTx
 12786  			}
 12787  			if postIndex > l {
 12788  				return io.ErrUnexpectedEOF
 12789  			}
 12790  			if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12791  				return err
 12792  			}
 12793  			iNdEx = postIndex
 12794  		case 9:
 12795  			if wireType != 2 {
 12796  				return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
 12797  			}
 12798  			var stringLen uint64
 12799  			for shift := uint(0); ; shift += 7 {
 12800  				if shift >= 64 {
 12801  					return ErrIntOverflowTx
 12802  				}
 12803  				if iNdEx >= l {
 12804  					return io.ErrUnexpectedEOF
 12805  				}
 12806  				b := dAtA[iNdEx]
 12807  				iNdEx++
 12808  				stringLen |= uint64(b&0x7F) << shift
 12809  				if b < 0x80 {
 12810  					break
 12811  				}
 12812  			}
 12813  			intStringLen := int(stringLen)
 12814  			if intStringLen < 0 {
 12815  				return ErrInvalidLengthTx
 12816  			}
 12817  			postIndex := iNdEx + intStringLen
 12818  			if postIndex < 0 {
 12819  				return ErrInvalidLengthTx
 12820  			}
 12821  			if postIndex > l {
 12822  				return io.ErrUnexpectedEOF
 12823  			}
 12824  			if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12825  				return err
 12826  			}
 12827  			iNdEx = postIndex
 12828  		case 10:
 12829  			if wireType != 2 {
 12830  				return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
 12831  			}
 12832  			var stringLen uint64
 12833  			for shift := uint(0); ; shift += 7 {
 12834  				if shift >= 64 {
 12835  					return ErrIntOverflowTx
 12836  				}
 12837  				if iNdEx >= l {
 12838  					return io.ErrUnexpectedEOF
 12839  				}
 12840  				b := dAtA[iNdEx]
 12841  				iNdEx++
 12842  				stringLen |= uint64(b&0x7F) << shift
 12843  				if b < 0x80 {
 12844  					break
 12845  				}
 12846  			}
 12847  			intStringLen := int(stringLen)
 12848  			if intStringLen < 0 {
 12849  				return ErrInvalidLengthTx
 12850  			}
 12851  			postIndex := iNdEx + intStringLen
 12852  			if postIndex < 0 {
 12853  				return ErrInvalidLengthTx
 12854  			}
 12855  			if postIndex > l {
 12856  				return io.ErrUnexpectedEOF
 12857  			}
 12858  			if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12859  				return err
 12860  			}
 12861  			iNdEx = postIndex
 12862  		case 11:
 12863  			if wireType != 2 {
 12864  				return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
 12865  			}
 12866  			var stringLen uint64
 12867  			for shift := uint(0); ; shift += 7 {
 12868  				if shift >= 64 {
 12869  					return ErrIntOverflowTx
 12870  				}
 12871  				if iNdEx >= l {
 12872  					return io.ErrUnexpectedEOF
 12873  				}
 12874  				b := dAtA[iNdEx]
 12875  				iNdEx++
 12876  				stringLen |= uint64(b&0x7F) << shift
 12877  				if b < 0x80 {
 12878  					break
 12879  				}
 12880  			}
 12881  			intStringLen := int(stringLen)
 12882  			if intStringLen < 0 {
 12883  				return ErrInvalidLengthTx
 12884  			}
 12885  			postIndex := iNdEx + intStringLen
 12886  			if postIndex < 0 {
 12887  				return ErrInvalidLengthTx
 12888  			}
 12889  			if postIndex > l {
 12890  				return io.ErrUnexpectedEOF
 12891  			}
 12892  			if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12893  				return err
 12894  			}
 12895  			iNdEx = postIndex
 12896  		case 12:
 12897  			if wireType != 2 {
 12898  				return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
 12899  			}
 12900  			var stringLen uint64
 12901  			for shift := uint(0); ; shift += 7 {
 12902  				if shift >= 64 {
 12903  					return ErrIntOverflowTx
 12904  				}
 12905  				if iNdEx >= l {
 12906  					return io.ErrUnexpectedEOF
 12907  				}
 12908  				b := dAtA[iNdEx]
 12909  				iNdEx++
 12910  				stringLen |= uint64(b&0x7F) << shift
 12911  				if b < 0x80 {
 12912  					break
 12913  				}
 12914  			}
 12915  			intStringLen := int(stringLen)
 12916  			if intStringLen < 0 {
 12917  				return ErrInvalidLengthTx
 12918  			}
 12919  			postIndex := iNdEx + intStringLen
 12920  			if postIndex < 0 {
 12921  				return ErrInvalidLengthTx
 12922  			}
 12923  			if postIndex > l {
 12924  				return io.ErrUnexpectedEOF
 12925  			}
 12926  			if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12927  				return err
 12928  			}
 12929  			iNdEx = postIndex
 12930  		case 13:
 12931  			if wireType != 2 {
 12932  				return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
 12933  			}
 12934  			var stringLen uint64
 12935  			for shift := uint(0); ; shift += 7 {
 12936  				if shift >= 64 {
 12937  					return ErrIntOverflowTx
 12938  				}
 12939  				if iNdEx >= l {
 12940  					return io.ErrUnexpectedEOF
 12941  				}
 12942  				b := dAtA[iNdEx]
 12943  				iNdEx++
 12944  				stringLen |= uint64(b&0x7F) << shift
 12945  				if b < 0x80 {
 12946  					break
 12947  				}
 12948  			}
 12949  			intStringLen := int(stringLen)
 12950  			if intStringLen < 0 {
 12951  				return ErrInvalidLengthTx
 12952  			}
 12953  			postIndex := iNdEx + intStringLen
 12954  			if postIndex < 0 {
 12955  				return ErrInvalidLengthTx
 12956  			}
 12957  			if postIndex > l {
 12958  				return io.ErrUnexpectedEOF
 12959  			}
 12960  			if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12961  				return err
 12962  			}
 12963  			iNdEx = postIndex
 12964  		case 14:
 12965  			if wireType != 2 {
 12966  				return fmt.Errorf("proto: wrong wireType = %d for field MinNotional", wireType)
 12967  			}
 12968  			var stringLen uint64
 12969  			for shift := uint(0); ; shift += 7 {
 12970  				if shift >= 64 {
 12971  					return ErrIntOverflowTx
 12972  				}
 12973  				if iNdEx >= l {
 12974  					return io.ErrUnexpectedEOF
 12975  				}
 12976  				b := dAtA[iNdEx]
 12977  				iNdEx++
 12978  				stringLen |= uint64(b&0x7F) << shift
 12979  				if b < 0x80 {
 12980  					break
 12981  				}
 12982  			}
 12983  			intStringLen := int(stringLen)
 12984  			if intStringLen < 0 {
 12985  				return ErrInvalidLengthTx
 12986  			}
 12987  			postIndex := iNdEx + intStringLen
 12988  			if postIndex < 0 {
 12989  				return ErrInvalidLengthTx
 12990  			}
 12991  			if postIndex > l {
 12992  				return io.ErrUnexpectedEOF
 12993  			}
 12994  			if err := m.MinNotional.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12995  				return err
 12996  			}
 12997  			iNdEx = postIndex
 12998  		default:
 12999  			iNdEx = preIndex
 13000  			skippy, err := skipTx(dAtA[iNdEx:])
 13001  			if err != nil {
 13002  				return err
 13003  			}
 13004  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13005  				return ErrInvalidLengthTx
 13006  			}
 13007  			if (iNdEx + skippy) > l {
 13008  				return io.ErrUnexpectedEOF
 13009  			}
 13010  			iNdEx += skippy
 13011  		}
 13012  	}
 13013  
 13014  	if iNdEx > l {
 13015  		return io.ErrUnexpectedEOF
 13016  	}
 13017  	return nil
 13018  }
 13019  func (m *MsgInstantPerpetualMarketLaunchResponse) Unmarshal(dAtA []byte) error {
 13020  	l := len(dAtA)
 13021  	iNdEx := 0
 13022  	for iNdEx < l {
 13023  		preIndex := iNdEx
 13024  		var wire uint64
 13025  		for shift := uint(0); ; shift += 7 {
 13026  			if shift >= 64 {
 13027  				return ErrIntOverflowTx
 13028  			}
 13029  			if iNdEx >= l {
 13030  				return io.ErrUnexpectedEOF
 13031  			}
 13032  			b := dAtA[iNdEx]
 13033  			iNdEx++
 13034  			wire |= uint64(b&0x7F) << shift
 13035  			if b < 0x80 {
 13036  				break
 13037  			}
 13038  		}
 13039  		fieldNum := int32(wire >> 3)
 13040  		wireType := int(wire & 0x7)
 13041  		if wireType == 4 {
 13042  			return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunchResponse: wiretype end group for non-group")
 13043  		}
 13044  		if fieldNum <= 0 {
 13045  			return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 13046  		}
 13047  		switch fieldNum {
 13048  		default:
 13049  			iNdEx = preIndex
 13050  			skippy, err := skipTx(dAtA[iNdEx:])
 13051  			if err != nil {
 13052  				return err
 13053  			}
 13054  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13055  				return ErrInvalidLengthTx
 13056  			}
 13057  			if (iNdEx + skippy) > l {
 13058  				return io.ErrUnexpectedEOF
 13059  			}
 13060  			iNdEx += skippy
 13061  		}
 13062  	}
 13063  
 13064  	if iNdEx > l {
 13065  		return io.ErrUnexpectedEOF
 13066  	}
 13067  	return nil
 13068  }
 13069  func (m *MsgInstantBinaryOptionsMarketLaunch) Unmarshal(dAtA []byte) error {
 13070  	l := len(dAtA)
 13071  	iNdEx := 0
 13072  	for iNdEx < l {
 13073  		preIndex := iNdEx
 13074  		var wire uint64
 13075  		for shift := uint(0); ; shift += 7 {
 13076  			if shift >= 64 {
 13077  				return ErrIntOverflowTx
 13078  			}
 13079  			if iNdEx >= l {
 13080  				return io.ErrUnexpectedEOF
 13081  			}
 13082  			b := dAtA[iNdEx]
 13083  			iNdEx++
 13084  			wire |= uint64(b&0x7F) << shift
 13085  			if b < 0x80 {
 13086  				break
 13087  			}
 13088  		}
 13089  		fieldNum := int32(wire >> 3)
 13090  		wireType := int(wire & 0x7)
 13091  		if wireType == 4 {
 13092  			return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunch: wiretype end group for non-group")
 13093  		}
 13094  		if fieldNum <= 0 {
 13095  			return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
 13096  		}
 13097  		switch fieldNum {
 13098  		case 1:
 13099  			if wireType != 2 {
 13100  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 13101  			}
 13102  			var stringLen uint64
 13103  			for shift := uint(0); ; shift += 7 {
 13104  				if shift >= 64 {
 13105  					return ErrIntOverflowTx
 13106  				}
 13107  				if iNdEx >= l {
 13108  					return io.ErrUnexpectedEOF
 13109  				}
 13110  				b := dAtA[iNdEx]
 13111  				iNdEx++
 13112  				stringLen |= uint64(b&0x7F) << shift
 13113  				if b < 0x80 {
 13114  					break
 13115  				}
 13116  			}
 13117  			intStringLen := int(stringLen)
 13118  			if intStringLen < 0 {
 13119  				return ErrInvalidLengthTx
 13120  			}
 13121  			postIndex := iNdEx + intStringLen
 13122  			if postIndex < 0 {
 13123  				return ErrInvalidLengthTx
 13124  			}
 13125  			if postIndex > l {
 13126  				return io.ErrUnexpectedEOF
 13127  			}
 13128  			m.Sender = string(dAtA[iNdEx:postIndex])
 13129  			iNdEx = postIndex
 13130  		case 2:
 13131  			if wireType != 2 {
 13132  				return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
 13133  			}
 13134  			var stringLen uint64
 13135  			for shift := uint(0); ; shift += 7 {
 13136  				if shift >= 64 {
 13137  					return ErrIntOverflowTx
 13138  				}
 13139  				if iNdEx >= l {
 13140  					return io.ErrUnexpectedEOF
 13141  				}
 13142  				b := dAtA[iNdEx]
 13143  				iNdEx++
 13144  				stringLen |= uint64(b&0x7F) << shift
 13145  				if b < 0x80 {
 13146  					break
 13147  				}
 13148  			}
 13149  			intStringLen := int(stringLen)
 13150  			if intStringLen < 0 {
 13151  				return ErrInvalidLengthTx
 13152  			}
 13153  			postIndex := iNdEx + intStringLen
 13154  			if postIndex < 0 {
 13155  				return ErrInvalidLengthTx
 13156  			}
 13157  			if postIndex > l {
 13158  				return io.ErrUnexpectedEOF
 13159  			}
 13160  			m.Ticker = string(dAtA[iNdEx:postIndex])
 13161  			iNdEx = postIndex
 13162  		case 3:
 13163  			if wireType != 2 {
 13164  				return fmt.Errorf("proto: wrong wireType = %d for field OracleSymbol", wireType)
 13165  			}
 13166  			var stringLen uint64
 13167  			for shift := uint(0); ; shift += 7 {
 13168  				if shift >= 64 {
 13169  					return ErrIntOverflowTx
 13170  				}
 13171  				if iNdEx >= l {
 13172  					return io.ErrUnexpectedEOF
 13173  				}
 13174  				b := dAtA[iNdEx]
 13175  				iNdEx++
 13176  				stringLen |= uint64(b&0x7F) << shift
 13177  				if b < 0x80 {
 13178  					break
 13179  				}
 13180  			}
 13181  			intStringLen := int(stringLen)
 13182  			if intStringLen < 0 {
 13183  				return ErrInvalidLengthTx
 13184  			}
 13185  			postIndex := iNdEx + intStringLen
 13186  			if postIndex < 0 {
 13187  				return ErrInvalidLengthTx
 13188  			}
 13189  			if postIndex > l {
 13190  				return io.ErrUnexpectedEOF
 13191  			}
 13192  			m.OracleSymbol = string(dAtA[iNdEx:postIndex])
 13193  			iNdEx = postIndex
 13194  		case 4:
 13195  			if wireType != 2 {
 13196  				return fmt.Errorf("proto: wrong wireType = %d for field OracleProvider", wireType)
 13197  			}
 13198  			var stringLen uint64
 13199  			for shift := uint(0); ; shift += 7 {
 13200  				if shift >= 64 {
 13201  					return ErrIntOverflowTx
 13202  				}
 13203  				if iNdEx >= l {
 13204  					return io.ErrUnexpectedEOF
 13205  				}
 13206  				b := dAtA[iNdEx]
 13207  				iNdEx++
 13208  				stringLen |= uint64(b&0x7F) << shift
 13209  				if b < 0x80 {
 13210  					break
 13211  				}
 13212  			}
 13213  			intStringLen := int(stringLen)
 13214  			if intStringLen < 0 {
 13215  				return ErrInvalidLengthTx
 13216  			}
 13217  			postIndex := iNdEx + intStringLen
 13218  			if postIndex < 0 {
 13219  				return ErrInvalidLengthTx
 13220  			}
 13221  			if postIndex > l {
 13222  				return io.ErrUnexpectedEOF
 13223  			}
 13224  			m.OracleProvider = string(dAtA[iNdEx:postIndex])
 13225  			iNdEx = postIndex
 13226  		case 5:
 13227  			if wireType != 0 {
 13228  				return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
 13229  			}
 13230  			m.OracleType = 0
 13231  			for shift := uint(0); ; shift += 7 {
 13232  				if shift >= 64 {
 13233  					return ErrIntOverflowTx
 13234  				}
 13235  				if iNdEx >= l {
 13236  					return io.ErrUnexpectedEOF
 13237  				}
 13238  				b := dAtA[iNdEx]
 13239  				iNdEx++
 13240  				m.OracleType |= types1.OracleType(b&0x7F) << shift
 13241  				if b < 0x80 {
 13242  					break
 13243  				}
 13244  			}
 13245  		case 6:
 13246  			if wireType != 0 {
 13247  				return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
 13248  			}
 13249  			m.OracleScaleFactor = 0
 13250  			for shift := uint(0); ; shift += 7 {
 13251  				if shift >= 64 {
 13252  					return ErrIntOverflowTx
 13253  				}
 13254  				if iNdEx >= l {
 13255  					return io.ErrUnexpectedEOF
 13256  				}
 13257  				b := dAtA[iNdEx]
 13258  				iNdEx++
 13259  				m.OracleScaleFactor |= uint32(b&0x7F) << shift
 13260  				if b < 0x80 {
 13261  					break
 13262  				}
 13263  			}
 13264  		case 7:
 13265  			if wireType != 2 {
 13266  				return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
 13267  			}
 13268  			var stringLen uint64
 13269  			for shift := uint(0); ; shift += 7 {
 13270  				if shift >= 64 {
 13271  					return ErrIntOverflowTx
 13272  				}
 13273  				if iNdEx >= l {
 13274  					return io.ErrUnexpectedEOF
 13275  				}
 13276  				b := dAtA[iNdEx]
 13277  				iNdEx++
 13278  				stringLen |= uint64(b&0x7F) << shift
 13279  				if b < 0x80 {
 13280  					break
 13281  				}
 13282  			}
 13283  			intStringLen := int(stringLen)
 13284  			if intStringLen < 0 {
 13285  				return ErrInvalidLengthTx
 13286  			}
 13287  			postIndex := iNdEx + intStringLen
 13288  			if postIndex < 0 {
 13289  				return ErrInvalidLengthTx
 13290  			}
 13291  			if postIndex > l {
 13292  				return io.ErrUnexpectedEOF
 13293  			}
 13294  			if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13295  				return err
 13296  			}
 13297  			iNdEx = postIndex
 13298  		case 8:
 13299  			if wireType != 2 {
 13300  				return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
 13301  			}
 13302  			var stringLen uint64
 13303  			for shift := uint(0); ; shift += 7 {
 13304  				if shift >= 64 {
 13305  					return ErrIntOverflowTx
 13306  				}
 13307  				if iNdEx >= l {
 13308  					return io.ErrUnexpectedEOF
 13309  				}
 13310  				b := dAtA[iNdEx]
 13311  				iNdEx++
 13312  				stringLen |= uint64(b&0x7F) << shift
 13313  				if b < 0x80 {
 13314  					break
 13315  				}
 13316  			}
 13317  			intStringLen := int(stringLen)
 13318  			if intStringLen < 0 {
 13319  				return ErrInvalidLengthTx
 13320  			}
 13321  			postIndex := iNdEx + intStringLen
 13322  			if postIndex < 0 {
 13323  				return ErrInvalidLengthTx
 13324  			}
 13325  			if postIndex > l {
 13326  				return io.ErrUnexpectedEOF
 13327  			}
 13328  			if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13329  				return err
 13330  			}
 13331  			iNdEx = postIndex
 13332  		case 9:
 13333  			if wireType != 0 {
 13334  				return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
 13335  			}
 13336  			m.ExpirationTimestamp = 0
 13337  			for shift := uint(0); ; shift += 7 {
 13338  				if shift >= 64 {
 13339  					return ErrIntOverflowTx
 13340  				}
 13341  				if iNdEx >= l {
 13342  					return io.ErrUnexpectedEOF
 13343  				}
 13344  				b := dAtA[iNdEx]
 13345  				iNdEx++
 13346  				m.ExpirationTimestamp |= int64(b&0x7F) << shift
 13347  				if b < 0x80 {
 13348  					break
 13349  				}
 13350  			}
 13351  		case 10:
 13352  			if wireType != 0 {
 13353  				return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
 13354  			}
 13355  			m.SettlementTimestamp = 0
 13356  			for shift := uint(0); ; shift += 7 {
 13357  				if shift >= 64 {
 13358  					return ErrIntOverflowTx
 13359  				}
 13360  				if iNdEx >= l {
 13361  					return io.ErrUnexpectedEOF
 13362  				}
 13363  				b := dAtA[iNdEx]
 13364  				iNdEx++
 13365  				m.SettlementTimestamp |= int64(b&0x7F) << shift
 13366  				if b < 0x80 {
 13367  					break
 13368  				}
 13369  			}
 13370  		case 11:
 13371  			if wireType != 2 {
 13372  				return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
 13373  			}
 13374  			var stringLen uint64
 13375  			for shift := uint(0); ; shift += 7 {
 13376  				if shift >= 64 {
 13377  					return ErrIntOverflowTx
 13378  				}
 13379  				if iNdEx >= l {
 13380  					return io.ErrUnexpectedEOF
 13381  				}
 13382  				b := dAtA[iNdEx]
 13383  				iNdEx++
 13384  				stringLen |= uint64(b&0x7F) << shift
 13385  				if b < 0x80 {
 13386  					break
 13387  				}
 13388  			}
 13389  			intStringLen := int(stringLen)
 13390  			if intStringLen < 0 {
 13391  				return ErrInvalidLengthTx
 13392  			}
 13393  			postIndex := iNdEx + intStringLen
 13394  			if postIndex < 0 {
 13395  				return ErrInvalidLengthTx
 13396  			}
 13397  			if postIndex > l {
 13398  				return io.ErrUnexpectedEOF
 13399  			}
 13400  			m.Admin = string(dAtA[iNdEx:postIndex])
 13401  			iNdEx = postIndex
 13402  		case 12:
 13403  			if wireType != 2 {
 13404  				return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
 13405  			}
 13406  			var stringLen uint64
 13407  			for shift := uint(0); ; shift += 7 {
 13408  				if shift >= 64 {
 13409  					return ErrIntOverflowTx
 13410  				}
 13411  				if iNdEx >= l {
 13412  					return io.ErrUnexpectedEOF
 13413  				}
 13414  				b := dAtA[iNdEx]
 13415  				iNdEx++
 13416  				stringLen |= uint64(b&0x7F) << shift
 13417  				if b < 0x80 {
 13418  					break
 13419  				}
 13420  			}
 13421  			intStringLen := int(stringLen)
 13422  			if intStringLen < 0 {
 13423  				return ErrInvalidLengthTx
 13424  			}
 13425  			postIndex := iNdEx + intStringLen
 13426  			if postIndex < 0 {
 13427  				return ErrInvalidLengthTx
 13428  			}
 13429  			if postIndex > l {
 13430  				return io.ErrUnexpectedEOF
 13431  			}
 13432  			m.QuoteDenom = string(dAtA[iNdEx:postIndex])
 13433  			iNdEx = postIndex
 13434  		case 13:
 13435  			if wireType != 2 {
 13436  				return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
 13437  			}
 13438  			var stringLen uint64
 13439  			for shift := uint(0); ; shift += 7 {
 13440  				if shift >= 64 {
 13441  					return ErrIntOverflowTx
 13442  				}
 13443  				if iNdEx >= l {
 13444  					return io.ErrUnexpectedEOF
 13445  				}
 13446  				b := dAtA[iNdEx]
 13447  				iNdEx++
 13448  				stringLen |= uint64(b&0x7F) << shift
 13449  				if b < 0x80 {
 13450  					break
 13451  				}
 13452  			}
 13453  			intStringLen := int(stringLen)
 13454  			if intStringLen < 0 {
 13455  				return ErrInvalidLengthTx
 13456  			}
 13457  			postIndex := iNdEx + intStringLen
 13458  			if postIndex < 0 {
 13459  				return ErrInvalidLengthTx
 13460  			}
 13461  			if postIndex > l {
 13462  				return io.ErrUnexpectedEOF
 13463  			}
 13464  			if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13465  				return err
 13466  			}
 13467  			iNdEx = postIndex
 13468  		case 14:
 13469  			if wireType != 2 {
 13470  				return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
 13471  			}
 13472  			var stringLen uint64
 13473  			for shift := uint(0); ; shift += 7 {
 13474  				if shift >= 64 {
 13475  					return ErrIntOverflowTx
 13476  				}
 13477  				if iNdEx >= l {
 13478  					return io.ErrUnexpectedEOF
 13479  				}
 13480  				b := dAtA[iNdEx]
 13481  				iNdEx++
 13482  				stringLen |= uint64(b&0x7F) << shift
 13483  				if b < 0x80 {
 13484  					break
 13485  				}
 13486  			}
 13487  			intStringLen := int(stringLen)
 13488  			if intStringLen < 0 {
 13489  				return ErrInvalidLengthTx
 13490  			}
 13491  			postIndex := iNdEx + intStringLen
 13492  			if postIndex < 0 {
 13493  				return ErrInvalidLengthTx
 13494  			}
 13495  			if postIndex > l {
 13496  				return io.ErrUnexpectedEOF
 13497  			}
 13498  			if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13499  				return err
 13500  			}
 13501  			iNdEx = postIndex
 13502  		case 15:
 13503  			if wireType != 2 {
 13504  				return fmt.Errorf("proto: wrong wireType = %d for field MinNotional", wireType)
 13505  			}
 13506  			var stringLen uint64
 13507  			for shift := uint(0); ; shift += 7 {
 13508  				if shift >= 64 {
 13509  					return ErrIntOverflowTx
 13510  				}
 13511  				if iNdEx >= l {
 13512  					return io.ErrUnexpectedEOF
 13513  				}
 13514  				b := dAtA[iNdEx]
 13515  				iNdEx++
 13516  				stringLen |= uint64(b&0x7F) << shift
 13517  				if b < 0x80 {
 13518  					break
 13519  				}
 13520  			}
 13521  			intStringLen := int(stringLen)
 13522  			if intStringLen < 0 {
 13523  				return ErrInvalidLengthTx
 13524  			}
 13525  			postIndex := iNdEx + intStringLen
 13526  			if postIndex < 0 {
 13527  				return ErrInvalidLengthTx
 13528  			}
 13529  			if postIndex > l {
 13530  				return io.ErrUnexpectedEOF
 13531  			}
 13532  			if err := m.MinNotional.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13533  				return err
 13534  			}
 13535  			iNdEx = postIndex
 13536  		default:
 13537  			iNdEx = preIndex
 13538  			skippy, err := skipTx(dAtA[iNdEx:])
 13539  			if err != nil {
 13540  				return err
 13541  			}
 13542  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13543  				return ErrInvalidLengthTx
 13544  			}
 13545  			if (iNdEx + skippy) > l {
 13546  				return io.ErrUnexpectedEOF
 13547  			}
 13548  			iNdEx += skippy
 13549  		}
 13550  	}
 13551  
 13552  	if iNdEx > l {
 13553  		return io.ErrUnexpectedEOF
 13554  	}
 13555  	return nil
 13556  }
 13557  func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Unmarshal(dAtA []byte) error {
 13558  	l := len(dAtA)
 13559  	iNdEx := 0
 13560  	for iNdEx < l {
 13561  		preIndex := iNdEx
 13562  		var wire uint64
 13563  		for shift := uint(0); ; shift += 7 {
 13564  			if shift >= 64 {
 13565  				return ErrIntOverflowTx
 13566  			}
 13567  			if iNdEx >= l {
 13568  				return io.ErrUnexpectedEOF
 13569  			}
 13570  			b := dAtA[iNdEx]
 13571  			iNdEx++
 13572  			wire |= uint64(b&0x7F) << shift
 13573  			if b < 0x80 {
 13574  				break
 13575  			}
 13576  		}
 13577  		fieldNum := int32(wire >> 3)
 13578  		wireType := int(wire & 0x7)
 13579  		if wireType == 4 {
 13580  			return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunchResponse: wiretype end group for non-group")
 13581  		}
 13582  		if fieldNum <= 0 {
 13583  			return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 13584  		}
 13585  		switch fieldNum {
 13586  		default:
 13587  			iNdEx = preIndex
 13588  			skippy, err := skipTx(dAtA[iNdEx:])
 13589  			if err != nil {
 13590  				return err
 13591  			}
 13592  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13593  				return ErrInvalidLengthTx
 13594  			}
 13595  			if (iNdEx + skippy) > l {
 13596  				return io.ErrUnexpectedEOF
 13597  			}
 13598  			iNdEx += skippy
 13599  		}
 13600  	}
 13601  
 13602  	if iNdEx > l {
 13603  		return io.ErrUnexpectedEOF
 13604  	}
 13605  	return nil
 13606  }
 13607  func (m *MsgInstantExpiryFuturesMarketLaunch) Unmarshal(dAtA []byte) error {
 13608  	l := len(dAtA)
 13609  	iNdEx := 0
 13610  	for iNdEx < l {
 13611  		preIndex := iNdEx
 13612  		var wire uint64
 13613  		for shift := uint(0); ; shift += 7 {
 13614  			if shift >= 64 {
 13615  				return ErrIntOverflowTx
 13616  			}
 13617  			if iNdEx >= l {
 13618  				return io.ErrUnexpectedEOF
 13619  			}
 13620  			b := dAtA[iNdEx]
 13621  			iNdEx++
 13622  			wire |= uint64(b&0x7F) << shift
 13623  			if b < 0x80 {
 13624  				break
 13625  			}
 13626  		}
 13627  		fieldNum := int32(wire >> 3)
 13628  		wireType := int(wire & 0x7)
 13629  		if wireType == 4 {
 13630  			return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunch: wiretype end group for non-group")
 13631  		}
 13632  		if fieldNum <= 0 {
 13633  			return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
 13634  		}
 13635  		switch fieldNum {
 13636  		case 1:
 13637  			if wireType != 2 {
 13638  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 13639  			}
 13640  			var stringLen uint64
 13641  			for shift := uint(0); ; shift += 7 {
 13642  				if shift >= 64 {
 13643  					return ErrIntOverflowTx
 13644  				}
 13645  				if iNdEx >= l {
 13646  					return io.ErrUnexpectedEOF
 13647  				}
 13648  				b := dAtA[iNdEx]
 13649  				iNdEx++
 13650  				stringLen |= uint64(b&0x7F) << shift
 13651  				if b < 0x80 {
 13652  					break
 13653  				}
 13654  			}
 13655  			intStringLen := int(stringLen)
 13656  			if intStringLen < 0 {
 13657  				return ErrInvalidLengthTx
 13658  			}
 13659  			postIndex := iNdEx + intStringLen
 13660  			if postIndex < 0 {
 13661  				return ErrInvalidLengthTx
 13662  			}
 13663  			if postIndex > l {
 13664  				return io.ErrUnexpectedEOF
 13665  			}
 13666  			m.Sender = string(dAtA[iNdEx:postIndex])
 13667  			iNdEx = postIndex
 13668  		case 2:
 13669  			if wireType != 2 {
 13670  				return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
 13671  			}
 13672  			var stringLen uint64
 13673  			for shift := uint(0); ; shift += 7 {
 13674  				if shift >= 64 {
 13675  					return ErrIntOverflowTx
 13676  				}
 13677  				if iNdEx >= l {
 13678  					return io.ErrUnexpectedEOF
 13679  				}
 13680  				b := dAtA[iNdEx]
 13681  				iNdEx++
 13682  				stringLen |= uint64(b&0x7F) << shift
 13683  				if b < 0x80 {
 13684  					break
 13685  				}
 13686  			}
 13687  			intStringLen := int(stringLen)
 13688  			if intStringLen < 0 {
 13689  				return ErrInvalidLengthTx
 13690  			}
 13691  			postIndex := iNdEx + intStringLen
 13692  			if postIndex < 0 {
 13693  				return ErrInvalidLengthTx
 13694  			}
 13695  			if postIndex > l {
 13696  				return io.ErrUnexpectedEOF
 13697  			}
 13698  			m.Ticker = string(dAtA[iNdEx:postIndex])
 13699  			iNdEx = postIndex
 13700  		case 3:
 13701  			if wireType != 2 {
 13702  				return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
 13703  			}
 13704  			var stringLen uint64
 13705  			for shift := uint(0); ; shift += 7 {
 13706  				if shift >= 64 {
 13707  					return ErrIntOverflowTx
 13708  				}
 13709  				if iNdEx >= l {
 13710  					return io.ErrUnexpectedEOF
 13711  				}
 13712  				b := dAtA[iNdEx]
 13713  				iNdEx++
 13714  				stringLen |= uint64(b&0x7F) << shift
 13715  				if b < 0x80 {
 13716  					break
 13717  				}
 13718  			}
 13719  			intStringLen := int(stringLen)
 13720  			if intStringLen < 0 {
 13721  				return ErrInvalidLengthTx
 13722  			}
 13723  			postIndex := iNdEx + intStringLen
 13724  			if postIndex < 0 {
 13725  				return ErrInvalidLengthTx
 13726  			}
 13727  			if postIndex > l {
 13728  				return io.ErrUnexpectedEOF
 13729  			}
 13730  			m.QuoteDenom = string(dAtA[iNdEx:postIndex])
 13731  			iNdEx = postIndex
 13732  		case 4:
 13733  			if wireType != 2 {
 13734  				return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
 13735  			}
 13736  			var stringLen uint64
 13737  			for shift := uint(0); ; shift += 7 {
 13738  				if shift >= 64 {
 13739  					return ErrIntOverflowTx
 13740  				}
 13741  				if iNdEx >= l {
 13742  					return io.ErrUnexpectedEOF
 13743  				}
 13744  				b := dAtA[iNdEx]
 13745  				iNdEx++
 13746  				stringLen |= uint64(b&0x7F) << shift
 13747  				if b < 0x80 {
 13748  					break
 13749  				}
 13750  			}
 13751  			intStringLen := int(stringLen)
 13752  			if intStringLen < 0 {
 13753  				return ErrInvalidLengthTx
 13754  			}
 13755  			postIndex := iNdEx + intStringLen
 13756  			if postIndex < 0 {
 13757  				return ErrInvalidLengthTx
 13758  			}
 13759  			if postIndex > l {
 13760  				return io.ErrUnexpectedEOF
 13761  			}
 13762  			m.OracleBase = string(dAtA[iNdEx:postIndex])
 13763  			iNdEx = postIndex
 13764  		case 5:
 13765  			if wireType != 2 {
 13766  				return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
 13767  			}
 13768  			var stringLen uint64
 13769  			for shift := uint(0); ; shift += 7 {
 13770  				if shift >= 64 {
 13771  					return ErrIntOverflowTx
 13772  				}
 13773  				if iNdEx >= l {
 13774  					return io.ErrUnexpectedEOF
 13775  				}
 13776  				b := dAtA[iNdEx]
 13777  				iNdEx++
 13778  				stringLen |= uint64(b&0x7F) << shift
 13779  				if b < 0x80 {
 13780  					break
 13781  				}
 13782  			}
 13783  			intStringLen := int(stringLen)
 13784  			if intStringLen < 0 {
 13785  				return ErrInvalidLengthTx
 13786  			}
 13787  			postIndex := iNdEx + intStringLen
 13788  			if postIndex < 0 {
 13789  				return ErrInvalidLengthTx
 13790  			}
 13791  			if postIndex > l {
 13792  				return io.ErrUnexpectedEOF
 13793  			}
 13794  			m.OracleQuote = string(dAtA[iNdEx:postIndex])
 13795  			iNdEx = postIndex
 13796  		case 6:
 13797  			if wireType != 0 {
 13798  				return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
 13799  			}
 13800  			m.OracleType = 0
 13801  			for shift := uint(0); ; shift += 7 {
 13802  				if shift >= 64 {
 13803  					return ErrIntOverflowTx
 13804  				}
 13805  				if iNdEx >= l {
 13806  					return io.ErrUnexpectedEOF
 13807  				}
 13808  				b := dAtA[iNdEx]
 13809  				iNdEx++
 13810  				m.OracleType |= types1.OracleType(b&0x7F) << shift
 13811  				if b < 0x80 {
 13812  					break
 13813  				}
 13814  			}
 13815  		case 7:
 13816  			if wireType != 0 {
 13817  				return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
 13818  			}
 13819  			m.OracleScaleFactor = 0
 13820  			for shift := uint(0); ; shift += 7 {
 13821  				if shift >= 64 {
 13822  					return ErrIntOverflowTx
 13823  				}
 13824  				if iNdEx >= l {
 13825  					return io.ErrUnexpectedEOF
 13826  				}
 13827  				b := dAtA[iNdEx]
 13828  				iNdEx++
 13829  				m.OracleScaleFactor |= uint32(b&0x7F) << shift
 13830  				if b < 0x80 {
 13831  					break
 13832  				}
 13833  			}
 13834  		case 8:
 13835  			if wireType != 0 {
 13836  				return fmt.Errorf("proto: wrong wireType = %d for field Expiry", wireType)
 13837  			}
 13838  			m.Expiry = 0
 13839  			for shift := uint(0); ; shift += 7 {
 13840  				if shift >= 64 {
 13841  					return ErrIntOverflowTx
 13842  				}
 13843  				if iNdEx >= l {
 13844  					return io.ErrUnexpectedEOF
 13845  				}
 13846  				b := dAtA[iNdEx]
 13847  				iNdEx++
 13848  				m.Expiry |= int64(b&0x7F) << shift
 13849  				if b < 0x80 {
 13850  					break
 13851  				}
 13852  			}
 13853  		case 9:
 13854  			if wireType != 2 {
 13855  				return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
 13856  			}
 13857  			var stringLen uint64
 13858  			for shift := uint(0); ; shift += 7 {
 13859  				if shift >= 64 {
 13860  					return ErrIntOverflowTx
 13861  				}
 13862  				if iNdEx >= l {
 13863  					return io.ErrUnexpectedEOF
 13864  				}
 13865  				b := dAtA[iNdEx]
 13866  				iNdEx++
 13867  				stringLen |= uint64(b&0x7F) << shift
 13868  				if b < 0x80 {
 13869  					break
 13870  				}
 13871  			}
 13872  			intStringLen := int(stringLen)
 13873  			if intStringLen < 0 {
 13874  				return ErrInvalidLengthTx
 13875  			}
 13876  			postIndex := iNdEx + intStringLen
 13877  			if postIndex < 0 {
 13878  				return ErrInvalidLengthTx
 13879  			}
 13880  			if postIndex > l {
 13881  				return io.ErrUnexpectedEOF
 13882  			}
 13883  			if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13884  				return err
 13885  			}
 13886  			iNdEx = postIndex
 13887  		case 10:
 13888  			if wireType != 2 {
 13889  				return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
 13890  			}
 13891  			var stringLen uint64
 13892  			for shift := uint(0); ; shift += 7 {
 13893  				if shift >= 64 {
 13894  					return ErrIntOverflowTx
 13895  				}
 13896  				if iNdEx >= l {
 13897  					return io.ErrUnexpectedEOF
 13898  				}
 13899  				b := dAtA[iNdEx]
 13900  				iNdEx++
 13901  				stringLen |= uint64(b&0x7F) << shift
 13902  				if b < 0x80 {
 13903  					break
 13904  				}
 13905  			}
 13906  			intStringLen := int(stringLen)
 13907  			if intStringLen < 0 {
 13908  				return ErrInvalidLengthTx
 13909  			}
 13910  			postIndex := iNdEx + intStringLen
 13911  			if postIndex < 0 {
 13912  				return ErrInvalidLengthTx
 13913  			}
 13914  			if postIndex > l {
 13915  				return io.ErrUnexpectedEOF
 13916  			}
 13917  			if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13918  				return err
 13919  			}
 13920  			iNdEx = postIndex
 13921  		case 11:
 13922  			if wireType != 2 {
 13923  				return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
 13924  			}
 13925  			var stringLen uint64
 13926  			for shift := uint(0); ; shift += 7 {
 13927  				if shift >= 64 {
 13928  					return ErrIntOverflowTx
 13929  				}
 13930  				if iNdEx >= l {
 13931  					return io.ErrUnexpectedEOF
 13932  				}
 13933  				b := dAtA[iNdEx]
 13934  				iNdEx++
 13935  				stringLen |= uint64(b&0x7F) << shift
 13936  				if b < 0x80 {
 13937  					break
 13938  				}
 13939  			}
 13940  			intStringLen := int(stringLen)
 13941  			if intStringLen < 0 {
 13942  				return ErrInvalidLengthTx
 13943  			}
 13944  			postIndex := iNdEx + intStringLen
 13945  			if postIndex < 0 {
 13946  				return ErrInvalidLengthTx
 13947  			}
 13948  			if postIndex > l {
 13949  				return io.ErrUnexpectedEOF
 13950  			}
 13951  			if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13952  				return err
 13953  			}
 13954  			iNdEx = postIndex
 13955  		case 12:
 13956  			if wireType != 2 {
 13957  				return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
 13958  			}
 13959  			var stringLen uint64
 13960  			for shift := uint(0); ; shift += 7 {
 13961  				if shift >= 64 {
 13962  					return ErrIntOverflowTx
 13963  				}
 13964  				if iNdEx >= l {
 13965  					return io.ErrUnexpectedEOF
 13966  				}
 13967  				b := dAtA[iNdEx]
 13968  				iNdEx++
 13969  				stringLen |= uint64(b&0x7F) << shift
 13970  				if b < 0x80 {
 13971  					break
 13972  				}
 13973  			}
 13974  			intStringLen := int(stringLen)
 13975  			if intStringLen < 0 {
 13976  				return ErrInvalidLengthTx
 13977  			}
 13978  			postIndex := iNdEx + intStringLen
 13979  			if postIndex < 0 {
 13980  				return ErrInvalidLengthTx
 13981  			}
 13982  			if postIndex > l {
 13983  				return io.ErrUnexpectedEOF
 13984  			}
 13985  			if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13986  				return err
 13987  			}
 13988  			iNdEx = postIndex
 13989  		case 13:
 13990  			if wireType != 2 {
 13991  				return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
 13992  			}
 13993  			var stringLen uint64
 13994  			for shift := uint(0); ; shift += 7 {
 13995  				if shift >= 64 {
 13996  					return ErrIntOverflowTx
 13997  				}
 13998  				if iNdEx >= l {
 13999  					return io.ErrUnexpectedEOF
 14000  				}
 14001  				b := dAtA[iNdEx]
 14002  				iNdEx++
 14003  				stringLen |= uint64(b&0x7F) << shift
 14004  				if b < 0x80 {
 14005  					break
 14006  				}
 14007  			}
 14008  			intStringLen := int(stringLen)
 14009  			if intStringLen < 0 {
 14010  				return ErrInvalidLengthTx
 14011  			}
 14012  			postIndex := iNdEx + intStringLen
 14013  			if postIndex < 0 {
 14014  				return ErrInvalidLengthTx
 14015  			}
 14016  			if postIndex > l {
 14017  				return io.ErrUnexpectedEOF
 14018  			}
 14019  			if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14020  				return err
 14021  			}
 14022  			iNdEx = postIndex
 14023  		case 14:
 14024  			if wireType != 2 {
 14025  				return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
 14026  			}
 14027  			var stringLen uint64
 14028  			for shift := uint(0); ; shift += 7 {
 14029  				if shift >= 64 {
 14030  					return ErrIntOverflowTx
 14031  				}
 14032  				if iNdEx >= l {
 14033  					return io.ErrUnexpectedEOF
 14034  				}
 14035  				b := dAtA[iNdEx]
 14036  				iNdEx++
 14037  				stringLen |= uint64(b&0x7F) << shift
 14038  				if b < 0x80 {
 14039  					break
 14040  				}
 14041  			}
 14042  			intStringLen := int(stringLen)
 14043  			if intStringLen < 0 {
 14044  				return ErrInvalidLengthTx
 14045  			}
 14046  			postIndex := iNdEx + intStringLen
 14047  			if postIndex < 0 {
 14048  				return ErrInvalidLengthTx
 14049  			}
 14050  			if postIndex > l {
 14051  				return io.ErrUnexpectedEOF
 14052  			}
 14053  			if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14054  				return err
 14055  			}
 14056  			iNdEx = postIndex
 14057  		case 15:
 14058  			if wireType != 2 {
 14059  				return fmt.Errorf("proto: wrong wireType = %d for field MinNotional", wireType)
 14060  			}
 14061  			var stringLen uint64
 14062  			for shift := uint(0); ; shift += 7 {
 14063  				if shift >= 64 {
 14064  					return ErrIntOverflowTx
 14065  				}
 14066  				if iNdEx >= l {
 14067  					return io.ErrUnexpectedEOF
 14068  				}
 14069  				b := dAtA[iNdEx]
 14070  				iNdEx++
 14071  				stringLen |= uint64(b&0x7F) << shift
 14072  				if b < 0x80 {
 14073  					break
 14074  				}
 14075  			}
 14076  			intStringLen := int(stringLen)
 14077  			if intStringLen < 0 {
 14078  				return ErrInvalidLengthTx
 14079  			}
 14080  			postIndex := iNdEx + intStringLen
 14081  			if postIndex < 0 {
 14082  				return ErrInvalidLengthTx
 14083  			}
 14084  			if postIndex > l {
 14085  				return io.ErrUnexpectedEOF
 14086  			}
 14087  			if err := m.MinNotional.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14088  				return err
 14089  			}
 14090  			iNdEx = postIndex
 14091  		default:
 14092  			iNdEx = preIndex
 14093  			skippy, err := skipTx(dAtA[iNdEx:])
 14094  			if err != nil {
 14095  				return err
 14096  			}
 14097  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14098  				return ErrInvalidLengthTx
 14099  			}
 14100  			if (iNdEx + skippy) > l {
 14101  				return io.ErrUnexpectedEOF
 14102  			}
 14103  			iNdEx += skippy
 14104  		}
 14105  	}
 14106  
 14107  	if iNdEx > l {
 14108  		return io.ErrUnexpectedEOF
 14109  	}
 14110  	return nil
 14111  }
 14112  func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal(dAtA []byte) error {
 14113  	l := len(dAtA)
 14114  	iNdEx := 0
 14115  	for iNdEx < l {
 14116  		preIndex := iNdEx
 14117  		var wire uint64
 14118  		for shift := uint(0); ; shift += 7 {
 14119  			if shift >= 64 {
 14120  				return ErrIntOverflowTx
 14121  			}
 14122  			if iNdEx >= l {
 14123  				return io.ErrUnexpectedEOF
 14124  			}
 14125  			b := dAtA[iNdEx]
 14126  			iNdEx++
 14127  			wire |= uint64(b&0x7F) << shift
 14128  			if b < 0x80 {
 14129  				break
 14130  			}
 14131  		}
 14132  		fieldNum := int32(wire >> 3)
 14133  		wireType := int(wire & 0x7)
 14134  		if wireType == 4 {
 14135  			return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunchResponse: wiretype end group for non-group")
 14136  		}
 14137  		if fieldNum <= 0 {
 14138  			return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 14139  		}
 14140  		switch fieldNum {
 14141  		default:
 14142  			iNdEx = preIndex
 14143  			skippy, err := skipTx(dAtA[iNdEx:])
 14144  			if err != nil {
 14145  				return err
 14146  			}
 14147  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14148  				return ErrInvalidLengthTx
 14149  			}
 14150  			if (iNdEx + skippy) > l {
 14151  				return io.ErrUnexpectedEOF
 14152  			}
 14153  			iNdEx += skippy
 14154  		}
 14155  	}
 14156  
 14157  	if iNdEx > l {
 14158  		return io.ErrUnexpectedEOF
 14159  	}
 14160  	return nil
 14161  }
 14162  func (m *MsgCreateSpotMarketOrder) Unmarshal(dAtA []byte) error {
 14163  	l := len(dAtA)
 14164  	iNdEx := 0
 14165  	for iNdEx < l {
 14166  		preIndex := iNdEx
 14167  		var wire uint64
 14168  		for shift := uint(0); ; shift += 7 {
 14169  			if shift >= 64 {
 14170  				return ErrIntOverflowTx
 14171  			}
 14172  			if iNdEx >= l {
 14173  				return io.ErrUnexpectedEOF
 14174  			}
 14175  			b := dAtA[iNdEx]
 14176  			iNdEx++
 14177  			wire |= uint64(b&0x7F) << shift
 14178  			if b < 0x80 {
 14179  				break
 14180  			}
 14181  		}
 14182  		fieldNum := int32(wire >> 3)
 14183  		wireType := int(wire & 0x7)
 14184  		if wireType == 4 {
 14185  			return fmt.Errorf("proto: MsgCreateSpotMarketOrder: wiretype end group for non-group")
 14186  		}
 14187  		if fieldNum <= 0 {
 14188  			return fmt.Errorf("proto: MsgCreateSpotMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 14189  		}
 14190  		switch fieldNum {
 14191  		case 1:
 14192  			if wireType != 2 {
 14193  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 14194  			}
 14195  			var stringLen uint64
 14196  			for shift := uint(0); ; shift += 7 {
 14197  				if shift >= 64 {
 14198  					return ErrIntOverflowTx
 14199  				}
 14200  				if iNdEx >= l {
 14201  					return io.ErrUnexpectedEOF
 14202  				}
 14203  				b := dAtA[iNdEx]
 14204  				iNdEx++
 14205  				stringLen |= uint64(b&0x7F) << shift
 14206  				if b < 0x80 {
 14207  					break
 14208  				}
 14209  			}
 14210  			intStringLen := int(stringLen)
 14211  			if intStringLen < 0 {
 14212  				return ErrInvalidLengthTx
 14213  			}
 14214  			postIndex := iNdEx + intStringLen
 14215  			if postIndex < 0 {
 14216  				return ErrInvalidLengthTx
 14217  			}
 14218  			if postIndex > l {
 14219  				return io.ErrUnexpectedEOF
 14220  			}
 14221  			m.Sender = string(dAtA[iNdEx:postIndex])
 14222  			iNdEx = postIndex
 14223  		case 2:
 14224  			if wireType != 2 {
 14225  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 14226  			}
 14227  			var msglen int
 14228  			for shift := uint(0); ; shift += 7 {
 14229  				if shift >= 64 {
 14230  					return ErrIntOverflowTx
 14231  				}
 14232  				if iNdEx >= l {
 14233  					return io.ErrUnexpectedEOF
 14234  				}
 14235  				b := dAtA[iNdEx]
 14236  				iNdEx++
 14237  				msglen |= int(b&0x7F) << shift
 14238  				if b < 0x80 {
 14239  					break
 14240  				}
 14241  			}
 14242  			if msglen < 0 {
 14243  				return ErrInvalidLengthTx
 14244  			}
 14245  			postIndex := iNdEx + msglen
 14246  			if postIndex < 0 {
 14247  				return ErrInvalidLengthTx
 14248  			}
 14249  			if postIndex > l {
 14250  				return io.ErrUnexpectedEOF
 14251  			}
 14252  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14253  				return err
 14254  			}
 14255  			iNdEx = postIndex
 14256  		default:
 14257  			iNdEx = preIndex
 14258  			skippy, err := skipTx(dAtA[iNdEx:])
 14259  			if err != nil {
 14260  				return err
 14261  			}
 14262  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14263  				return ErrInvalidLengthTx
 14264  			}
 14265  			if (iNdEx + skippy) > l {
 14266  				return io.ErrUnexpectedEOF
 14267  			}
 14268  			iNdEx += skippy
 14269  		}
 14270  	}
 14271  
 14272  	if iNdEx > l {
 14273  		return io.ErrUnexpectedEOF
 14274  	}
 14275  	return nil
 14276  }
 14277  func (m *MsgCreateSpotMarketOrderResponse) Unmarshal(dAtA []byte) error {
 14278  	l := len(dAtA)
 14279  	iNdEx := 0
 14280  	for iNdEx < l {
 14281  		preIndex := iNdEx
 14282  		var wire uint64
 14283  		for shift := uint(0); ; shift += 7 {
 14284  			if shift >= 64 {
 14285  				return ErrIntOverflowTx
 14286  			}
 14287  			if iNdEx >= l {
 14288  				return io.ErrUnexpectedEOF
 14289  			}
 14290  			b := dAtA[iNdEx]
 14291  			iNdEx++
 14292  			wire |= uint64(b&0x7F) << shift
 14293  			if b < 0x80 {
 14294  				break
 14295  			}
 14296  		}
 14297  		fieldNum := int32(wire >> 3)
 14298  		wireType := int(wire & 0x7)
 14299  		if wireType == 4 {
 14300  			return fmt.Errorf("proto: MsgCreateSpotMarketOrderResponse: wiretype end group for non-group")
 14301  		}
 14302  		if fieldNum <= 0 {
 14303  			return fmt.Errorf("proto: MsgCreateSpotMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 14304  		}
 14305  		switch fieldNum {
 14306  		case 1:
 14307  			if wireType != 2 {
 14308  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 14309  			}
 14310  			var stringLen uint64
 14311  			for shift := uint(0); ; shift += 7 {
 14312  				if shift >= 64 {
 14313  					return ErrIntOverflowTx
 14314  				}
 14315  				if iNdEx >= l {
 14316  					return io.ErrUnexpectedEOF
 14317  				}
 14318  				b := dAtA[iNdEx]
 14319  				iNdEx++
 14320  				stringLen |= uint64(b&0x7F) << shift
 14321  				if b < 0x80 {
 14322  					break
 14323  				}
 14324  			}
 14325  			intStringLen := int(stringLen)
 14326  			if intStringLen < 0 {
 14327  				return ErrInvalidLengthTx
 14328  			}
 14329  			postIndex := iNdEx + intStringLen
 14330  			if postIndex < 0 {
 14331  				return ErrInvalidLengthTx
 14332  			}
 14333  			if postIndex > l {
 14334  				return io.ErrUnexpectedEOF
 14335  			}
 14336  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 14337  			iNdEx = postIndex
 14338  		case 2:
 14339  			if wireType != 2 {
 14340  				return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
 14341  			}
 14342  			var msglen int
 14343  			for shift := uint(0); ; shift += 7 {
 14344  				if shift >= 64 {
 14345  					return ErrIntOverflowTx
 14346  				}
 14347  				if iNdEx >= l {
 14348  					return io.ErrUnexpectedEOF
 14349  				}
 14350  				b := dAtA[iNdEx]
 14351  				iNdEx++
 14352  				msglen |= int(b&0x7F) << shift
 14353  				if b < 0x80 {
 14354  					break
 14355  				}
 14356  			}
 14357  			if msglen < 0 {
 14358  				return ErrInvalidLengthTx
 14359  			}
 14360  			postIndex := iNdEx + msglen
 14361  			if postIndex < 0 {
 14362  				return ErrInvalidLengthTx
 14363  			}
 14364  			if postIndex > l {
 14365  				return io.ErrUnexpectedEOF
 14366  			}
 14367  			if m.Results == nil {
 14368  				m.Results = &SpotMarketOrderResults{}
 14369  			}
 14370  			if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14371  				return err
 14372  			}
 14373  			iNdEx = postIndex
 14374  		case 3:
 14375  			if wireType != 2 {
 14376  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 14377  			}
 14378  			var stringLen uint64
 14379  			for shift := uint(0); ; shift += 7 {
 14380  				if shift >= 64 {
 14381  					return ErrIntOverflowTx
 14382  				}
 14383  				if iNdEx >= l {
 14384  					return io.ErrUnexpectedEOF
 14385  				}
 14386  				b := dAtA[iNdEx]
 14387  				iNdEx++
 14388  				stringLen |= uint64(b&0x7F) << shift
 14389  				if b < 0x80 {
 14390  					break
 14391  				}
 14392  			}
 14393  			intStringLen := int(stringLen)
 14394  			if intStringLen < 0 {
 14395  				return ErrInvalidLengthTx
 14396  			}
 14397  			postIndex := iNdEx + intStringLen
 14398  			if postIndex < 0 {
 14399  				return ErrInvalidLengthTx
 14400  			}
 14401  			if postIndex > l {
 14402  				return io.ErrUnexpectedEOF
 14403  			}
 14404  			m.Cid = string(dAtA[iNdEx:postIndex])
 14405  			iNdEx = postIndex
 14406  		default:
 14407  			iNdEx = preIndex
 14408  			skippy, err := skipTx(dAtA[iNdEx:])
 14409  			if err != nil {
 14410  				return err
 14411  			}
 14412  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14413  				return ErrInvalidLengthTx
 14414  			}
 14415  			if (iNdEx + skippy) > l {
 14416  				return io.ErrUnexpectedEOF
 14417  			}
 14418  			iNdEx += skippy
 14419  		}
 14420  	}
 14421  
 14422  	if iNdEx > l {
 14423  		return io.ErrUnexpectedEOF
 14424  	}
 14425  	return nil
 14426  }
 14427  func (m *SpotMarketOrderResults) Unmarshal(dAtA []byte) error {
 14428  	l := len(dAtA)
 14429  	iNdEx := 0
 14430  	for iNdEx < l {
 14431  		preIndex := iNdEx
 14432  		var wire uint64
 14433  		for shift := uint(0); ; shift += 7 {
 14434  			if shift >= 64 {
 14435  				return ErrIntOverflowTx
 14436  			}
 14437  			if iNdEx >= l {
 14438  				return io.ErrUnexpectedEOF
 14439  			}
 14440  			b := dAtA[iNdEx]
 14441  			iNdEx++
 14442  			wire |= uint64(b&0x7F) << shift
 14443  			if b < 0x80 {
 14444  				break
 14445  			}
 14446  		}
 14447  		fieldNum := int32(wire >> 3)
 14448  		wireType := int(wire & 0x7)
 14449  		if wireType == 4 {
 14450  			return fmt.Errorf("proto: SpotMarketOrderResults: wiretype end group for non-group")
 14451  		}
 14452  		if fieldNum <= 0 {
 14453  			return fmt.Errorf("proto: SpotMarketOrderResults: illegal tag %d (wire type %d)", fieldNum, wire)
 14454  		}
 14455  		switch fieldNum {
 14456  		case 1:
 14457  			if wireType != 2 {
 14458  				return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
 14459  			}
 14460  			var stringLen uint64
 14461  			for shift := uint(0); ; shift += 7 {
 14462  				if shift >= 64 {
 14463  					return ErrIntOverflowTx
 14464  				}
 14465  				if iNdEx >= l {
 14466  					return io.ErrUnexpectedEOF
 14467  				}
 14468  				b := dAtA[iNdEx]
 14469  				iNdEx++
 14470  				stringLen |= uint64(b&0x7F) << shift
 14471  				if b < 0x80 {
 14472  					break
 14473  				}
 14474  			}
 14475  			intStringLen := int(stringLen)
 14476  			if intStringLen < 0 {
 14477  				return ErrInvalidLengthTx
 14478  			}
 14479  			postIndex := iNdEx + intStringLen
 14480  			if postIndex < 0 {
 14481  				return ErrInvalidLengthTx
 14482  			}
 14483  			if postIndex > l {
 14484  				return io.ErrUnexpectedEOF
 14485  			}
 14486  			if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14487  				return err
 14488  			}
 14489  			iNdEx = postIndex
 14490  		case 2:
 14491  			if wireType != 2 {
 14492  				return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
 14493  			}
 14494  			var stringLen uint64
 14495  			for shift := uint(0); ; shift += 7 {
 14496  				if shift >= 64 {
 14497  					return ErrIntOverflowTx
 14498  				}
 14499  				if iNdEx >= l {
 14500  					return io.ErrUnexpectedEOF
 14501  				}
 14502  				b := dAtA[iNdEx]
 14503  				iNdEx++
 14504  				stringLen |= uint64(b&0x7F) << shift
 14505  				if b < 0x80 {
 14506  					break
 14507  				}
 14508  			}
 14509  			intStringLen := int(stringLen)
 14510  			if intStringLen < 0 {
 14511  				return ErrInvalidLengthTx
 14512  			}
 14513  			postIndex := iNdEx + intStringLen
 14514  			if postIndex < 0 {
 14515  				return ErrInvalidLengthTx
 14516  			}
 14517  			if postIndex > l {
 14518  				return io.ErrUnexpectedEOF
 14519  			}
 14520  			if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14521  				return err
 14522  			}
 14523  			iNdEx = postIndex
 14524  		case 3:
 14525  			if wireType != 2 {
 14526  				return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
 14527  			}
 14528  			var stringLen uint64
 14529  			for shift := uint(0); ; shift += 7 {
 14530  				if shift >= 64 {
 14531  					return ErrIntOverflowTx
 14532  				}
 14533  				if iNdEx >= l {
 14534  					return io.ErrUnexpectedEOF
 14535  				}
 14536  				b := dAtA[iNdEx]
 14537  				iNdEx++
 14538  				stringLen |= uint64(b&0x7F) << shift
 14539  				if b < 0x80 {
 14540  					break
 14541  				}
 14542  			}
 14543  			intStringLen := int(stringLen)
 14544  			if intStringLen < 0 {
 14545  				return ErrInvalidLengthTx
 14546  			}
 14547  			postIndex := iNdEx + intStringLen
 14548  			if postIndex < 0 {
 14549  				return ErrInvalidLengthTx
 14550  			}
 14551  			if postIndex > l {
 14552  				return io.ErrUnexpectedEOF
 14553  			}
 14554  			if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14555  				return err
 14556  			}
 14557  			iNdEx = postIndex
 14558  		default:
 14559  			iNdEx = preIndex
 14560  			skippy, err := skipTx(dAtA[iNdEx:])
 14561  			if err != nil {
 14562  				return err
 14563  			}
 14564  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14565  				return ErrInvalidLengthTx
 14566  			}
 14567  			if (iNdEx + skippy) > l {
 14568  				return io.ErrUnexpectedEOF
 14569  			}
 14570  			iNdEx += skippy
 14571  		}
 14572  	}
 14573  
 14574  	if iNdEx > l {
 14575  		return io.ErrUnexpectedEOF
 14576  	}
 14577  	return nil
 14578  }
 14579  func (m *MsgCreateDerivativeLimitOrder) Unmarshal(dAtA []byte) error {
 14580  	l := len(dAtA)
 14581  	iNdEx := 0
 14582  	for iNdEx < l {
 14583  		preIndex := iNdEx
 14584  		var wire uint64
 14585  		for shift := uint(0); ; shift += 7 {
 14586  			if shift >= 64 {
 14587  				return ErrIntOverflowTx
 14588  			}
 14589  			if iNdEx >= l {
 14590  				return io.ErrUnexpectedEOF
 14591  			}
 14592  			b := dAtA[iNdEx]
 14593  			iNdEx++
 14594  			wire |= uint64(b&0x7F) << shift
 14595  			if b < 0x80 {
 14596  				break
 14597  			}
 14598  		}
 14599  		fieldNum := int32(wire >> 3)
 14600  		wireType := int(wire & 0x7)
 14601  		if wireType == 4 {
 14602  			return fmt.Errorf("proto: MsgCreateDerivativeLimitOrder: wiretype end group for non-group")
 14603  		}
 14604  		if fieldNum <= 0 {
 14605  			return fmt.Errorf("proto: MsgCreateDerivativeLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 14606  		}
 14607  		switch fieldNum {
 14608  		case 1:
 14609  			if wireType != 2 {
 14610  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 14611  			}
 14612  			var stringLen uint64
 14613  			for shift := uint(0); ; shift += 7 {
 14614  				if shift >= 64 {
 14615  					return ErrIntOverflowTx
 14616  				}
 14617  				if iNdEx >= l {
 14618  					return io.ErrUnexpectedEOF
 14619  				}
 14620  				b := dAtA[iNdEx]
 14621  				iNdEx++
 14622  				stringLen |= uint64(b&0x7F) << shift
 14623  				if b < 0x80 {
 14624  					break
 14625  				}
 14626  			}
 14627  			intStringLen := int(stringLen)
 14628  			if intStringLen < 0 {
 14629  				return ErrInvalidLengthTx
 14630  			}
 14631  			postIndex := iNdEx + intStringLen
 14632  			if postIndex < 0 {
 14633  				return ErrInvalidLengthTx
 14634  			}
 14635  			if postIndex > l {
 14636  				return io.ErrUnexpectedEOF
 14637  			}
 14638  			m.Sender = string(dAtA[iNdEx:postIndex])
 14639  			iNdEx = postIndex
 14640  		case 2:
 14641  			if wireType != 2 {
 14642  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 14643  			}
 14644  			var msglen int
 14645  			for shift := uint(0); ; shift += 7 {
 14646  				if shift >= 64 {
 14647  					return ErrIntOverflowTx
 14648  				}
 14649  				if iNdEx >= l {
 14650  					return io.ErrUnexpectedEOF
 14651  				}
 14652  				b := dAtA[iNdEx]
 14653  				iNdEx++
 14654  				msglen |= int(b&0x7F) << shift
 14655  				if b < 0x80 {
 14656  					break
 14657  				}
 14658  			}
 14659  			if msglen < 0 {
 14660  				return ErrInvalidLengthTx
 14661  			}
 14662  			postIndex := iNdEx + msglen
 14663  			if postIndex < 0 {
 14664  				return ErrInvalidLengthTx
 14665  			}
 14666  			if postIndex > l {
 14667  				return io.ErrUnexpectedEOF
 14668  			}
 14669  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14670  				return err
 14671  			}
 14672  			iNdEx = postIndex
 14673  		default:
 14674  			iNdEx = preIndex
 14675  			skippy, err := skipTx(dAtA[iNdEx:])
 14676  			if err != nil {
 14677  				return err
 14678  			}
 14679  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14680  				return ErrInvalidLengthTx
 14681  			}
 14682  			if (iNdEx + skippy) > l {
 14683  				return io.ErrUnexpectedEOF
 14684  			}
 14685  			iNdEx += skippy
 14686  		}
 14687  	}
 14688  
 14689  	if iNdEx > l {
 14690  		return io.ErrUnexpectedEOF
 14691  	}
 14692  	return nil
 14693  }
 14694  func (m *MsgCreateDerivativeLimitOrderResponse) Unmarshal(dAtA []byte) error {
 14695  	l := len(dAtA)
 14696  	iNdEx := 0
 14697  	for iNdEx < l {
 14698  		preIndex := iNdEx
 14699  		var wire uint64
 14700  		for shift := uint(0); ; shift += 7 {
 14701  			if shift >= 64 {
 14702  				return ErrIntOverflowTx
 14703  			}
 14704  			if iNdEx >= l {
 14705  				return io.ErrUnexpectedEOF
 14706  			}
 14707  			b := dAtA[iNdEx]
 14708  			iNdEx++
 14709  			wire |= uint64(b&0x7F) << shift
 14710  			if b < 0x80 {
 14711  				break
 14712  			}
 14713  		}
 14714  		fieldNum := int32(wire >> 3)
 14715  		wireType := int(wire & 0x7)
 14716  		if wireType == 4 {
 14717  			return fmt.Errorf("proto: MsgCreateDerivativeLimitOrderResponse: wiretype end group for non-group")
 14718  		}
 14719  		if fieldNum <= 0 {
 14720  			return fmt.Errorf("proto: MsgCreateDerivativeLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 14721  		}
 14722  		switch fieldNum {
 14723  		case 1:
 14724  			if wireType != 2 {
 14725  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 14726  			}
 14727  			var stringLen uint64
 14728  			for shift := uint(0); ; shift += 7 {
 14729  				if shift >= 64 {
 14730  					return ErrIntOverflowTx
 14731  				}
 14732  				if iNdEx >= l {
 14733  					return io.ErrUnexpectedEOF
 14734  				}
 14735  				b := dAtA[iNdEx]
 14736  				iNdEx++
 14737  				stringLen |= uint64(b&0x7F) << shift
 14738  				if b < 0x80 {
 14739  					break
 14740  				}
 14741  			}
 14742  			intStringLen := int(stringLen)
 14743  			if intStringLen < 0 {
 14744  				return ErrInvalidLengthTx
 14745  			}
 14746  			postIndex := iNdEx + intStringLen
 14747  			if postIndex < 0 {
 14748  				return ErrInvalidLengthTx
 14749  			}
 14750  			if postIndex > l {
 14751  				return io.ErrUnexpectedEOF
 14752  			}
 14753  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 14754  			iNdEx = postIndex
 14755  		case 2:
 14756  			if wireType != 2 {
 14757  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 14758  			}
 14759  			var stringLen uint64
 14760  			for shift := uint(0); ; shift += 7 {
 14761  				if shift >= 64 {
 14762  					return ErrIntOverflowTx
 14763  				}
 14764  				if iNdEx >= l {
 14765  					return io.ErrUnexpectedEOF
 14766  				}
 14767  				b := dAtA[iNdEx]
 14768  				iNdEx++
 14769  				stringLen |= uint64(b&0x7F) << shift
 14770  				if b < 0x80 {
 14771  					break
 14772  				}
 14773  			}
 14774  			intStringLen := int(stringLen)
 14775  			if intStringLen < 0 {
 14776  				return ErrInvalidLengthTx
 14777  			}
 14778  			postIndex := iNdEx + intStringLen
 14779  			if postIndex < 0 {
 14780  				return ErrInvalidLengthTx
 14781  			}
 14782  			if postIndex > l {
 14783  				return io.ErrUnexpectedEOF
 14784  			}
 14785  			m.Cid = string(dAtA[iNdEx:postIndex])
 14786  			iNdEx = postIndex
 14787  		default:
 14788  			iNdEx = preIndex
 14789  			skippy, err := skipTx(dAtA[iNdEx:])
 14790  			if err != nil {
 14791  				return err
 14792  			}
 14793  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14794  				return ErrInvalidLengthTx
 14795  			}
 14796  			if (iNdEx + skippy) > l {
 14797  				return io.ErrUnexpectedEOF
 14798  			}
 14799  			iNdEx += skippy
 14800  		}
 14801  	}
 14802  
 14803  	if iNdEx > l {
 14804  		return io.ErrUnexpectedEOF
 14805  	}
 14806  	return nil
 14807  }
 14808  func (m *MsgCreateBinaryOptionsLimitOrder) Unmarshal(dAtA []byte) error {
 14809  	l := len(dAtA)
 14810  	iNdEx := 0
 14811  	for iNdEx < l {
 14812  		preIndex := iNdEx
 14813  		var wire uint64
 14814  		for shift := uint(0); ; shift += 7 {
 14815  			if shift >= 64 {
 14816  				return ErrIntOverflowTx
 14817  			}
 14818  			if iNdEx >= l {
 14819  				return io.ErrUnexpectedEOF
 14820  			}
 14821  			b := dAtA[iNdEx]
 14822  			iNdEx++
 14823  			wire |= uint64(b&0x7F) << shift
 14824  			if b < 0x80 {
 14825  				break
 14826  			}
 14827  		}
 14828  		fieldNum := int32(wire >> 3)
 14829  		wireType := int(wire & 0x7)
 14830  		if wireType == 4 {
 14831  			return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrder: wiretype end group for non-group")
 14832  		}
 14833  		if fieldNum <= 0 {
 14834  			return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 14835  		}
 14836  		switch fieldNum {
 14837  		case 1:
 14838  			if wireType != 2 {
 14839  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 14840  			}
 14841  			var stringLen uint64
 14842  			for shift := uint(0); ; shift += 7 {
 14843  				if shift >= 64 {
 14844  					return ErrIntOverflowTx
 14845  				}
 14846  				if iNdEx >= l {
 14847  					return io.ErrUnexpectedEOF
 14848  				}
 14849  				b := dAtA[iNdEx]
 14850  				iNdEx++
 14851  				stringLen |= uint64(b&0x7F) << shift
 14852  				if b < 0x80 {
 14853  					break
 14854  				}
 14855  			}
 14856  			intStringLen := int(stringLen)
 14857  			if intStringLen < 0 {
 14858  				return ErrInvalidLengthTx
 14859  			}
 14860  			postIndex := iNdEx + intStringLen
 14861  			if postIndex < 0 {
 14862  				return ErrInvalidLengthTx
 14863  			}
 14864  			if postIndex > l {
 14865  				return io.ErrUnexpectedEOF
 14866  			}
 14867  			m.Sender = string(dAtA[iNdEx:postIndex])
 14868  			iNdEx = postIndex
 14869  		case 2:
 14870  			if wireType != 2 {
 14871  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 14872  			}
 14873  			var msglen int
 14874  			for shift := uint(0); ; shift += 7 {
 14875  				if shift >= 64 {
 14876  					return ErrIntOverflowTx
 14877  				}
 14878  				if iNdEx >= l {
 14879  					return io.ErrUnexpectedEOF
 14880  				}
 14881  				b := dAtA[iNdEx]
 14882  				iNdEx++
 14883  				msglen |= int(b&0x7F) << shift
 14884  				if b < 0x80 {
 14885  					break
 14886  				}
 14887  			}
 14888  			if msglen < 0 {
 14889  				return ErrInvalidLengthTx
 14890  			}
 14891  			postIndex := iNdEx + msglen
 14892  			if postIndex < 0 {
 14893  				return ErrInvalidLengthTx
 14894  			}
 14895  			if postIndex > l {
 14896  				return io.ErrUnexpectedEOF
 14897  			}
 14898  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14899  				return err
 14900  			}
 14901  			iNdEx = postIndex
 14902  		default:
 14903  			iNdEx = preIndex
 14904  			skippy, err := skipTx(dAtA[iNdEx:])
 14905  			if err != nil {
 14906  				return err
 14907  			}
 14908  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14909  				return ErrInvalidLengthTx
 14910  			}
 14911  			if (iNdEx + skippy) > l {
 14912  				return io.ErrUnexpectedEOF
 14913  			}
 14914  			iNdEx += skippy
 14915  		}
 14916  	}
 14917  
 14918  	if iNdEx > l {
 14919  		return io.ErrUnexpectedEOF
 14920  	}
 14921  	return nil
 14922  }
 14923  func (m *MsgCreateBinaryOptionsLimitOrderResponse) Unmarshal(dAtA []byte) error {
 14924  	l := len(dAtA)
 14925  	iNdEx := 0
 14926  	for iNdEx < l {
 14927  		preIndex := iNdEx
 14928  		var wire uint64
 14929  		for shift := uint(0); ; shift += 7 {
 14930  			if shift >= 64 {
 14931  				return ErrIntOverflowTx
 14932  			}
 14933  			if iNdEx >= l {
 14934  				return io.ErrUnexpectedEOF
 14935  			}
 14936  			b := dAtA[iNdEx]
 14937  			iNdEx++
 14938  			wire |= uint64(b&0x7F) << shift
 14939  			if b < 0x80 {
 14940  				break
 14941  			}
 14942  		}
 14943  		fieldNum := int32(wire >> 3)
 14944  		wireType := int(wire & 0x7)
 14945  		if wireType == 4 {
 14946  			return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrderResponse: wiretype end group for non-group")
 14947  		}
 14948  		if fieldNum <= 0 {
 14949  			return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 14950  		}
 14951  		switch fieldNum {
 14952  		case 1:
 14953  			if wireType != 2 {
 14954  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 14955  			}
 14956  			var stringLen uint64
 14957  			for shift := uint(0); ; shift += 7 {
 14958  				if shift >= 64 {
 14959  					return ErrIntOverflowTx
 14960  				}
 14961  				if iNdEx >= l {
 14962  					return io.ErrUnexpectedEOF
 14963  				}
 14964  				b := dAtA[iNdEx]
 14965  				iNdEx++
 14966  				stringLen |= uint64(b&0x7F) << shift
 14967  				if b < 0x80 {
 14968  					break
 14969  				}
 14970  			}
 14971  			intStringLen := int(stringLen)
 14972  			if intStringLen < 0 {
 14973  				return ErrInvalidLengthTx
 14974  			}
 14975  			postIndex := iNdEx + intStringLen
 14976  			if postIndex < 0 {
 14977  				return ErrInvalidLengthTx
 14978  			}
 14979  			if postIndex > l {
 14980  				return io.ErrUnexpectedEOF
 14981  			}
 14982  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 14983  			iNdEx = postIndex
 14984  		case 2:
 14985  			if wireType != 2 {
 14986  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 14987  			}
 14988  			var stringLen uint64
 14989  			for shift := uint(0); ; shift += 7 {
 14990  				if shift >= 64 {
 14991  					return ErrIntOverflowTx
 14992  				}
 14993  				if iNdEx >= l {
 14994  					return io.ErrUnexpectedEOF
 14995  				}
 14996  				b := dAtA[iNdEx]
 14997  				iNdEx++
 14998  				stringLen |= uint64(b&0x7F) << shift
 14999  				if b < 0x80 {
 15000  					break
 15001  				}
 15002  			}
 15003  			intStringLen := int(stringLen)
 15004  			if intStringLen < 0 {
 15005  				return ErrInvalidLengthTx
 15006  			}
 15007  			postIndex := iNdEx + intStringLen
 15008  			if postIndex < 0 {
 15009  				return ErrInvalidLengthTx
 15010  			}
 15011  			if postIndex > l {
 15012  				return io.ErrUnexpectedEOF
 15013  			}
 15014  			m.Cid = string(dAtA[iNdEx:postIndex])
 15015  			iNdEx = postIndex
 15016  		default:
 15017  			iNdEx = preIndex
 15018  			skippy, err := skipTx(dAtA[iNdEx:])
 15019  			if err != nil {
 15020  				return err
 15021  			}
 15022  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15023  				return ErrInvalidLengthTx
 15024  			}
 15025  			if (iNdEx + skippy) > l {
 15026  				return io.ErrUnexpectedEOF
 15027  			}
 15028  			iNdEx += skippy
 15029  		}
 15030  	}
 15031  
 15032  	if iNdEx > l {
 15033  		return io.ErrUnexpectedEOF
 15034  	}
 15035  	return nil
 15036  }
 15037  func (m *MsgBatchCreateDerivativeLimitOrders) Unmarshal(dAtA []byte) error {
 15038  	l := len(dAtA)
 15039  	iNdEx := 0
 15040  	for iNdEx < l {
 15041  		preIndex := iNdEx
 15042  		var wire uint64
 15043  		for shift := uint(0); ; shift += 7 {
 15044  			if shift >= 64 {
 15045  				return ErrIntOverflowTx
 15046  			}
 15047  			if iNdEx >= l {
 15048  				return io.ErrUnexpectedEOF
 15049  			}
 15050  			b := dAtA[iNdEx]
 15051  			iNdEx++
 15052  			wire |= uint64(b&0x7F) << shift
 15053  			if b < 0x80 {
 15054  				break
 15055  			}
 15056  		}
 15057  		fieldNum := int32(wire >> 3)
 15058  		wireType := int(wire & 0x7)
 15059  		if wireType == 4 {
 15060  			return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrders: wiretype end group for non-group")
 15061  		}
 15062  		if fieldNum <= 0 {
 15063  			return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrders: illegal tag %d (wire type %d)", fieldNum, wire)
 15064  		}
 15065  		switch fieldNum {
 15066  		case 1:
 15067  			if wireType != 2 {
 15068  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 15069  			}
 15070  			var stringLen uint64
 15071  			for shift := uint(0); ; shift += 7 {
 15072  				if shift >= 64 {
 15073  					return ErrIntOverflowTx
 15074  				}
 15075  				if iNdEx >= l {
 15076  					return io.ErrUnexpectedEOF
 15077  				}
 15078  				b := dAtA[iNdEx]
 15079  				iNdEx++
 15080  				stringLen |= uint64(b&0x7F) << shift
 15081  				if b < 0x80 {
 15082  					break
 15083  				}
 15084  			}
 15085  			intStringLen := int(stringLen)
 15086  			if intStringLen < 0 {
 15087  				return ErrInvalidLengthTx
 15088  			}
 15089  			postIndex := iNdEx + intStringLen
 15090  			if postIndex < 0 {
 15091  				return ErrInvalidLengthTx
 15092  			}
 15093  			if postIndex > l {
 15094  				return io.ErrUnexpectedEOF
 15095  			}
 15096  			m.Sender = string(dAtA[iNdEx:postIndex])
 15097  			iNdEx = postIndex
 15098  		case 2:
 15099  			if wireType != 2 {
 15100  				return fmt.Errorf("proto: wrong wireType = %d for field Orders", wireType)
 15101  			}
 15102  			var msglen int
 15103  			for shift := uint(0); ; shift += 7 {
 15104  				if shift >= 64 {
 15105  					return ErrIntOverflowTx
 15106  				}
 15107  				if iNdEx >= l {
 15108  					return io.ErrUnexpectedEOF
 15109  				}
 15110  				b := dAtA[iNdEx]
 15111  				iNdEx++
 15112  				msglen |= int(b&0x7F) << shift
 15113  				if b < 0x80 {
 15114  					break
 15115  				}
 15116  			}
 15117  			if msglen < 0 {
 15118  				return ErrInvalidLengthTx
 15119  			}
 15120  			postIndex := iNdEx + msglen
 15121  			if postIndex < 0 {
 15122  				return ErrInvalidLengthTx
 15123  			}
 15124  			if postIndex > l {
 15125  				return io.ErrUnexpectedEOF
 15126  			}
 15127  			m.Orders = append(m.Orders, DerivativeOrder{})
 15128  			if err := m.Orders[len(m.Orders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15129  				return err
 15130  			}
 15131  			iNdEx = postIndex
 15132  		default:
 15133  			iNdEx = preIndex
 15134  			skippy, err := skipTx(dAtA[iNdEx:])
 15135  			if err != nil {
 15136  				return err
 15137  			}
 15138  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15139  				return ErrInvalidLengthTx
 15140  			}
 15141  			if (iNdEx + skippy) > l {
 15142  				return io.ErrUnexpectedEOF
 15143  			}
 15144  			iNdEx += skippy
 15145  		}
 15146  	}
 15147  
 15148  	if iNdEx > l {
 15149  		return io.ErrUnexpectedEOF
 15150  	}
 15151  	return nil
 15152  }
 15153  func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal(dAtA []byte) error {
 15154  	l := len(dAtA)
 15155  	iNdEx := 0
 15156  	for iNdEx < l {
 15157  		preIndex := iNdEx
 15158  		var wire uint64
 15159  		for shift := uint(0); ; shift += 7 {
 15160  			if shift >= 64 {
 15161  				return ErrIntOverflowTx
 15162  			}
 15163  			if iNdEx >= l {
 15164  				return io.ErrUnexpectedEOF
 15165  			}
 15166  			b := dAtA[iNdEx]
 15167  			iNdEx++
 15168  			wire |= uint64(b&0x7F) << shift
 15169  			if b < 0x80 {
 15170  				break
 15171  			}
 15172  		}
 15173  		fieldNum := int32(wire >> 3)
 15174  		wireType := int(wire & 0x7)
 15175  		if wireType == 4 {
 15176  			return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrdersResponse: wiretype end group for non-group")
 15177  		}
 15178  		if fieldNum <= 0 {
 15179  			return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 15180  		}
 15181  		switch fieldNum {
 15182  		case 1:
 15183  			if wireType != 2 {
 15184  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHashes", wireType)
 15185  			}
 15186  			var stringLen uint64
 15187  			for shift := uint(0); ; shift += 7 {
 15188  				if shift >= 64 {
 15189  					return ErrIntOverflowTx
 15190  				}
 15191  				if iNdEx >= l {
 15192  					return io.ErrUnexpectedEOF
 15193  				}
 15194  				b := dAtA[iNdEx]
 15195  				iNdEx++
 15196  				stringLen |= uint64(b&0x7F) << shift
 15197  				if b < 0x80 {
 15198  					break
 15199  				}
 15200  			}
 15201  			intStringLen := int(stringLen)
 15202  			if intStringLen < 0 {
 15203  				return ErrInvalidLengthTx
 15204  			}
 15205  			postIndex := iNdEx + intStringLen
 15206  			if postIndex < 0 {
 15207  				return ErrInvalidLengthTx
 15208  			}
 15209  			if postIndex > l {
 15210  				return io.ErrUnexpectedEOF
 15211  			}
 15212  			m.OrderHashes = append(m.OrderHashes, string(dAtA[iNdEx:postIndex]))
 15213  			iNdEx = postIndex
 15214  		case 2:
 15215  			if wireType != 2 {
 15216  				return fmt.Errorf("proto: wrong wireType = %d for field CreatedOrdersCids", wireType)
 15217  			}
 15218  			var stringLen uint64
 15219  			for shift := uint(0); ; shift += 7 {
 15220  				if shift >= 64 {
 15221  					return ErrIntOverflowTx
 15222  				}
 15223  				if iNdEx >= l {
 15224  					return io.ErrUnexpectedEOF
 15225  				}
 15226  				b := dAtA[iNdEx]
 15227  				iNdEx++
 15228  				stringLen |= uint64(b&0x7F) << shift
 15229  				if b < 0x80 {
 15230  					break
 15231  				}
 15232  			}
 15233  			intStringLen := int(stringLen)
 15234  			if intStringLen < 0 {
 15235  				return ErrInvalidLengthTx
 15236  			}
 15237  			postIndex := iNdEx + intStringLen
 15238  			if postIndex < 0 {
 15239  				return ErrInvalidLengthTx
 15240  			}
 15241  			if postIndex > l {
 15242  				return io.ErrUnexpectedEOF
 15243  			}
 15244  			m.CreatedOrdersCids = append(m.CreatedOrdersCids, string(dAtA[iNdEx:postIndex]))
 15245  			iNdEx = postIndex
 15246  		case 3:
 15247  			if wireType != 2 {
 15248  				return fmt.Errorf("proto: wrong wireType = %d for field FailedOrdersCids", wireType)
 15249  			}
 15250  			var stringLen uint64
 15251  			for shift := uint(0); ; shift += 7 {
 15252  				if shift >= 64 {
 15253  					return ErrIntOverflowTx
 15254  				}
 15255  				if iNdEx >= l {
 15256  					return io.ErrUnexpectedEOF
 15257  				}
 15258  				b := dAtA[iNdEx]
 15259  				iNdEx++
 15260  				stringLen |= uint64(b&0x7F) << shift
 15261  				if b < 0x80 {
 15262  					break
 15263  				}
 15264  			}
 15265  			intStringLen := int(stringLen)
 15266  			if intStringLen < 0 {
 15267  				return ErrInvalidLengthTx
 15268  			}
 15269  			postIndex := iNdEx + intStringLen
 15270  			if postIndex < 0 {
 15271  				return ErrInvalidLengthTx
 15272  			}
 15273  			if postIndex > l {
 15274  				return io.ErrUnexpectedEOF
 15275  			}
 15276  			m.FailedOrdersCids = append(m.FailedOrdersCids, string(dAtA[iNdEx:postIndex]))
 15277  			iNdEx = postIndex
 15278  		default:
 15279  			iNdEx = preIndex
 15280  			skippy, err := skipTx(dAtA[iNdEx:])
 15281  			if err != nil {
 15282  				return err
 15283  			}
 15284  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15285  				return ErrInvalidLengthTx
 15286  			}
 15287  			if (iNdEx + skippy) > l {
 15288  				return io.ErrUnexpectedEOF
 15289  			}
 15290  			iNdEx += skippy
 15291  		}
 15292  	}
 15293  
 15294  	if iNdEx > l {
 15295  		return io.ErrUnexpectedEOF
 15296  	}
 15297  	return nil
 15298  }
 15299  func (m *MsgCancelSpotOrder) Unmarshal(dAtA []byte) error {
 15300  	l := len(dAtA)
 15301  	iNdEx := 0
 15302  	for iNdEx < l {
 15303  		preIndex := iNdEx
 15304  		var wire uint64
 15305  		for shift := uint(0); ; shift += 7 {
 15306  			if shift >= 64 {
 15307  				return ErrIntOverflowTx
 15308  			}
 15309  			if iNdEx >= l {
 15310  				return io.ErrUnexpectedEOF
 15311  			}
 15312  			b := dAtA[iNdEx]
 15313  			iNdEx++
 15314  			wire |= uint64(b&0x7F) << shift
 15315  			if b < 0x80 {
 15316  				break
 15317  			}
 15318  		}
 15319  		fieldNum := int32(wire >> 3)
 15320  		wireType := int(wire & 0x7)
 15321  		if wireType == 4 {
 15322  			return fmt.Errorf("proto: MsgCancelSpotOrder: wiretype end group for non-group")
 15323  		}
 15324  		if fieldNum <= 0 {
 15325  			return fmt.Errorf("proto: MsgCancelSpotOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 15326  		}
 15327  		switch fieldNum {
 15328  		case 1:
 15329  			if wireType != 2 {
 15330  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 15331  			}
 15332  			var stringLen uint64
 15333  			for shift := uint(0); ; shift += 7 {
 15334  				if shift >= 64 {
 15335  					return ErrIntOverflowTx
 15336  				}
 15337  				if iNdEx >= l {
 15338  					return io.ErrUnexpectedEOF
 15339  				}
 15340  				b := dAtA[iNdEx]
 15341  				iNdEx++
 15342  				stringLen |= uint64(b&0x7F) << shift
 15343  				if b < 0x80 {
 15344  					break
 15345  				}
 15346  			}
 15347  			intStringLen := int(stringLen)
 15348  			if intStringLen < 0 {
 15349  				return ErrInvalidLengthTx
 15350  			}
 15351  			postIndex := iNdEx + intStringLen
 15352  			if postIndex < 0 {
 15353  				return ErrInvalidLengthTx
 15354  			}
 15355  			if postIndex > l {
 15356  				return io.ErrUnexpectedEOF
 15357  			}
 15358  			m.Sender = string(dAtA[iNdEx:postIndex])
 15359  			iNdEx = postIndex
 15360  		case 2:
 15361  			if wireType != 2 {
 15362  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 15363  			}
 15364  			var stringLen uint64
 15365  			for shift := uint(0); ; shift += 7 {
 15366  				if shift >= 64 {
 15367  					return ErrIntOverflowTx
 15368  				}
 15369  				if iNdEx >= l {
 15370  					return io.ErrUnexpectedEOF
 15371  				}
 15372  				b := dAtA[iNdEx]
 15373  				iNdEx++
 15374  				stringLen |= uint64(b&0x7F) << shift
 15375  				if b < 0x80 {
 15376  					break
 15377  				}
 15378  			}
 15379  			intStringLen := int(stringLen)
 15380  			if intStringLen < 0 {
 15381  				return ErrInvalidLengthTx
 15382  			}
 15383  			postIndex := iNdEx + intStringLen
 15384  			if postIndex < 0 {
 15385  				return ErrInvalidLengthTx
 15386  			}
 15387  			if postIndex > l {
 15388  				return io.ErrUnexpectedEOF
 15389  			}
 15390  			m.MarketId = string(dAtA[iNdEx:postIndex])
 15391  			iNdEx = postIndex
 15392  		case 3:
 15393  			if wireType != 2 {
 15394  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 15395  			}
 15396  			var stringLen uint64
 15397  			for shift := uint(0); ; shift += 7 {
 15398  				if shift >= 64 {
 15399  					return ErrIntOverflowTx
 15400  				}
 15401  				if iNdEx >= l {
 15402  					return io.ErrUnexpectedEOF
 15403  				}
 15404  				b := dAtA[iNdEx]
 15405  				iNdEx++
 15406  				stringLen |= uint64(b&0x7F) << shift
 15407  				if b < 0x80 {
 15408  					break
 15409  				}
 15410  			}
 15411  			intStringLen := int(stringLen)
 15412  			if intStringLen < 0 {
 15413  				return ErrInvalidLengthTx
 15414  			}
 15415  			postIndex := iNdEx + intStringLen
 15416  			if postIndex < 0 {
 15417  				return ErrInvalidLengthTx
 15418  			}
 15419  			if postIndex > l {
 15420  				return io.ErrUnexpectedEOF
 15421  			}
 15422  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 15423  			iNdEx = postIndex
 15424  		case 4:
 15425  			if wireType != 2 {
 15426  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 15427  			}
 15428  			var stringLen uint64
 15429  			for shift := uint(0); ; shift += 7 {
 15430  				if shift >= 64 {
 15431  					return ErrIntOverflowTx
 15432  				}
 15433  				if iNdEx >= l {
 15434  					return io.ErrUnexpectedEOF
 15435  				}
 15436  				b := dAtA[iNdEx]
 15437  				iNdEx++
 15438  				stringLen |= uint64(b&0x7F) << shift
 15439  				if b < 0x80 {
 15440  					break
 15441  				}
 15442  			}
 15443  			intStringLen := int(stringLen)
 15444  			if intStringLen < 0 {
 15445  				return ErrInvalidLengthTx
 15446  			}
 15447  			postIndex := iNdEx + intStringLen
 15448  			if postIndex < 0 {
 15449  				return ErrInvalidLengthTx
 15450  			}
 15451  			if postIndex > l {
 15452  				return io.ErrUnexpectedEOF
 15453  			}
 15454  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 15455  			iNdEx = postIndex
 15456  		case 5:
 15457  			if wireType != 2 {
 15458  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 15459  			}
 15460  			var stringLen uint64
 15461  			for shift := uint(0); ; shift += 7 {
 15462  				if shift >= 64 {
 15463  					return ErrIntOverflowTx
 15464  				}
 15465  				if iNdEx >= l {
 15466  					return io.ErrUnexpectedEOF
 15467  				}
 15468  				b := dAtA[iNdEx]
 15469  				iNdEx++
 15470  				stringLen |= uint64(b&0x7F) << shift
 15471  				if b < 0x80 {
 15472  					break
 15473  				}
 15474  			}
 15475  			intStringLen := int(stringLen)
 15476  			if intStringLen < 0 {
 15477  				return ErrInvalidLengthTx
 15478  			}
 15479  			postIndex := iNdEx + intStringLen
 15480  			if postIndex < 0 {
 15481  				return ErrInvalidLengthTx
 15482  			}
 15483  			if postIndex > l {
 15484  				return io.ErrUnexpectedEOF
 15485  			}
 15486  			m.Cid = string(dAtA[iNdEx:postIndex])
 15487  			iNdEx = postIndex
 15488  		default:
 15489  			iNdEx = preIndex
 15490  			skippy, err := skipTx(dAtA[iNdEx:])
 15491  			if err != nil {
 15492  				return err
 15493  			}
 15494  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15495  				return ErrInvalidLengthTx
 15496  			}
 15497  			if (iNdEx + skippy) > l {
 15498  				return io.ErrUnexpectedEOF
 15499  			}
 15500  			iNdEx += skippy
 15501  		}
 15502  	}
 15503  
 15504  	if iNdEx > l {
 15505  		return io.ErrUnexpectedEOF
 15506  	}
 15507  	return nil
 15508  }
 15509  func (m *MsgCancelSpotOrderResponse) Unmarshal(dAtA []byte) error {
 15510  	l := len(dAtA)
 15511  	iNdEx := 0
 15512  	for iNdEx < l {
 15513  		preIndex := iNdEx
 15514  		var wire uint64
 15515  		for shift := uint(0); ; shift += 7 {
 15516  			if shift >= 64 {
 15517  				return ErrIntOverflowTx
 15518  			}
 15519  			if iNdEx >= l {
 15520  				return io.ErrUnexpectedEOF
 15521  			}
 15522  			b := dAtA[iNdEx]
 15523  			iNdEx++
 15524  			wire |= uint64(b&0x7F) << shift
 15525  			if b < 0x80 {
 15526  				break
 15527  			}
 15528  		}
 15529  		fieldNum := int32(wire >> 3)
 15530  		wireType := int(wire & 0x7)
 15531  		if wireType == 4 {
 15532  			return fmt.Errorf("proto: MsgCancelSpotOrderResponse: wiretype end group for non-group")
 15533  		}
 15534  		if fieldNum <= 0 {
 15535  			return fmt.Errorf("proto: MsgCancelSpotOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 15536  		}
 15537  		switch fieldNum {
 15538  		default:
 15539  			iNdEx = preIndex
 15540  			skippy, err := skipTx(dAtA[iNdEx:])
 15541  			if err != nil {
 15542  				return err
 15543  			}
 15544  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15545  				return ErrInvalidLengthTx
 15546  			}
 15547  			if (iNdEx + skippy) > l {
 15548  				return io.ErrUnexpectedEOF
 15549  			}
 15550  			iNdEx += skippy
 15551  		}
 15552  	}
 15553  
 15554  	if iNdEx > l {
 15555  		return io.ErrUnexpectedEOF
 15556  	}
 15557  	return nil
 15558  }
 15559  func (m *MsgBatchCancelSpotOrders) Unmarshal(dAtA []byte) error {
 15560  	l := len(dAtA)
 15561  	iNdEx := 0
 15562  	for iNdEx < l {
 15563  		preIndex := iNdEx
 15564  		var wire uint64
 15565  		for shift := uint(0); ; shift += 7 {
 15566  			if shift >= 64 {
 15567  				return ErrIntOverflowTx
 15568  			}
 15569  			if iNdEx >= l {
 15570  				return io.ErrUnexpectedEOF
 15571  			}
 15572  			b := dAtA[iNdEx]
 15573  			iNdEx++
 15574  			wire |= uint64(b&0x7F) << shift
 15575  			if b < 0x80 {
 15576  				break
 15577  			}
 15578  		}
 15579  		fieldNum := int32(wire >> 3)
 15580  		wireType := int(wire & 0x7)
 15581  		if wireType == 4 {
 15582  			return fmt.Errorf("proto: MsgBatchCancelSpotOrders: wiretype end group for non-group")
 15583  		}
 15584  		if fieldNum <= 0 {
 15585  			return fmt.Errorf("proto: MsgBatchCancelSpotOrders: illegal tag %d (wire type %d)", fieldNum, wire)
 15586  		}
 15587  		switch fieldNum {
 15588  		case 1:
 15589  			if wireType != 2 {
 15590  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 15591  			}
 15592  			var stringLen uint64
 15593  			for shift := uint(0); ; shift += 7 {
 15594  				if shift >= 64 {
 15595  					return ErrIntOverflowTx
 15596  				}
 15597  				if iNdEx >= l {
 15598  					return io.ErrUnexpectedEOF
 15599  				}
 15600  				b := dAtA[iNdEx]
 15601  				iNdEx++
 15602  				stringLen |= uint64(b&0x7F) << shift
 15603  				if b < 0x80 {
 15604  					break
 15605  				}
 15606  			}
 15607  			intStringLen := int(stringLen)
 15608  			if intStringLen < 0 {
 15609  				return ErrInvalidLengthTx
 15610  			}
 15611  			postIndex := iNdEx + intStringLen
 15612  			if postIndex < 0 {
 15613  				return ErrInvalidLengthTx
 15614  			}
 15615  			if postIndex > l {
 15616  				return io.ErrUnexpectedEOF
 15617  			}
 15618  			m.Sender = string(dAtA[iNdEx:postIndex])
 15619  			iNdEx = postIndex
 15620  		case 2:
 15621  			if wireType != 2 {
 15622  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 15623  			}
 15624  			var msglen int
 15625  			for shift := uint(0); ; shift += 7 {
 15626  				if shift >= 64 {
 15627  					return ErrIntOverflowTx
 15628  				}
 15629  				if iNdEx >= l {
 15630  					return io.ErrUnexpectedEOF
 15631  				}
 15632  				b := dAtA[iNdEx]
 15633  				iNdEx++
 15634  				msglen |= int(b&0x7F) << shift
 15635  				if b < 0x80 {
 15636  					break
 15637  				}
 15638  			}
 15639  			if msglen < 0 {
 15640  				return ErrInvalidLengthTx
 15641  			}
 15642  			postIndex := iNdEx + msglen
 15643  			if postIndex < 0 {
 15644  				return ErrInvalidLengthTx
 15645  			}
 15646  			if postIndex > l {
 15647  				return io.ErrUnexpectedEOF
 15648  			}
 15649  			m.Data = append(m.Data, OrderData{})
 15650  			if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15651  				return err
 15652  			}
 15653  			iNdEx = postIndex
 15654  		default:
 15655  			iNdEx = preIndex
 15656  			skippy, err := skipTx(dAtA[iNdEx:])
 15657  			if err != nil {
 15658  				return err
 15659  			}
 15660  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15661  				return ErrInvalidLengthTx
 15662  			}
 15663  			if (iNdEx + skippy) > l {
 15664  				return io.ErrUnexpectedEOF
 15665  			}
 15666  			iNdEx += skippy
 15667  		}
 15668  	}
 15669  
 15670  	if iNdEx > l {
 15671  		return io.ErrUnexpectedEOF
 15672  	}
 15673  	return nil
 15674  }
 15675  func (m *MsgBatchCancelSpotOrdersResponse) Unmarshal(dAtA []byte) error {
 15676  	l := len(dAtA)
 15677  	iNdEx := 0
 15678  	for iNdEx < l {
 15679  		preIndex := iNdEx
 15680  		var wire uint64
 15681  		for shift := uint(0); ; shift += 7 {
 15682  			if shift >= 64 {
 15683  				return ErrIntOverflowTx
 15684  			}
 15685  			if iNdEx >= l {
 15686  				return io.ErrUnexpectedEOF
 15687  			}
 15688  			b := dAtA[iNdEx]
 15689  			iNdEx++
 15690  			wire |= uint64(b&0x7F) << shift
 15691  			if b < 0x80 {
 15692  				break
 15693  			}
 15694  		}
 15695  		fieldNum := int32(wire >> 3)
 15696  		wireType := int(wire & 0x7)
 15697  		if wireType == 4 {
 15698  			return fmt.Errorf("proto: MsgBatchCancelSpotOrdersResponse: wiretype end group for non-group")
 15699  		}
 15700  		if fieldNum <= 0 {
 15701  			return fmt.Errorf("proto: MsgBatchCancelSpotOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 15702  		}
 15703  		switch fieldNum {
 15704  		case 1:
 15705  			if wireType == 0 {
 15706  				var v int
 15707  				for shift := uint(0); ; shift += 7 {
 15708  					if shift >= 64 {
 15709  						return ErrIntOverflowTx
 15710  					}
 15711  					if iNdEx >= l {
 15712  						return io.ErrUnexpectedEOF
 15713  					}
 15714  					b := dAtA[iNdEx]
 15715  					iNdEx++
 15716  					v |= int(b&0x7F) << shift
 15717  					if b < 0x80 {
 15718  						break
 15719  					}
 15720  				}
 15721  				m.Success = append(m.Success, bool(v != 0))
 15722  			} else if wireType == 2 {
 15723  				var packedLen int
 15724  				for shift := uint(0); ; shift += 7 {
 15725  					if shift >= 64 {
 15726  						return ErrIntOverflowTx
 15727  					}
 15728  					if iNdEx >= l {
 15729  						return io.ErrUnexpectedEOF
 15730  					}
 15731  					b := dAtA[iNdEx]
 15732  					iNdEx++
 15733  					packedLen |= int(b&0x7F) << shift
 15734  					if b < 0x80 {
 15735  						break
 15736  					}
 15737  				}
 15738  				if packedLen < 0 {
 15739  					return ErrInvalidLengthTx
 15740  				}
 15741  				postIndex := iNdEx + packedLen
 15742  				if postIndex < 0 {
 15743  					return ErrInvalidLengthTx
 15744  				}
 15745  				if postIndex > l {
 15746  					return io.ErrUnexpectedEOF
 15747  				}
 15748  				var elementCount int
 15749  				elementCount = packedLen
 15750  				if elementCount != 0 && len(m.Success) == 0 {
 15751  					m.Success = make([]bool, 0, elementCount)
 15752  				}
 15753  				for iNdEx < postIndex {
 15754  					var v int
 15755  					for shift := uint(0); ; shift += 7 {
 15756  						if shift >= 64 {
 15757  							return ErrIntOverflowTx
 15758  						}
 15759  						if iNdEx >= l {
 15760  							return io.ErrUnexpectedEOF
 15761  						}
 15762  						b := dAtA[iNdEx]
 15763  						iNdEx++
 15764  						v |= int(b&0x7F) << shift
 15765  						if b < 0x80 {
 15766  							break
 15767  						}
 15768  					}
 15769  					m.Success = append(m.Success, bool(v != 0))
 15770  				}
 15771  			} else {
 15772  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
 15773  			}
 15774  		default:
 15775  			iNdEx = preIndex
 15776  			skippy, err := skipTx(dAtA[iNdEx:])
 15777  			if err != nil {
 15778  				return err
 15779  			}
 15780  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15781  				return ErrInvalidLengthTx
 15782  			}
 15783  			if (iNdEx + skippy) > l {
 15784  				return io.ErrUnexpectedEOF
 15785  			}
 15786  			iNdEx += skippy
 15787  		}
 15788  	}
 15789  
 15790  	if iNdEx > l {
 15791  		return io.ErrUnexpectedEOF
 15792  	}
 15793  	return nil
 15794  }
 15795  func (m *MsgBatchCancelBinaryOptionsOrders) Unmarshal(dAtA []byte) error {
 15796  	l := len(dAtA)
 15797  	iNdEx := 0
 15798  	for iNdEx < l {
 15799  		preIndex := iNdEx
 15800  		var wire uint64
 15801  		for shift := uint(0); ; shift += 7 {
 15802  			if shift >= 64 {
 15803  				return ErrIntOverflowTx
 15804  			}
 15805  			if iNdEx >= l {
 15806  				return io.ErrUnexpectedEOF
 15807  			}
 15808  			b := dAtA[iNdEx]
 15809  			iNdEx++
 15810  			wire |= uint64(b&0x7F) << shift
 15811  			if b < 0x80 {
 15812  				break
 15813  			}
 15814  		}
 15815  		fieldNum := int32(wire >> 3)
 15816  		wireType := int(wire & 0x7)
 15817  		if wireType == 4 {
 15818  			return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrders: wiretype end group for non-group")
 15819  		}
 15820  		if fieldNum <= 0 {
 15821  			return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrders: illegal tag %d (wire type %d)", fieldNum, wire)
 15822  		}
 15823  		switch fieldNum {
 15824  		case 1:
 15825  			if wireType != 2 {
 15826  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 15827  			}
 15828  			var stringLen uint64
 15829  			for shift := uint(0); ; shift += 7 {
 15830  				if shift >= 64 {
 15831  					return ErrIntOverflowTx
 15832  				}
 15833  				if iNdEx >= l {
 15834  					return io.ErrUnexpectedEOF
 15835  				}
 15836  				b := dAtA[iNdEx]
 15837  				iNdEx++
 15838  				stringLen |= uint64(b&0x7F) << shift
 15839  				if b < 0x80 {
 15840  					break
 15841  				}
 15842  			}
 15843  			intStringLen := int(stringLen)
 15844  			if intStringLen < 0 {
 15845  				return ErrInvalidLengthTx
 15846  			}
 15847  			postIndex := iNdEx + intStringLen
 15848  			if postIndex < 0 {
 15849  				return ErrInvalidLengthTx
 15850  			}
 15851  			if postIndex > l {
 15852  				return io.ErrUnexpectedEOF
 15853  			}
 15854  			m.Sender = string(dAtA[iNdEx:postIndex])
 15855  			iNdEx = postIndex
 15856  		case 2:
 15857  			if wireType != 2 {
 15858  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 15859  			}
 15860  			var msglen int
 15861  			for shift := uint(0); ; shift += 7 {
 15862  				if shift >= 64 {
 15863  					return ErrIntOverflowTx
 15864  				}
 15865  				if iNdEx >= l {
 15866  					return io.ErrUnexpectedEOF
 15867  				}
 15868  				b := dAtA[iNdEx]
 15869  				iNdEx++
 15870  				msglen |= int(b&0x7F) << shift
 15871  				if b < 0x80 {
 15872  					break
 15873  				}
 15874  			}
 15875  			if msglen < 0 {
 15876  				return ErrInvalidLengthTx
 15877  			}
 15878  			postIndex := iNdEx + msglen
 15879  			if postIndex < 0 {
 15880  				return ErrInvalidLengthTx
 15881  			}
 15882  			if postIndex > l {
 15883  				return io.ErrUnexpectedEOF
 15884  			}
 15885  			m.Data = append(m.Data, OrderData{})
 15886  			if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15887  				return err
 15888  			}
 15889  			iNdEx = postIndex
 15890  		default:
 15891  			iNdEx = preIndex
 15892  			skippy, err := skipTx(dAtA[iNdEx:])
 15893  			if err != nil {
 15894  				return err
 15895  			}
 15896  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15897  				return ErrInvalidLengthTx
 15898  			}
 15899  			if (iNdEx + skippy) > l {
 15900  				return io.ErrUnexpectedEOF
 15901  			}
 15902  			iNdEx += skippy
 15903  		}
 15904  	}
 15905  
 15906  	if iNdEx > l {
 15907  		return io.ErrUnexpectedEOF
 15908  	}
 15909  	return nil
 15910  }
 15911  func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Unmarshal(dAtA []byte) error {
 15912  	l := len(dAtA)
 15913  	iNdEx := 0
 15914  	for iNdEx < l {
 15915  		preIndex := iNdEx
 15916  		var wire uint64
 15917  		for shift := uint(0); ; shift += 7 {
 15918  			if shift >= 64 {
 15919  				return ErrIntOverflowTx
 15920  			}
 15921  			if iNdEx >= l {
 15922  				return io.ErrUnexpectedEOF
 15923  			}
 15924  			b := dAtA[iNdEx]
 15925  			iNdEx++
 15926  			wire |= uint64(b&0x7F) << shift
 15927  			if b < 0x80 {
 15928  				break
 15929  			}
 15930  		}
 15931  		fieldNum := int32(wire >> 3)
 15932  		wireType := int(wire & 0x7)
 15933  		if wireType == 4 {
 15934  			return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrdersResponse: wiretype end group for non-group")
 15935  		}
 15936  		if fieldNum <= 0 {
 15937  			return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 15938  		}
 15939  		switch fieldNum {
 15940  		case 1:
 15941  			if wireType == 0 {
 15942  				var v int
 15943  				for shift := uint(0); ; shift += 7 {
 15944  					if shift >= 64 {
 15945  						return ErrIntOverflowTx
 15946  					}
 15947  					if iNdEx >= l {
 15948  						return io.ErrUnexpectedEOF
 15949  					}
 15950  					b := dAtA[iNdEx]
 15951  					iNdEx++
 15952  					v |= int(b&0x7F) << shift
 15953  					if b < 0x80 {
 15954  						break
 15955  					}
 15956  				}
 15957  				m.Success = append(m.Success, bool(v != 0))
 15958  			} else if wireType == 2 {
 15959  				var packedLen int
 15960  				for shift := uint(0); ; shift += 7 {
 15961  					if shift >= 64 {
 15962  						return ErrIntOverflowTx
 15963  					}
 15964  					if iNdEx >= l {
 15965  						return io.ErrUnexpectedEOF
 15966  					}
 15967  					b := dAtA[iNdEx]
 15968  					iNdEx++
 15969  					packedLen |= int(b&0x7F) << shift
 15970  					if b < 0x80 {
 15971  						break
 15972  					}
 15973  				}
 15974  				if packedLen < 0 {
 15975  					return ErrInvalidLengthTx
 15976  				}
 15977  				postIndex := iNdEx + packedLen
 15978  				if postIndex < 0 {
 15979  					return ErrInvalidLengthTx
 15980  				}
 15981  				if postIndex > l {
 15982  					return io.ErrUnexpectedEOF
 15983  				}
 15984  				var elementCount int
 15985  				elementCount = packedLen
 15986  				if elementCount != 0 && len(m.Success) == 0 {
 15987  					m.Success = make([]bool, 0, elementCount)
 15988  				}
 15989  				for iNdEx < postIndex {
 15990  					var v int
 15991  					for shift := uint(0); ; shift += 7 {
 15992  						if shift >= 64 {
 15993  							return ErrIntOverflowTx
 15994  						}
 15995  						if iNdEx >= l {
 15996  							return io.ErrUnexpectedEOF
 15997  						}
 15998  						b := dAtA[iNdEx]
 15999  						iNdEx++
 16000  						v |= int(b&0x7F) << shift
 16001  						if b < 0x80 {
 16002  							break
 16003  						}
 16004  					}
 16005  					m.Success = append(m.Success, bool(v != 0))
 16006  				}
 16007  			} else {
 16008  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
 16009  			}
 16010  		default:
 16011  			iNdEx = preIndex
 16012  			skippy, err := skipTx(dAtA[iNdEx:])
 16013  			if err != nil {
 16014  				return err
 16015  			}
 16016  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16017  				return ErrInvalidLengthTx
 16018  			}
 16019  			if (iNdEx + skippy) > l {
 16020  				return io.ErrUnexpectedEOF
 16021  			}
 16022  			iNdEx += skippy
 16023  		}
 16024  	}
 16025  
 16026  	if iNdEx > l {
 16027  		return io.ErrUnexpectedEOF
 16028  	}
 16029  	return nil
 16030  }
 16031  func (m *MsgBatchUpdateOrders) Unmarshal(dAtA []byte) error {
 16032  	l := len(dAtA)
 16033  	iNdEx := 0
 16034  	for iNdEx < l {
 16035  		preIndex := iNdEx
 16036  		var wire uint64
 16037  		for shift := uint(0); ; shift += 7 {
 16038  			if shift >= 64 {
 16039  				return ErrIntOverflowTx
 16040  			}
 16041  			if iNdEx >= l {
 16042  				return io.ErrUnexpectedEOF
 16043  			}
 16044  			b := dAtA[iNdEx]
 16045  			iNdEx++
 16046  			wire |= uint64(b&0x7F) << shift
 16047  			if b < 0x80 {
 16048  				break
 16049  			}
 16050  		}
 16051  		fieldNum := int32(wire >> 3)
 16052  		wireType := int(wire & 0x7)
 16053  		if wireType == 4 {
 16054  			return fmt.Errorf("proto: MsgBatchUpdateOrders: wiretype end group for non-group")
 16055  		}
 16056  		if fieldNum <= 0 {
 16057  			return fmt.Errorf("proto: MsgBatchUpdateOrders: illegal tag %d (wire type %d)", fieldNum, wire)
 16058  		}
 16059  		switch fieldNum {
 16060  		case 1:
 16061  			if wireType != 2 {
 16062  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 16063  			}
 16064  			var stringLen uint64
 16065  			for shift := uint(0); ; shift += 7 {
 16066  				if shift >= 64 {
 16067  					return ErrIntOverflowTx
 16068  				}
 16069  				if iNdEx >= l {
 16070  					return io.ErrUnexpectedEOF
 16071  				}
 16072  				b := dAtA[iNdEx]
 16073  				iNdEx++
 16074  				stringLen |= uint64(b&0x7F) << shift
 16075  				if b < 0x80 {
 16076  					break
 16077  				}
 16078  			}
 16079  			intStringLen := int(stringLen)
 16080  			if intStringLen < 0 {
 16081  				return ErrInvalidLengthTx
 16082  			}
 16083  			postIndex := iNdEx + intStringLen
 16084  			if postIndex < 0 {
 16085  				return ErrInvalidLengthTx
 16086  			}
 16087  			if postIndex > l {
 16088  				return io.ErrUnexpectedEOF
 16089  			}
 16090  			m.Sender = string(dAtA[iNdEx:postIndex])
 16091  			iNdEx = postIndex
 16092  		case 2:
 16093  			if wireType != 2 {
 16094  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 16095  			}
 16096  			var stringLen uint64
 16097  			for shift := uint(0); ; shift += 7 {
 16098  				if shift >= 64 {
 16099  					return ErrIntOverflowTx
 16100  				}
 16101  				if iNdEx >= l {
 16102  					return io.ErrUnexpectedEOF
 16103  				}
 16104  				b := dAtA[iNdEx]
 16105  				iNdEx++
 16106  				stringLen |= uint64(b&0x7F) << shift
 16107  				if b < 0x80 {
 16108  					break
 16109  				}
 16110  			}
 16111  			intStringLen := int(stringLen)
 16112  			if intStringLen < 0 {
 16113  				return ErrInvalidLengthTx
 16114  			}
 16115  			postIndex := iNdEx + intStringLen
 16116  			if postIndex < 0 {
 16117  				return ErrInvalidLengthTx
 16118  			}
 16119  			if postIndex > l {
 16120  				return io.ErrUnexpectedEOF
 16121  			}
 16122  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 16123  			iNdEx = postIndex
 16124  		case 3:
 16125  			if wireType != 2 {
 16126  				return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketIdsToCancelAll", wireType)
 16127  			}
 16128  			var stringLen uint64
 16129  			for shift := uint(0); ; shift += 7 {
 16130  				if shift >= 64 {
 16131  					return ErrIntOverflowTx
 16132  				}
 16133  				if iNdEx >= l {
 16134  					return io.ErrUnexpectedEOF
 16135  				}
 16136  				b := dAtA[iNdEx]
 16137  				iNdEx++
 16138  				stringLen |= uint64(b&0x7F) << shift
 16139  				if b < 0x80 {
 16140  					break
 16141  				}
 16142  			}
 16143  			intStringLen := int(stringLen)
 16144  			if intStringLen < 0 {
 16145  				return ErrInvalidLengthTx
 16146  			}
 16147  			postIndex := iNdEx + intStringLen
 16148  			if postIndex < 0 {
 16149  				return ErrInvalidLengthTx
 16150  			}
 16151  			if postIndex > l {
 16152  				return io.ErrUnexpectedEOF
 16153  			}
 16154  			m.SpotMarketIdsToCancelAll = append(m.SpotMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
 16155  			iNdEx = postIndex
 16156  		case 4:
 16157  			if wireType != 2 {
 16158  				return fmt.Errorf("proto: wrong wireType = %d for field DerivativeMarketIdsToCancelAll", wireType)
 16159  			}
 16160  			var stringLen uint64
 16161  			for shift := uint(0); ; shift += 7 {
 16162  				if shift >= 64 {
 16163  					return ErrIntOverflowTx
 16164  				}
 16165  				if iNdEx >= l {
 16166  					return io.ErrUnexpectedEOF
 16167  				}
 16168  				b := dAtA[iNdEx]
 16169  				iNdEx++
 16170  				stringLen |= uint64(b&0x7F) << shift
 16171  				if b < 0x80 {
 16172  					break
 16173  				}
 16174  			}
 16175  			intStringLen := int(stringLen)
 16176  			if intStringLen < 0 {
 16177  				return ErrInvalidLengthTx
 16178  			}
 16179  			postIndex := iNdEx + intStringLen
 16180  			if postIndex < 0 {
 16181  				return ErrInvalidLengthTx
 16182  			}
 16183  			if postIndex > l {
 16184  				return io.ErrUnexpectedEOF
 16185  			}
 16186  			m.DerivativeMarketIdsToCancelAll = append(m.DerivativeMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
 16187  			iNdEx = postIndex
 16188  		case 5:
 16189  			if wireType != 2 {
 16190  				return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCancel", wireType)
 16191  			}
 16192  			var msglen int
 16193  			for shift := uint(0); ; shift += 7 {
 16194  				if shift >= 64 {
 16195  					return ErrIntOverflowTx
 16196  				}
 16197  				if iNdEx >= l {
 16198  					return io.ErrUnexpectedEOF
 16199  				}
 16200  				b := dAtA[iNdEx]
 16201  				iNdEx++
 16202  				msglen |= int(b&0x7F) << shift
 16203  				if b < 0x80 {
 16204  					break
 16205  				}
 16206  			}
 16207  			if msglen < 0 {
 16208  				return ErrInvalidLengthTx
 16209  			}
 16210  			postIndex := iNdEx + msglen
 16211  			if postIndex < 0 {
 16212  				return ErrInvalidLengthTx
 16213  			}
 16214  			if postIndex > l {
 16215  				return io.ErrUnexpectedEOF
 16216  			}
 16217  			m.SpotOrdersToCancel = append(m.SpotOrdersToCancel, &OrderData{})
 16218  			if err := m.SpotOrdersToCancel[len(m.SpotOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16219  				return err
 16220  			}
 16221  			iNdEx = postIndex
 16222  		case 6:
 16223  			if wireType != 2 {
 16224  				return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCancel", wireType)
 16225  			}
 16226  			var msglen int
 16227  			for shift := uint(0); ; shift += 7 {
 16228  				if shift >= 64 {
 16229  					return ErrIntOverflowTx
 16230  				}
 16231  				if iNdEx >= l {
 16232  					return io.ErrUnexpectedEOF
 16233  				}
 16234  				b := dAtA[iNdEx]
 16235  				iNdEx++
 16236  				msglen |= int(b&0x7F) << shift
 16237  				if b < 0x80 {
 16238  					break
 16239  				}
 16240  			}
 16241  			if msglen < 0 {
 16242  				return ErrInvalidLengthTx
 16243  			}
 16244  			postIndex := iNdEx + msglen
 16245  			if postIndex < 0 {
 16246  				return ErrInvalidLengthTx
 16247  			}
 16248  			if postIndex > l {
 16249  				return io.ErrUnexpectedEOF
 16250  			}
 16251  			m.DerivativeOrdersToCancel = append(m.DerivativeOrdersToCancel, &OrderData{})
 16252  			if err := m.DerivativeOrdersToCancel[len(m.DerivativeOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16253  				return err
 16254  			}
 16255  			iNdEx = postIndex
 16256  		case 7:
 16257  			if wireType != 2 {
 16258  				return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCreate", wireType)
 16259  			}
 16260  			var msglen int
 16261  			for shift := uint(0); ; shift += 7 {
 16262  				if shift >= 64 {
 16263  					return ErrIntOverflowTx
 16264  				}
 16265  				if iNdEx >= l {
 16266  					return io.ErrUnexpectedEOF
 16267  				}
 16268  				b := dAtA[iNdEx]
 16269  				iNdEx++
 16270  				msglen |= int(b&0x7F) << shift
 16271  				if b < 0x80 {
 16272  					break
 16273  				}
 16274  			}
 16275  			if msglen < 0 {
 16276  				return ErrInvalidLengthTx
 16277  			}
 16278  			postIndex := iNdEx + msglen
 16279  			if postIndex < 0 {
 16280  				return ErrInvalidLengthTx
 16281  			}
 16282  			if postIndex > l {
 16283  				return io.ErrUnexpectedEOF
 16284  			}
 16285  			m.SpotOrdersToCreate = append(m.SpotOrdersToCreate, &SpotOrder{})
 16286  			if err := m.SpotOrdersToCreate[len(m.SpotOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16287  				return err
 16288  			}
 16289  			iNdEx = postIndex
 16290  		case 8:
 16291  			if wireType != 2 {
 16292  				return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCreate", wireType)
 16293  			}
 16294  			var msglen int
 16295  			for shift := uint(0); ; shift += 7 {
 16296  				if shift >= 64 {
 16297  					return ErrIntOverflowTx
 16298  				}
 16299  				if iNdEx >= l {
 16300  					return io.ErrUnexpectedEOF
 16301  				}
 16302  				b := dAtA[iNdEx]
 16303  				iNdEx++
 16304  				msglen |= int(b&0x7F) << shift
 16305  				if b < 0x80 {
 16306  					break
 16307  				}
 16308  			}
 16309  			if msglen < 0 {
 16310  				return ErrInvalidLengthTx
 16311  			}
 16312  			postIndex := iNdEx + msglen
 16313  			if postIndex < 0 {
 16314  				return ErrInvalidLengthTx
 16315  			}
 16316  			if postIndex > l {
 16317  				return io.ErrUnexpectedEOF
 16318  			}
 16319  			m.DerivativeOrdersToCreate = append(m.DerivativeOrdersToCreate, &DerivativeOrder{})
 16320  			if err := m.DerivativeOrdersToCreate[len(m.DerivativeOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16321  				return err
 16322  			}
 16323  			iNdEx = postIndex
 16324  		case 9:
 16325  			if wireType != 2 {
 16326  				return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrdersToCancel", wireType)
 16327  			}
 16328  			var msglen int
 16329  			for shift := uint(0); ; shift += 7 {
 16330  				if shift >= 64 {
 16331  					return ErrIntOverflowTx
 16332  				}
 16333  				if iNdEx >= l {
 16334  					return io.ErrUnexpectedEOF
 16335  				}
 16336  				b := dAtA[iNdEx]
 16337  				iNdEx++
 16338  				msglen |= int(b&0x7F) << shift
 16339  				if b < 0x80 {
 16340  					break
 16341  				}
 16342  			}
 16343  			if msglen < 0 {
 16344  				return ErrInvalidLengthTx
 16345  			}
 16346  			postIndex := iNdEx + msglen
 16347  			if postIndex < 0 {
 16348  				return ErrInvalidLengthTx
 16349  			}
 16350  			if postIndex > l {
 16351  				return io.ErrUnexpectedEOF
 16352  			}
 16353  			m.BinaryOptionsOrdersToCancel = append(m.BinaryOptionsOrdersToCancel, &OrderData{})
 16354  			if err := m.BinaryOptionsOrdersToCancel[len(m.BinaryOptionsOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16355  				return err
 16356  			}
 16357  			iNdEx = postIndex
 16358  		case 10:
 16359  			if wireType != 2 {
 16360  				return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsMarketIdsToCancelAll", wireType)
 16361  			}
 16362  			var stringLen uint64
 16363  			for shift := uint(0); ; shift += 7 {
 16364  				if shift >= 64 {
 16365  					return ErrIntOverflowTx
 16366  				}
 16367  				if iNdEx >= l {
 16368  					return io.ErrUnexpectedEOF
 16369  				}
 16370  				b := dAtA[iNdEx]
 16371  				iNdEx++
 16372  				stringLen |= uint64(b&0x7F) << shift
 16373  				if b < 0x80 {
 16374  					break
 16375  				}
 16376  			}
 16377  			intStringLen := int(stringLen)
 16378  			if intStringLen < 0 {
 16379  				return ErrInvalidLengthTx
 16380  			}
 16381  			postIndex := iNdEx + intStringLen
 16382  			if postIndex < 0 {
 16383  				return ErrInvalidLengthTx
 16384  			}
 16385  			if postIndex > l {
 16386  				return io.ErrUnexpectedEOF
 16387  			}
 16388  			m.BinaryOptionsMarketIdsToCancelAll = append(m.BinaryOptionsMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
 16389  			iNdEx = postIndex
 16390  		case 11:
 16391  			if wireType != 2 {
 16392  				return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrdersToCreate", wireType)
 16393  			}
 16394  			var msglen int
 16395  			for shift := uint(0); ; shift += 7 {
 16396  				if shift >= 64 {
 16397  					return ErrIntOverflowTx
 16398  				}
 16399  				if iNdEx >= l {
 16400  					return io.ErrUnexpectedEOF
 16401  				}
 16402  				b := dAtA[iNdEx]
 16403  				iNdEx++
 16404  				msglen |= int(b&0x7F) << shift
 16405  				if b < 0x80 {
 16406  					break
 16407  				}
 16408  			}
 16409  			if msglen < 0 {
 16410  				return ErrInvalidLengthTx
 16411  			}
 16412  			postIndex := iNdEx + msglen
 16413  			if postIndex < 0 {
 16414  				return ErrInvalidLengthTx
 16415  			}
 16416  			if postIndex > l {
 16417  				return io.ErrUnexpectedEOF
 16418  			}
 16419  			m.BinaryOptionsOrdersToCreate = append(m.BinaryOptionsOrdersToCreate, &DerivativeOrder{})
 16420  			if err := m.BinaryOptionsOrdersToCreate[len(m.BinaryOptionsOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16421  				return err
 16422  			}
 16423  			iNdEx = postIndex
 16424  		default:
 16425  			iNdEx = preIndex
 16426  			skippy, err := skipTx(dAtA[iNdEx:])
 16427  			if err != nil {
 16428  				return err
 16429  			}
 16430  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16431  				return ErrInvalidLengthTx
 16432  			}
 16433  			if (iNdEx + skippy) > l {
 16434  				return io.ErrUnexpectedEOF
 16435  			}
 16436  			iNdEx += skippy
 16437  		}
 16438  	}
 16439  
 16440  	if iNdEx > l {
 16441  		return io.ErrUnexpectedEOF
 16442  	}
 16443  	return nil
 16444  }
 16445  func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
 16446  	l := len(dAtA)
 16447  	iNdEx := 0
 16448  	for iNdEx < l {
 16449  		preIndex := iNdEx
 16450  		var wire uint64
 16451  		for shift := uint(0); ; shift += 7 {
 16452  			if shift >= 64 {
 16453  				return ErrIntOverflowTx
 16454  			}
 16455  			if iNdEx >= l {
 16456  				return io.ErrUnexpectedEOF
 16457  			}
 16458  			b := dAtA[iNdEx]
 16459  			iNdEx++
 16460  			wire |= uint64(b&0x7F) << shift
 16461  			if b < 0x80 {
 16462  				break
 16463  			}
 16464  		}
 16465  		fieldNum := int32(wire >> 3)
 16466  		wireType := int(wire & 0x7)
 16467  		if wireType == 4 {
 16468  			return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: wiretype end group for non-group")
 16469  		}
 16470  		if fieldNum <= 0 {
 16471  			return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 16472  		}
 16473  		switch fieldNum {
 16474  		case 1:
 16475  			if wireType == 0 {
 16476  				var v int
 16477  				for shift := uint(0); ; shift += 7 {
 16478  					if shift >= 64 {
 16479  						return ErrIntOverflowTx
 16480  					}
 16481  					if iNdEx >= l {
 16482  						return io.ErrUnexpectedEOF
 16483  					}
 16484  					b := dAtA[iNdEx]
 16485  					iNdEx++
 16486  					v |= int(b&0x7F) << shift
 16487  					if b < 0x80 {
 16488  						break
 16489  					}
 16490  				}
 16491  				m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0))
 16492  			} else if wireType == 2 {
 16493  				var packedLen int
 16494  				for shift := uint(0); ; shift += 7 {
 16495  					if shift >= 64 {
 16496  						return ErrIntOverflowTx
 16497  					}
 16498  					if iNdEx >= l {
 16499  						return io.ErrUnexpectedEOF
 16500  					}
 16501  					b := dAtA[iNdEx]
 16502  					iNdEx++
 16503  					packedLen |= int(b&0x7F) << shift
 16504  					if b < 0x80 {
 16505  						break
 16506  					}
 16507  				}
 16508  				if packedLen < 0 {
 16509  					return ErrInvalidLengthTx
 16510  				}
 16511  				postIndex := iNdEx + packedLen
 16512  				if postIndex < 0 {
 16513  					return ErrInvalidLengthTx
 16514  				}
 16515  				if postIndex > l {
 16516  					return io.ErrUnexpectedEOF
 16517  				}
 16518  				var elementCount int
 16519  				elementCount = packedLen
 16520  				if elementCount != 0 && len(m.SpotCancelSuccess) == 0 {
 16521  					m.SpotCancelSuccess = make([]bool, 0, elementCount)
 16522  				}
 16523  				for iNdEx < postIndex {
 16524  					var v int
 16525  					for shift := uint(0); ; shift += 7 {
 16526  						if shift >= 64 {
 16527  							return ErrIntOverflowTx
 16528  						}
 16529  						if iNdEx >= l {
 16530  							return io.ErrUnexpectedEOF
 16531  						}
 16532  						b := dAtA[iNdEx]
 16533  						iNdEx++
 16534  						v |= int(b&0x7F) << shift
 16535  						if b < 0x80 {
 16536  							break
 16537  						}
 16538  					}
 16539  					m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0))
 16540  				}
 16541  			} else {
 16542  				return fmt.Errorf("proto: wrong wireType = %d for field SpotCancelSuccess", wireType)
 16543  			}
 16544  		case 2:
 16545  			if wireType == 0 {
 16546  				var v int
 16547  				for shift := uint(0); ; shift += 7 {
 16548  					if shift >= 64 {
 16549  						return ErrIntOverflowTx
 16550  					}
 16551  					if iNdEx >= l {
 16552  						return io.ErrUnexpectedEOF
 16553  					}
 16554  					b := dAtA[iNdEx]
 16555  					iNdEx++
 16556  					v |= int(b&0x7F) << shift
 16557  					if b < 0x80 {
 16558  						break
 16559  					}
 16560  				}
 16561  				m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0))
 16562  			} else if wireType == 2 {
 16563  				var packedLen int
 16564  				for shift := uint(0); ; shift += 7 {
 16565  					if shift >= 64 {
 16566  						return ErrIntOverflowTx
 16567  					}
 16568  					if iNdEx >= l {
 16569  						return io.ErrUnexpectedEOF
 16570  					}
 16571  					b := dAtA[iNdEx]
 16572  					iNdEx++
 16573  					packedLen |= int(b&0x7F) << shift
 16574  					if b < 0x80 {
 16575  						break
 16576  					}
 16577  				}
 16578  				if packedLen < 0 {
 16579  					return ErrInvalidLengthTx
 16580  				}
 16581  				postIndex := iNdEx + packedLen
 16582  				if postIndex < 0 {
 16583  					return ErrInvalidLengthTx
 16584  				}
 16585  				if postIndex > l {
 16586  					return io.ErrUnexpectedEOF
 16587  				}
 16588  				var elementCount int
 16589  				elementCount = packedLen
 16590  				if elementCount != 0 && len(m.DerivativeCancelSuccess) == 0 {
 16591  					m.DerivativeCancelSuccess = make([]bool, 0, elementCount)
 16592  				}
 16593  				for iNdEx < postIndex {
 16594  					var v int
 16595  					for shift := uint(0); ; shift += 7 {
 16596  						if shift >= 64 {
 16597  							return ErrIntOverflowTx
 16598  						}
 16599  						if iNdEx >= l {
 16600  							return io.ErrUnexpectedEOF
 16601  						}
 16602  						b := dAtA[iNdEx]
 16603  						iNdEx++
 16604  						v |= int(b&0x7F) << shift
 16605  						if b < 0x80 {
 16606  							break
 16607  						}
 16608  					}
 16609  					m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0))
 16610  				}
 16611  			} else {
 16612  				return fmt.Errorf("proto: wrong wireType = %d for field DerivativeCancelSuccess", wireType)
 16613  			}
 16614  		case 3:
 16615  			if wireType != 2 {
 16616  				return fmt.Errorf("proto: wrong wireType = %d for field SpotOrderHashes", wireType)
 16617  			}
 16618  			var stringLen uint64
 16619  			for shift := uint(0); ; shift += 7 {
 16620  				if shift >= 64 {
 16621  					return ErrIntOverflowTx
 16622  				}
 16623  				if iNdEx >= l {
 16624  					return io.ErrUnexpectedEOF
 16625  				}
 16626  				b := dAtA[iNdEx]
 16627  				iNdEx++
 16628  				stringLen |= uint64(b&0x7F) << shift
 16629  				if b < 0x80 {
 16630  					break
 16631  				}
 16632  			}
 16633  			intStringLen := int(stringLen)
 16634  			if intStringLen < 0 {
 16635  				return ErrInvalidLengthTx
 16636  			}
 16637  			postIndex := iNdEx + intStringLen
 16638  			if postIndex < 0 {
 16639  				return ErrInvalidLengthTx
 16640  			}
 16641  			if postIndex > l {
 16642  				return io.ErrUnexpectedEOF
 16643  			}
 16644  			m.SpotOrderHashes = append(m.SpotOrderHashes, string(dAtA[iNdEx:postIndex]))
 16645  			iNdEx = postIndex
 16646  		case 4:
 16647  			if wireType != 2 {
 16648  				return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrderHashes", wireType)
 16649  			}
 16650  			var stringLen uint64
 16651  			for shift := uint(0); ; shift += 7 {
 16652  				if shift >= 64 {
 16653  					return ErrIntOverflowTx
 16654  				}
 16655  				if iNdEx >= l {
 16656  					return io.ErrUnexpectedEOF
 16657  				}
 16658  				b := dAtA[iNdEx]
 16659  				iNdEx++
 16660  				stringLen |= uint64(b&0x7F) << shift
 16661  				if b < 0x80 {
 16662  					break
 16663  				}
 16664  			}
 16665  			intStringLen := int(stringLen)
 16666  			if intStringLen < 0 {
 16667  				return ErrInvalidLengthTx
 16668  			}
 16669  			postIndex := iNdEx + intStringLen
 16670  			if postIndex < 0 {
 16671  				return ErrInvalidLengthTx
 16672  			}
 16673  			if postIndex > l {
 16674  				return io.ErrUnexpectedEOF
 16675  			}
 16676  			m.DerivativeOrderHashes = append(m.DerivativeOrderHashes, string(dAtA[iNdEx:postIndex]))
 16677  			iNdEx = postIndex
 16678  		case 5:
 16679  			if wireType == 0 {
 16680  				var v int
 16681  				for shift := uint(0); ; shift += 7 {
 16682  					if shift >= 64 {
 16683  						return ErrIntOverflowTx
 16684  					}
 16685  					if iNdEx >= l {
 16686  						return io.ErrUnexpectedEOF
 16687  					}
 16688  					b := dAtA[iNdEx]
 16689  					iNdEx++
 16690  					v |= int(b&0x7F) << shift
 16691  					if b < 0x80 {
 16692  						break
 16693  					}
 16694  				}
 16695  				m.BinaryOptionsCancelSuccess = append(m.BinaryOptionsCancelSuccess, bool(v != 0))
 16696  			} else if wireType == 2 {
 16697  				var packedLen int
 16698  				for shift := uint(0); ; shift += 7 {
 16699  					if shift >= 64 {
 16700  						return ErrIntOverflowTx
 16701  					}
 16702  					if iNdEx >= l {
 16703  						return io.ErrUnexpectedEOF
 16704  					}
 16705  					b := dAtA[iNdEx]
 16706  					iNdEx++
 16707  					packedLen |= int(b&0x7F) << shift
 16708  					if b < 0x80 {
 16709  						break
 16710  					}
 16711  				}
 16712  				if packedLen < 0 {
 16713  					return ErrInvalidLengthTx
 16714  				}
 16715  				postIndex := iNdEx + packedLen
 16716  				if postIndex < 0 {
 16717  					return ErrInvalidLengthTx
 16718  				}
 16719  				if postIndex > l {
 16720  					return io.ErrUnexpectedEOF
 16721  				}
 16722  				var elementCount int
 16723  				elementCount = packedLen
 16724  				if elementCount != 0 && len(m.BinaryOptionsCancelSuccess) == 0 {
 16725  					m.BinaryOptionsCancelSuccess = make([]bool, 0, elementCount)
 16726  				}
 16727  				for iNdEx < postIndex {
 16728  					var v int
 16729  					for shift := uint(0); ; shift += 7 {
 16730  						if shift >= 64 {
 16731  							return ErrIntOverflowTx
 16732  						}
 16733  						if iNdEx >= l {
 16734  							return io.ErrUnexpectedEOF
 16735  						}
 16736  						b := dAtA[iNdEx]
 16737  						iNdEx++
 16738  						v |= int(b&0x7F) << shift
 16739  						if b < 0x80 {
 16740  							break
 16741  						}
 16742  					}
 16743  					m.BinaryOptionsCancelSuccess = append(m.BinaryOptionsCancelSuccess, bool(v != 0))
 16744  				}
 16745  			} else {
 16746  				return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsCancelSuccess", wireType)
 16747  			}
 16748  		case 6:
 16749  			if wireType != 2 {
 16750  				return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrderHashes", wireType)
 16751  			}
 16752  			var stringLen uint64
 16753  			for shift := uint(0); ; shift += 7 {
 16754  				if shift >= 64 {
 16755  					return ErrIntOverflowTx
 16756  				}
 16757  				if iNdEx >= l {
 16758  					return io.ErrUnexpectedEOF
 16759  				}
 16760  				b := dAtA[iNdEx]
 16761  				iNdEx++
 16762  				stringLen |= uint64(b&0x7F) << shift
 16763  				if b < 0x80 {
 16764  					break
 16765  				}
 16766  			}
 16767  			intStringLen := int(stringLen)
 16768  			if intStringLen < 0 {
 16769  				return ErrInvalidLengthTx
 16770  			}
 16771  			postIndex := iNdEx + intStringLen
 16772  			if postIndex < 0 {
 16773  				return ErrInvalidLengthTx
 16774  			}
 16775  			if postIndex > l {
 16776  				return io.ErrUnexpectedEOF
 16777  			}
 16778  			m.BinaryOptionsOrderHashes = append(m.BinaryOptionsOrderHashes, string(dAtA[iNdEx:postIndex]))
 16779  			iNdEx = postIndex
 16780  		case 7:
 16781  			if wireType != 2 {
 16782  				return fmt.Errorf("proto: wrong wireType = %d for field CreatedSpotOrdersCids", wireType)
 16783  			}
 16784  			var stringLen uint64
 16785  			for shift := uint(0); ; shift += 7 {
 16786  				if shift >= 64 {
 16787  					return ErrIntOverflowTx
 16788  				}
 16789  				if iNdEx >= l {
 16790  					return io.ErrUnexpectedEOF
 16791  				}
 16792  				b := dAtA[iNdEx]
 16793  				iNdEx++
 16794  				stringLen |= uint64(b&0x7F) << shift
 16795  				if b < 0x80 {
 16796  					break
 16797  				}
 16798  			}
 16799  			intStringLen := int(stringLen)
 16800  			if intStringLen < 0 {
 16801  				return ErrInvalidLengthTx
 16802  			}
 16803  			postIndex := iNdEx + intStringLen
 16804  			if postIndex < 0 {
 16805  				return ErrInvalidLengthTx
 16806  			}
 16807  			if postIndex > l {
 16808  				return io.ErrUnexpectedEOF
 16809  			}
 16810  			m.CreatedSpotOrdersCids = append(m.CreatedSpotOrdersCids, string(dAtA[iNdEx:postIndex]))
 16811  			iNdEx = postIndex
 16812  		case 8:
 16813  			if wireType != 2 {
 16814  				return fmt.Errorf("proto: wrong wireType = %d for field FailedSpotOrdersCids", wireType)
 16815  			}
 16816  			var stringLen uint64
 16817  			for shift := uint(0); ; shift += 7 {
 16818  				if shift >= 64 {
 16819  					return ErrIntOverflowTx
 16820  				}
 16821  				if iNdEx >= l {
 16822  					return io.ErrUnexpectedEOF
 16823  				}
 16824  				b := dAtA[iNdEx]
 16825  				iNdEx++
 16826  				stringLen |= uint64(b&0x7F) << shift
 16827  				if b < 0x80 {
 16828  					break
 16829  				}
 16830  			}
 16831  			intStringLen := int(stringLen)
 16832  			if intStringLen < 0 {
 16833  				return ErrInvalidLengthTx
 16834  			}
 16835  			postIndex := iNdEx + intStringLen
 16836  			if postIndex < 0 {
 16837  				return ErrInvalidLengthTx
 16838  			}
 16839  			if postIndex > l {
 16840  				return io.ErrUnexpectedEOF
 16841  			}
 16842  			m.FailedSpotOrdersCids = append(m.FailedSpotOrdersCids, string(dAtA[iNdEx:postIndex]))
 16843  			iNdEx = postIndex
 16844  		case 9:
 16845  			if wireType != 2 {
 16846  				return fmt.Errorf("proto: wrong wireType = %d for field CreatedDerivativeOrdersCids", wireType)
 16847  			}
 16848  			var stringLen uint64
 16849  			for shift := uint(0); ; shift += 7 {
 16850  				if shift >= 64 {
 16851  					return ErrIntOverflowTx
 16852  				}
 16853  				if iNdEx >= l {
 16854  					return io.ErrUnexpectedEOF
 16855  				}
 16856  				b := dAtA[iNdEx]
 16857  				iNdEx++
 16858  				stringLen |= uint64(b&0x7F) << shift
 16859  				if b < 0x80 {
 16860  					break
 16861  				}
 16862  			}
 16863  			intStringLen := int(stringLen)
 16864  			if intStringLen < 0 {
 16865  				return ErrInvalidLengthTx
 16866  			}
 16867  			postIndex := iNdEx + intStringLen
 16868  			if postIndex < 0 {
 16869  				return ErrInvalidLengthTx
 16870  			}
 16871  			if postIndex > l {
 16872  				return io.ErrUnexpectedEOF
 16873  			}
 16874  			m.CreatedDerivativeOrdersCids = append(m.CreatedDerivativeOrdersCids, string(dAtA[iNdEx:postIndex]))
 16875  			iNdEx = postIndex
 16876  		case 10:
 16877  			if wireType != 2 {
 16878  				return fmt.Errorf("proto: wrong wireType = %d for field FailedDerivativeOrdersCids", wireType)
 16879  			}
 16880  			var stringLen uint64
 16881  			for shift := uint(0); ; shift += 7 {
 16882  				if shift >= 64 {
 16883  					return ErrIntOverflowTx
 16884  				}
 16885  				if iNdEx >= l {
 16886  					return io.ErrUnexpectedEOF
 16887  				}
 16888  				b := dAtA[iNdEx]
 16889  				iNdEx++
 16890  				stringLen |= uint64(b&0x7F) << shift
 16891  				if b < 0x80 {
 16892  					break
 16893  				}
 16894  			}
 16895  			intStringLen := int(stringLen)
 16896  			if intStringLen < 0 {
 16897  				return ErrInvalidLengthTx
 16898  			}
 16899  			postIndex := iNdEx + intStringLen
 16900  			if postIndex < 0 {
 16901  				return ErrInvalidLengthTx
 16902  			}
 16903  			if postIndex > l {
 16904  				return io.ErrUnexpectedEOF
 16905  			}
 16906  			m.FailedDerivativeOrdersCids = append(m.FailedDerivativeOrdersCids, string(dAtA[iNdEx:postIndex]))
 16907  			iNdEx = postIndex
 16908  		case 11:
 16909  			if wireType != 2 {
 16910  				return fmt.Errorf("proto: wrong wireType = %d for field CreatedBinaryOptionsOrdersCids", wireType)
 16911  			}
 16912  			var stringLen uint64
 16913  			for shift := uint(0); ; shift += 7 {
 16914  				if shift >= 64 {
 16915  					return ErrIntOverflowTx
 16916  				}
 16917  				if iNdEx >= l {
 16918  					return io.ErrUnexpectedEOF
 16919  				}
 16920  				b := dAtA[iNdEx]
 16921  				iNdEx++
 16922  				stringLen |= uint64(b&0x7F) << shift
 16923  				if b < 0x80 {
 16924  					break
 16925  				}
 16926  			}
 16927  			intStringLen := int(stringLen)
 16928  			if intStringLen < 0 {
 16929  				return ErrInvalidLengthTx
 16930  			}
 16931  			postIndex := iNdEx + intStringLen
 16932  			if postIndex < 0 {
 16933  				return ErrInvalidLengthTx
 16934  			}
 16935  			if postIndex > l {
 16936  				return io.ErrUnexpectedEOF
 16937  			}
 16938  			m.CreatedBinaryOptionsOrdersCids = append(m.CreatedBinaryOptionsOrdersCids, string(dAtA[iNdEx:postIndex]))
 16939  			iNdEx = postIndex
 16940  		case 12:
 16941  			if wireType != 2 {
 16942  				return fmt.Errorf("proto: wrong wireType = %d for field FailedBinaryOptionsOrdersCids", wireType)
 16943  			}
 16944  			var stringLen uint64
 16945  			for shift := uint(0); ; shift += 7 {
 16946  				if shift >= 64 {
 16947  					return ErrIntOverflowTx
 16948  				}
 16949  				if iNdEx >= l {
 16950  					return io.ErrUnexpectedEOF
 16951  				}
 16952  				b := dAtA[iNdEx]
 16953  				iNdEx++
 16954  				stringLen |= uint64(b&0x7F) << shift
 16955  				if b < 0x80 {
 16956  					break
 16957  				}
 16958  			}
 16959  			intStringLen := int(stringLen)
 16960  			if intStringLen < 0 {
 16961  				return ErrInvalidLengthTx
 16962  			}
 16963  			postIndex := iNdEx + intStringLen
 16964  			if postIndex < 0 {
 16965  				return ErrInvalidLengthTx
 16966  			}
 16967  			if postIndex > l {
 16968  				return io.ErrUnexpectedEOF
 16969  			}
 16970  			m.FailedBinaryOptionsOrdersCids = append(m.FailedBinaryOptionsOrdersCids, string(dAtA[iNdEx:postIndex]))
 16971  			iNdEx = postIndex
 16972  		default:
 16973  			iNdEx = preIndex
 16974  			skippy, err := skipTx(dAtA[iNdEx:])
 16975  			if err != nil {
 16976  				return err
 16977  			}
 16978  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16979  				return ErrInvalidLengthTx
 16980  			}
 16981  			if (iNdEx + skippy) > l {
 16982  				return io.ErrUnexpectedEOF
 16983  			}
 16984  			iNdEx += skippy
 16985  		}
 16986  	}
 16987  
 16988  	if iNdEx > l {
 16989  		return io.ErrUnexpectedEOF
 16990  	}
 16991  	return nil
 16992  }
 16993  func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error {
 16994  	l := len(dAtA)
 16995  	iNdEx := 0
 16996  	for iNdEx < l {
 16997  		preIndex := iNdEx
 16998  		var wire uint64
 16999  		for shift := uint(0); ; shift += 7 {
 17000  			if shift >= 64 {
 17001  				return ErrIntOverflowTx
 17002  			}
 17003  			if iNdEx >= l {
 17004  				return io.ErrUnexpectedEOF
 17005  			}
 17006  			b := dAtA[iNdEx]
 17007  			iNdEx++
 17008  			wire |= uint64(b&0x7F) << shift
 17009  			if b < 0x80 {
 17010  				break
 17011  			}
 17012  		}
 17013  		fieldNum := int32(wire >> 3)
 17014  		wireType := int(wire & 0x7)
 17015  		if wireType == 4 {
 17016  			return fmt.Errorf("proto: MsgCreateDerivativeMarketOrder: wiretype end group for non-group")
 17017  		}
 17018  		if fieldNum <= 0 {
 17019  			return fmt.Errorf("proto: MsgCreateDerivativeMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 17020  		}
 17021  		switch fieldNum {
 17022  		case 1:
 17023  			if wireType != 2 {
 17024  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 17025  			}
 17026  			var stringLen uint64
 17027  			for shift := uint(0); ; shift += 7 {
 17028  				if shift >= 64 {
 17029  					return ErrIntOverflowTx
 17030  				}
 17031  				if iNdEx >= l {
 17032  					return io.ErrUnexpectedEOF
 17033  				}
 17034  				b := dAtA[iNdEx]
 17035  				iNdEx++
 17036  				stringLen |= uint64(b&0x7F) << shift
 17037  				if b < 0x80 {
 17038  					break
 17039  				}
 17040  			}
 17041  			intStringLen := int(stringLen)
 17042  			if intStringLen < 0 {
 17043  				return ErrInvalidLengthTx
 17044  			}
 17045  			postIndex := iNdEx + intStringLen
 17046  			if postIndex < 0 {
 17047  				return ErrInvalidLengthTx
 17048  			}
 17049  			if postIndex > l {
 17050  				return io.ErrUnexpectedEOF
 17051  			}
 17052  			m.Sender = string(dAtA[iNdEx:postIndex])
 17053  			iNdEx = postIndex
 17054  		case 2:
 17055  			if wireType != 2 {
 17056  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 17057  			}
 17058  			var msglen int
 17059  			for shift := uint(0); ; shift += 7 {
 17060  				if shift >= 64 {
 17061  					return ErrIntOverflowTx
 17062  				}
 17063  				if iNdEx >= l {
 17064  					return io.ErrUnexpectedEOF
 17065  				}
 17066  				b := dAtA[iNdEx]
 17067  				iNdEx++
 17068  				msglen |= int(b&0x7F) << shift
 17069  				if b < 0x80 {
 17070  					break
 17071  				}
 17072  			}
 17073  			if msglen < 0 {
 17074  				return ErrInvalidLengthTx
 17075  			}
 17076  			postIndex := iNdEx + msglen
 17077  			if postIndex < 0 {
 17078  				return ErrInvalidLengthTx
 17079  			}
 17080  			if postIndex > l {
 17081  				return io.ErrUnexpectedEOF
 17082  			}
 17083  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17084  				return err
 17085  			}
 17086  			iNdEx = postIndex
 17087  		default:
 17088  			iNdEx = preIndex
 17089  			skippy, err := skipTx(dAtA[iNdEx:])
 17090  			if err != nil {
 17091  				return err
 17092  			}
 17093  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17094  				return ErrInvalidLengthTx
 17095  			}
 17096  			if (iNdEx + skippy) > l {
 17097  				return io.ErrUnexpectedEOF
 17098  			}
 17099  			iNdEx += skippy
 17100  		}
 17101  	}
 17102  
 17103  	if iNdEx > l {
 17104  		return io.ErrUnexpectedEOF
 17105  	}
 17106  	return nil
 17107  }
 17108  func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
 17109  	l := len(dAtA)
 17110  	iNdEx := 0
 17111  	for iNdEx < l {
 17112  		preIndex := iNdEx
 17113  		var wire uint64
 17114  		for shift := uint(0); ; shift += 7 {
 17115  			if shift >= 64 {
 17116  				return ErrIntOverflowTx
 17117  			}
 17118  			if iNdEx >= l {
 17119  				return io.ErrUnexpectedEOF
 17120  			}
 17121  			b := dAtA[iNdEx]
 17122  			iNdEx++
 17123  			wire |= uint64(b&0x7F) << shift
 17124  			if b < 0x80 {
 17125  				break
 17126  			}
 17127  		}
 17128  		fieldNum := int32(wire >> 3)
 17129  		wireType := int(wire & 0x7)
 17130  		if wireType == 4 {
 17131  			return fmt.Errorf("proto: MsgCreateDerivativeMarketOrderResponse: wiretype end group for non-group")
 17132  		}
 17133  		if fieldNum <= 0 {
 17134  			return fmt.Errorf("proto: MsgCreateDerivativeMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 17135  		}
 17136  		switch fieldNum {
 17137  		case 1:
 17138  			if wireType != 2 {
 17139  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 17140  			}
 17141  			var stringLen uint64
 17142  			for shift := uint(0); ; shift += 7 {
 17143  				if shift >= 64 {
 17144  					return ErrIntOverflowTx
 17145  				}
 17146  				if iNdEx >= l {
 17147  					return io.ErrUnexpectedEOF
 17148  				}
 17149  				b := dAtA[iNdEx]
 17150  				iNdEx++
 17151  				stringLen |= uint64(b&0x7F) << shift
 17152  				if b < 0x80 {
 17153  					break
 17154  				}
 17155  			}
 17156  			intStringLen := int(stringLen)
 17157  			if intStringLen < 0 {
 17158  				return ErrInvalidLengthTx
 17159  			}
 17160  			postIndex := iNdEx + intStringLen
 17161  			if postIndex < 0 {
 17162  				return ErrInvalidLengthTx
 17163  			}
 17164  			if postIndex > l {
 17165  				return io.ErrUnexpectedEOF
 17166  			}
 17167  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 17168  			iNdEx = postIndex
 17169  		case 2:
 17170  			if wireType != 2 {
 17171  				return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
 17172  			}
 17173  			var msglen int
 17174  			for shift := uint(0); ; shift += 7 {
 17175  				if shift >= 64 {
 17176  					return ErrIntOverflowTx
 17177  				}
 17178  				if iNdEx >= l {
 17179  					return io.ErrUnexpectedEOF
 17180  				}
 17181  				b := dAtA[iNdEx]
 17182  				iNdEx++
 17183  				msglen |= int(b&0x7F) << shift
 17184  				if b < 0x80 {
 17185  					break
 17186  				}
 17187  			}
 17188  			if msglen < 0 {
 17189  				return ErrInvalidLengthTx
 17190  			}
 17191  			postIndex := iNdEx + msglen
 17192  			if postIndex < 0 {
 17193  				return ErrInvalidLengthTx
 17194  			}
 17195  			if postIndex > l {
 17196  				return io.ErrUnexpectedEOF
 17197  			}
 17198  			if m.Results == nil {
 17199  				m.Results = &DerivativeMarketOrderResults{}
 17200  			}
 17201  			if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17202  				return err
 17203  			}
 17204  			iNdEx = postIndex
 17205  		case 3:
 17206  			if wireType != 2 {
 17207  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 17208  			}
 17209  			var stringLen uint64
 17210  			for shift := uint(0); ; shift += 7 {
 17211  				if shift >= 64 {
 17212  					return ErrIntOverflowTx
 17213  				}
 17214  				if iNdEx >= l {
 17215  					return io.ErrUnexpectedEOF
 17216  				}
 17217  				b := dAtA[iNdEx]
 17218  				iNdEx++
 17219  				stringLen |= uint64(b&0x7F) << shift
 17220  				if b < 0x80 {
 17221  					break
 17222  				}
 17223  			}
 17224  			intStringLen := int(stringLen)
 17225  			if intStringLen < 0 {
 17226  				return ErrInvalidLengthTx
 17227  			}
 17228  			postIndex := iNdEx + intStringLen
 17229  			if postIndex < 0 {
 17230  				return ErrInvalidLengthTx
 17231  			}
 17232  			if postIndex > l {
 17233  				return io.ErrUnexpectedEOF
 17234  			}
 17235  			m.Cid = string(dAtA[iNdEx:postIndex])
 17236  			iNdEx = postIndex
 17237  		default:
 17238  			iNdEx = preIndex
 17239  			skippy, err := skipTx(dAtA[iNdEx:])
 17240  			if err != nil {
 17241  				return err
 17242  			}
 17243  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17244  				return ErrInvalidLengthTx
 17245  			}
 17246  			if (iNdEx + skippy) > l {
 17247  				return io.ErrUnexpectedEOF
 17248  			}
 17249  			iNdEx += skippy
 17250  		}
 17251  	}
 17252  
 17253  	if iNdEx > l {
 17254  		return io.ErrUnexpectedEOF
 17255  	}
 17256  	return nil
 17257  }
 17258  func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
 17259  	l := len(dAtA)
 17260  	iNdEx := 0
 17261  	for iNdEx < l {
 17262  		preIndex := iNdEx
 17263  		var wire uint64
 17264  		for shift := uint(0); ; shift += 7 {
 17265  			if shift >= 64 {
 17266  				return ErrIntOverflowTx
 17267  			}
 17268  			if iNdEx >= l {
 17269  				return io.ErrUnexpectedEOF
 17270  			}
 17271  			b := dAtA[iNdEx]
 17272  			iNdEx++
 17273  			wire |= uint64(b&0x7F) << shift
 17274  			if b < 0x80 {
 17275  				break
 17276  			}
 17277  		}
 17278  		fieldNum := int32(wire >> 3)
 17279  		wireType := int(wire & 0x7)
 17280  		if wireType == 4 {
 17281  			return fmt.Errorf("proto: DerivativeMarketOrderResults: wiretype end group for non-group")
 17282  		}
 17283  		if fieldNum <= 0 {
 17284  			return fmt.Errorf("proto: DerivativeMarketOrderResults: illegal tag %d (wire type %d)", fieldNum, wire)
 17285  		}
 17286  		switch fieldNum {
 17287  		case 1:
 17288  			if wireType != 2 {
 17289  				return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
 17290  			}
 17291  			var stringLen uint64
 17292  			for shift := uint(0); ; shift += 7 {
 17293  				if shift >= 64 {
 17294  					return ErrIntOverflowTx
 17295  				}
 17296  				if iNdEx >= l {
 17297  					return io.ErrUnexpectedEOF
 17298  				}
 17299  				b := dAtA[iNdEx]
 17300  				iNdEx++
 17301  				stringLen |= uint64(b&0x7F) << shift
 17302  				if b < 0x80 {
 17303  					break
 17304  				}
 17305  			}
 17306  			intStringLen := int(stringLen)
 17307  			if intStringLen < 0 {
 17308  				return ErrInvalidLengthTx
 17309  			}
 17310  			postIndex := iNdEx + intStringLen
 17311  			if postIndex < 0 {
 17312  				return ErrInvalidLengthTx
 17313  			}
 17314  			if postIndex > l {
 17315  				return io.ErrUnexpectedEOF
 17316  			}
 17317  			if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17318  				return err
 17319  			}
 17320  			iNdEx = postIndex
 17321  		case 2:
 17322  			if wireType != 2 {
 17323  				return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
 17324  			}
 17325  			var stringLen uint64
 17326  			for shift := uint(0); ; shift += 7 {
 17327  				if shift >= 64 {
 17328  					return ErrIntOverflowTx
 17329  				}
 17330  				if iNdEx >= l {
 17331  					return io.ErrUnexpectedEOF
 17332  				}
 17333  				b := dAtA[iNdEx]
 17334  				iNdEx++
 17335  				stringLen |= uint64(b&0x7F) << shift
 17336  				if b < 0x80 {
 17337  					break
 17338  				}
 17339  			}
 17340  			intStringLen := int(stringLen)
 17341  			if intStringLen < 0 {
 17342  				return ErrInvalidLengthTx
 17343  			}
 17344  			postIndex := iNdEx + intStringLen
 17345  			if postIndex < 0 {
 17346  				return ErrInvalidLengthTx
 17347  			}
 17348  			if postIndex > l {
 17349  				return io.ErrUnexpectedEOF
 17350  			}
 17351  			if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17352  				return err
 17353  			}
 17354  			iNdEx = postIndex
 17355  		case 3:
 17356  			if wireType != 2 {
 17357  				return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
 17358  			}
 17359  			var stringLen uint64
 17360  			for shift := uint(0); ; shift += 7 {
 17361  				if shift >= 64 {
 17362  					return ErrIntOverflowTx
 17363  				}
 17364  				if iNdEx >= l {
 17365  					return io.ErrUnexpectedEOF
 17366  				}
 17367  				b := dAtA[iNdEx]
 17368  				iNdEx++
 17369  				stringLen |= uint64(b&0x7F) << shift
 17370  				if b < 0x80 {
 17371  					break
 17372  				}
 17373  			}
 17374  			intStringLen := int(stringLen)
 17375  			if intStringLen < 0 {
 17376  				return ErrInvalidLengthTx
 17377  			}
 17378  			postIndex := iNdEx + intStringLen
 17379  			if postIndex < 0 {
 17380  				return ErrInvalidLengthTx
 17381  			}
 17382  			if postIndex > l {
 17383  				return io.ErrUnexpectedEOF
 17384  			}
 17385  			if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17386  				return err
 17387  			}
 17388  			iNdEx = postIndex
 17389  		case 4:
 17390  			if wireType != 2 {
 17391  				return fmt.Errorf("proto: wrong wireType = %d for field PositionDelta", wireType)
 17392  			}
 17393  			var msglen int
 17394  			for shift := uint(0); ; shift += 7 {
 17395  				if shift >= 64 {
 17396  					return ErrIntOverflowTx
 17397  				}
 17398  				if iNdEx >= l {
 17399  					return io.ErrUnexpectedEOF
 17400  				}
 17401  				b := dAtA[iNdEx]
 17402  				iNdEx++
 17403  				msglen |= int(b&0x7F) << shift
 17404  				if b < 0x80 {
 17405  					break
 17406  				}
 17407  			}
 17408  			if msglen < 0 {
 17409  				return ErrInvalidLengthTx
 17410  			}
 17411  			postIndex := iNdEx + msglen
 17412  			if postIndex < 0 {
 17413  				return ErrInvalidLengthTx
 17414  			}
 17415  			if postIndex > l {
 17416  				return io.ErrUnexpectedEOF
 17417  			}
 17418  			if err := m.PositionDelta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17419  				return err
 17420  			}
 17421  			iNdEx = postIndex
 17422  		case 5:
 17423  			if wireType != 2 {
 17424  				return fmt.Errorf("proto: wrong wireType = %d for field Payout", wireType)
 17425  			}
 17426  			var stringLen uint64
 17427  			for shift := uint(0); ; shift += 7 {
 17428  				if shift >= 64 {
 17429  					return ErrIntOverflowTx
 17430  				}
 17431  				if iNdEx >= l {
 17432  					return io.ErrUnexpectedEOF
 17433  				}
 17434  				b := dAtA[iNdEx]
 17435  				iNdEx++
 17436  				stringLen |= uint64(b&0x7F) << shift
 17437  				if b < 0x80 {
 17438  					break
 17439  				}
 17440  			}
 17441  			intStringLen := int(stringLen)
 17442  			if intStringLen < 0 {
 17443  				return ErrInvalidLengthTx
 17444  			}
 17445  			postIndex := iNdEx + intStringLen
 17446  			if postIndex < 0 {
 17447  				return ErrInvalidLengthTx
 17448  			}
 17449  			if postIndex > l {
 17450  				return io.ErrUnexpectedEOF
 17451  			}
 17452  			if err := m.Payout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17453  				return err
 17454  			}
 17455  			iNdEx = postIndex
 17456  		default:
 17457  			iNdEx = preIndex
 17458  			skippy, err := skipTx(dAtA[iNdEx:])
 17459  			if err != nil {
 17460  				return err
 17461  			}
 17462  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17463  				return ErrInvalidLengthTx
 17464  			}
 17465  			if (iNdEx + skippy) > l {
 17466  				return io.ErrUnexpectedEOF
 17467  			}
 17468  			iNdEx += skippy
 17469  		}
 17470  	}
 17471  
 17472  	if iNdEx > l {
 17473  		return io.ErrUnexpectedEOF
 17474  	}
 17475  	return nil
 17476  }
 17477  func (m *MsgCreateBinaryOptionsMarketOrder) Unmarshal(dAtA []byte) error {
 17478  	l := len(dAtA)
 17479  	iNdEx := 0
 17480  	for iNdEx < l {
 17481  		preIndex := iNdEx
 17482  		var wire uint64
 17483  		for shift := uint(0); ; shift += 7 {
 17484  			if shift >= 64 {
 17485  				return ErrIntOverflowTx
 17486  			}
 17487  			if iNdEx >= l {
 17488  				return io.ErrUnexpectedEOF
 17489  			}
 17490  			b := dAtA[iNdEx]
 17491  			iNdEx++
 17492  			wire |= uint64(b&0x7F) << shift
 17493  			if b < 0x80 {
 17494  				break
 17495  			}
 17496  		}
 17497  		fieldNum := int32(wire >> 3)
 17498  		wireType := int(wire & 0x7)
 17499  		if wireType == 4 {
 17500  			return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrder: wiretype end group for non-group")
 17501  		}
 17502  		if fieldNum <= 0 {
 17503  			return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 17504  		}
 17505  		switch fieldNum {
 17506  		case 1:
 17507  			if wireType != 2 {
 17508  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 17509  			}
 17510  			var stringLen uint64
 17511  			for shift := uint(0); ; shift += 7 {
 17512  				if shift >= 64 {
 17513  					return ErrIntOverflowTx
 17514  				}
 17515  				if iNdEx >= l {
 17516  					return io.ErrUnexpectedEOF
 17517  				}
 17518  				b := dAtA[iNdEx]
 17519  				iNdEx++
 17520  				stringLen |= uint64(b&0x7F) << shift
 17521  				if b < 0x80 {
 17522  					break
 17523  				}
 17524  			}
 17525  			intStringLen := int(stringLen)
 17526  			if intStringLen < 0 {
 17527  				return ErrInvalidLengthTx
 17528  			}
 17529  			postIndex := iNdEx + intStringLen
 17530  			if postIndex < 0 {
 17531  				return ErrInvalidLengthTx
 17532  			}
 17533  			if postIndex > l {
 17534  				return io.ErrUnexpectedEOF
 17535  			}
 17536  			m.Sender = string(dAtA[iNdEx:postIndex])
 17537  			iNdEx = postIndex
 17538  		case 2:
 17539  			if wireType != 2 {
 17540  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 17541  			}
 17542  			var msglen int
 17543  			for shift := uint(0); ; shift += 7 {
 17544  				if shift >= 64 {
 17545  					return ErrIntOverflowTx
 17546  				}
 17547  				if iNdEx >= l {
 17548  					return io.ErrUnexpectedEOF
 17549  				}
 17550  				b := dAtA[iNdEx]
 17551  				iNdEx++
 17552  				msglen |= int(b&0x7F) << shift
 17553  				if b < 0x80 {
 17554  					break
 17555  				}
 17556  			}
 17557  			if msglen < 0 {
 17558  				return ErrInvalidLengthTx
 17559  			}
 17560  			postIndex := iNdEx + msglen
 17561  			if postIndex < 0 {
 17562  				return ErrInvalidLengthTx
 17563  			}
 17564  			if postIndex > l {
 17565  				return io.ErrUnexpectedEOF
 17566  			}
 17567  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17568  				return err
 17569  			}
 17570  			iNdEx = postIndex
 17571  		default:
 17572  			iNdEx = preIndex
 17573  			skippy, err := skipTx(dAtA[iNdEx:])
 17574  			if err != nil {
 17575  				return err
 17576  			}
 17577  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17578  				return ErrInvalidLengthTx
 17579  			}
 17580  			if (iNdEx + skippy) > l {
 17581  				return io.ErrUnexpectedEOF
 17582  			}
 17583  			iNdEx += skippy
 17584  		}
 17585  	}
 17586  
 17587  	if iNdEx > l {
 17588  		return io.ErrUnexpectedEOF
 17589  	}
 17590  	return nil
 17591  }
 17592  func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error {
 17593  	l := len(dAtA)
 17594  	iNdEx := 0
 17595  	for iNdEx < l {
 17596  		preIndex := iNdEx
 17597  		var wire uint64
 17598  		for shift := uint(0); ; shift += 7 {
 17599  			if shift >= 64 {
 17600  				return ErrIntOverflowTx
 17601  			}
 17602  			if iNdEx >= l {
 17603  				return io.ErrUnexpectedEOF
 17604  			}
 17605  			b := dAtA[iNdEx]
 17606  			iNdEx++
 17607  			wire |= uint64(b&0x7F) << shift
 17608  			if b < 0x80 {
 17609  				break
 17610  			}
 17611  		}
 17612  		fieldNum := int32(wire >> 3)
 17613  		wireType := int(wire & 0x7)
 17614  		if wireType == 4 {
 17615  			return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrderResponse: wiretype end group for non-group")
 17616  		}
 17617  		if fieldNum <= 0 {
 17618  			return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 17619  		}
 17620  		switch fieldNum {
 17621  		case 1:
 17622  			if wireType != 2 {
 17623  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 17624  			}
 17625  			var stringLen uint64
 17626  			for shift := uint(0); ; shift += 7 {
 17627  				if shift >= 64 {
 17628  					return ErrIntOverflowTx
 17629  				}
 17630  				if iNdEx >= l {
 17631  					return io.ErrUnexpectedEOF
 17632  				}
 17633  				b := dAtA[iNdEx]
 17634  				iNdEx++
 17635  				stringLen |= uint64(b&0x7F) << shift
 17636  				if b < 0x80 {
 17637  					break
 17638  				}
 17639  			}
 17640  			intStringLen := int(stringLen)
 17641  			if intStringLen < 0 {
 17642  				return ErrInvalidLengthTx
 17643  			}
 17644  			postIndex := iNdEx + intStringLen
 17645  			if postIndex < 0 {
 17646  				return ErrInvalidLengthTx
 17647  			}
 17648  			if postIndex > l {
 17649  				return io.ErrUnexpectedEOF
 17650  			}
 17651  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 17652  			iNdEx = postIndex
 17653  		case 2:
 17654  			if wireType != 2 {
 17655  				return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
 17656  			}
 17657  			var msglen int
 17658  			for shift := uint(0); ; shift += 7 {
 17659  				if shift >= 64 {
 17660  					return ErrIntOverflowTx
 17661  				}
 17662  				if iNdEx >= l {
 17663  					return io.ErrUnexpectedEOF
 17664  				}
 17665  				b := dAtA[iNdEx]
 17666  				iNdEx++
 17667  				msglen |= int(b&0x7F) << shift
 17668  				if b < 0x80 {
 17669  					break
 17670  				}
 17671  			}
 17672  			if msglen < 0 {
 17673  				return ErrInvalidLengthTx
 17674  			}
 17675  			postIndex := iNdEx + msglen
 17676  			if postIndex < 0 {
 17677  				return ErrInvalidLengthTx
 17678  			}
 17679  			if postIndex > l {
 17680  				return io.ErrUnexpectedEOF
 17681  			}
 17682  			if m.Results == nil {
 17683  				m.Results = &DerivativeMarketOrderResults{}
 17684  			}
 17685  			if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17686  				return err
 17687  			}
 17688  			iNdEx = postIndex
 17689  		case 3:
 17690  			if wireType != 2 {
 17691  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 17692  			}
 17693  			var stringLen uint64
 17694  			for shift := uint(0); ; shift += 7 {
 17695  				if shift >= 64 {
 17696  					return ErrIntOverflowTx
 17697  				}
 17698  				if iNdEx >= l {
 17699  					return io.ErrUnexpectedEOF
 17700  				}
 17701  				b := dAtA[iNdEx]
 17702  				iNdEx++
 17703  				stringLen |= uint64(b&0x7F) << shift
 17704  				if b < 0x80 {
 17705  					break
 17706  				}
 17707  			}
 17708  			intStringLen := int(stringLen)
 17709  			if intStringLen < 0 {
 17710  				return ErrInvalidLengthTx
 17711  			}
 17712  			postIndex := iNdEx + intStringLen
 17713  			if postIndex < 0 {
 17714  				return ErrInvalidLengthTx
 17715  			}
 17716  			if postIndex > l {
 17717  				return io.ErrUnexpectedEOF
 17718  			}
 17719  			m.Cid = string(dAtA[iNdEx:postIndex])
 17720  			iNdEx = postIndex
 17721  		default:
 17722  			iNdEx = preIndex
 17723  			skippy, err := skipTx(dAtA[iNdEx:])
 17724  			if err != nil {
 17725  				return err
 17726  			}
 17727  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17728  				return ErrInvalidLengthTx
 17729  			}
 17730  			if (iNdEx + skippy) > l {
 17731  				return io.ErrUnexpectedEOF
 17732  			}
 17733  			iNdEx += skippy
 17734  		}
 17735  	}
 17736  
 17737  	if iNdEx > l {
 17738  		return io.ErrUnexpectedEOF
 17739  	}
 17740  	return nil
 17741  }
 17742  func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
 17743  	l := len(dAtA)
 17744  	iNdEx := 0
 17745  	for iNdEx < l {
 17746  		preIndex := iNdEx
 17747  		var wire uint64
 17748  		for shift := uint(0); ; shift += 7 {
 17749  			if shift >= 64 {
 17750  				return ErrIntOverflowTx
 17751  			}
 17752  			if iNdEx >= l {
 17753  				return io.ErrUnexpectedEOF
 17754  			}
 17755  			b := dAtA[iNdEx]
 17756  			iNdEx++
 17757  			wire |= uint64(b&0x7F) << shift
 17758  			if b < 0x80 {
 17759  				break
 17760  			}
 17761  		}
 17762  		fieldNum := int32(wire >> 3)
 17763  		wireType := int(wire & 0x7)
 17764  		if wireType == 4 {
 17765  			return fmt.Errorf("proto: MsgCancelDerivativeOrder: wiretype end group for non-group")
 17766  		}
 17767  		if fieldNum <= 0 {
 17768  			return fmt.Errorf("proto: MsgCancelDerivativeOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 17769  		}
 17770  		switch fieldNum {
 17771  		case 1:
 17772  			if wireType != 2 {
 17773  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 17774  			}
 17775  			var stringLen uint64
 17776  			for shift := uint(0); ; shift += 7 {
 17777  				if shift >= 64 {
 17778  					return ErrIntOverflowTx
 17779  				}
 17780  				if iNdEx >= l {
 17781  					return io.ErrUnexpectedEOF
 17782  				}
 17783  				b := dAtA[iNdEx]
 17784  				iNdEx++
 17785  				stringLen |= uint64(b&0x7F) << shift
 17786  				if b < 0x80 {
 17787  					break
 17788  				}
 17789  			}
 17790  			intStringLen := int(stringLen)
 17791  			if intStringLen < 0 {
 17792  				return ErrInvalidLengthTx
 17793  			}
 17794  			postIndex := iNdEx + intStringLen
 17795  			if postIndex < 0 {
 17796  				return ErrInvalidLengthTx
 17797  			}
 17798  			if postIndex > l {
 17799  				return io.ErrUnexpectedEOF
 17800  			}
 17801  			m.Sender = string(dAtA[iNdEx:postIndex])
 17802  			iNdEx = postIndex
 17803  		case 2:
 17804  			if wireType != 2 {
 17805  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 17806  			}
 17807  			var stringLen uint64
 17808  			for shift := uint(0); ; shift += 7 {
 17809  				if shift >= 64 {
 17810  					return ErrIntOverflowTx
 17811  				}
 17812  				if iNdEx >= l {
 17813  					return io.ErrUnexpectedEOF
 17814  				}
 17815  				b := dAtA[iNdEx]
 17816  				iNdEx++
 17817  				stringLen |= uint64(b&0x7F) << shift
 17818  				if b < 0x80 {
 17819  					break
 17820  				}
 17821  			}
 17822  			intStringLen := int(stringLen)
 17823  			if intStringLen < 0 {
 17824  				return ErrInvalidLengthTx
 17825  			}
 17826  			postIndex := iNdEx + intStringLen
 17827  			if postIndex < 0 {
 17828  				return ErrInvalidLengthTx
 17829  			}
 17830  			if postIndex > l {
 17831  				return io.ErrUnexpectedEOF
 17832  			}
 17833  			m.MarketId = string(dAtA[iNdEx:postIndex])
 17834  			iNdEx = postIndex
 17835  		case 3:
 17836  			if wireType != 2 {
 17837  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 17838  			}
 17839  			var stringLen uint64
 17840  			for shift := uint(0); ; shift += 7 {
 17841  				if shift >= 64 {
 17842  					return ErrIntOverflowTx
 17843  				}
 17844  				if iNdEx >= l {
 17845  					return io.ErrUnexpectedEOF
 17846  				}
 17847  				b := dAtA[iNdEx]
 17848  				iNdEx++
 17849  				stringLen |= uint64(b&0x7F) << shift
 17850  				if b < 0x80 {
 17851  					break
 17852  				}
 17853  			}
 17854  			intStringLen := int(stringLen)
 17855  			if intStringLen < 0 {
 17856  				return ErrInvalidLengthTx
 17857  			}
 17858  			postIndex := iNdEx + intStringLen
 17859  			if postIndex < 0 {
 17860  				return ErrInvalidLengthTx
 17861  			}
 17862  			if postIndex > l {
 17863  				return io.ErrUnexpectedEOF
 17864  			}
 17865  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 17866  			iNdEx = postIndex
 17867  		case 4:
 17868  			if wireType != 2 {
 17869  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 17870  			}
 17871  			var stringLen uint64
 17872  			for shift := uint(0); ; shift += 7 {
 17873  				if shift >= 64 {
 17874  					return ErrIntOverflowTx
 17875  				}
 17876  				if iNdEx >= l {
 17877  					return io.ErrUnexpectedEOF
 17878  				}
 17879  				b := dAtA[iNdEx]
 17880  				iNdEx++
 17881  				stringLen |= uint64(b&0x7F) << shift
 17882  				if b < 0x80 {
 17883  					break
 17884  				}
 17885  			}
 17886  			intStringLen := int(stringLen)
 17887  			if intStringLen < 0 {
 17888  				return ErrInvalidLengthTx
 17889  			}
 17890  			postIndex := iNdEx + intStringLen
 17891  			if postIndex < 0 {
 17892  				return ErrInvalidLengthTx
 17893  			}
 17894  			if postIndex > l {
 17895  				return io.ErrUnexpectedEOF
 17896  			}
 17897  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 17898  			iNdEx = postIndex
 17899  		case 5:
 17900  			if wireType != 0 {
 17901  				return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
 17902  			}
 17903  			m.OrderMask = 0
 17904  			for shift := uint(0); ; shift += 7 {
 17905  				if shift >= 64 {
 17906  					return ErrIntOverflowTx
 17907  				}
 17908  				if iNdEx >= l {
 17909  					return io.ErrUnexpectedEOF
 17910  				}
 17911  				b := dAtA[iNdEx]
 17912  				iNdEx++
 17913  				m.OrderMask |= int32(b&0x7F) << shift
 17914  				if b < 0x80 {
 17915  					break
 17916  				}
 17917  			}
 17918  		case 6:
 17919  			if wireType != 2 {
 17920  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 17921  			}
 17922  			var stringLen uint64
 17923  			for shift := uint(0); ; shift += 7 {
 17924  				if shift >= 64 {
 17925  					return ErrIntOverflowTx
 17926  				}
 17927  				if iNdEx >= l {
 17928  					return io.ErrUnexpectedEOF
 17929  				}
 17930  				b := dAtA[iNdEx]
 17931  				iNdEx++
 17932  				stringLen |= uint64(b&0x7F) << shift
 17933  				if b < 0x80 {
 17934  					break
 17935  				}
 17936  			}
 17937  			intStringLen := int(stringLen)
 17938  			if intStringLen < 0 {
 17939  				return ErrInvalidLengthTx
 17940  			}
 17941  			postIndex := iNdEx + intStringLen
 17942  			if postIndex < 0 {
 17943  				return ErrInvalidLengthTx
 17944  			}
 17945  			if postIndex > l {
 17946  				return io.ErrUnexpectedEOF
 17947  			}
 17948  			m.Cid = string(dAtA[iNdEx:postIndex])
 17949  			iNdEx = postIndex
 17950  		default:
 17951  			iNdEx = preIndex
 17952  			skippy, err := skipTx(dAtA[iNdEx:])
 17953  			if err != nil {
 17954  				return err
 17955  			}
 17956  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17957  				return ErrInvalidLengthTx
 17958  			}
 17959  			if (iNdEx + skippy) > l {
 17960  				return io.ErrUnexpectedEOF
 17961  			}
 17962  			iNdEx += skippy
 17963  		}
 17964  	}
 17965  
 17966  	if iNdEx > l {
 17967  		return io.ErrUnexpectedEOF
 17968  	}
 17969  	return nil
 17970  }
 17971  func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error {
 17972  	l := len(dAtA)
 17973  	iNdEx := 0
 17974  	for iNdEx < l {
 17975  		preIndex := iNdEx
 17976  		var wire uint64
 17977  		for shift := uint(0); ; shift += 7 {
 17978  			if shift >= 64 {
 17979  				return ErrIntOverflowTx
 17980  			}
 17981  			if iNdEx >= l {
 17982  				return io.ErrUnexpectedEOF
 17983  			}
 17984  			b := dAtA[iNdEx]
 17985  			iNdEx++
 17986  			wire |= uint64(b&0x7F) << shift
 17987  			if b < 0x80 {
 17988  				break
 17989  			}
 17990  		}
 17991  		fieldNum := int32(wire >> 3)
 17992  		wireType := int(wire & 0x7)
 17993  		if wireType == 4 {
 17994  			return fmt.Errorf("proto: MsgCancelDerivativeOrderResponse: wiretype end group for non-group")
 17995  		}
 17996  		if fieldNum <= 0 {
 17997  			return fmt.Errorf("proto: MsgCancelDerivativeOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 17998  		}
 17999  		switch fieldNum {
 18000  		default:
 18001  			iNdEx = preIndex
 18002  			skippy, err := skipTx(dAtA[iNdEx:])
 18003  			if err != nil {
 18004  				return err
 18005  			}
 18006  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18007  				return ErrInvalidLengthTx
 18008  			}
 18009  			if (iNdEx + skippy) > l {
 18010  				return io.ErrUnexpectedEOF
 18011  			}
 18012  			iNdEx += skippy
 18013  		}
 18014  	}
 18015  
 18016  	if iNdEx > l {
 18017  		return io.ErrUnexpectedEOF
 18018  	}
 18019  	return nil
 18020  }
 18021  func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
 18022  	l := len(dAtA)
 18023  	iNdEx := 0
 18024  	for iNdEx < l {
 18025  		preIndex := iNdEx
 18026  		var wire uint64
 18027  		for shift := uint(0); ; shift += 7 {
 18028  			if shift >= 64 {
 18029  				return ErrIntOverflowTx
 18030  			}
 18031  			if iNdEx >= l {
 18032  				return io.ErrUnexpectedEOF
 18033  			}
 18034  			b := dAtA[iNdEx]
 18035  			iNdEx++
 18036  			wire |= uint64(b&0x7F) << shift
 18037  			if b < 0x80 {
 18038  				break
 18039  			}
 18040  		}
 18041  		fieldNum := int32(wire >> 3)
 18042  		wireType := int(wire & 0x7)
 18043  		if wireType == 4 {
 18044  			return fmt.Errorf("proto: MsgCancelBinaryOptionsOrder: wiretype end group for non-group")
 18045  		}
 18046  		if fieldNum <= 0 {
 18047  			return fmt.Errorf("proto: MsgCancelBinaryOptionsOrder: illegal tag %d (wire type %d)", fieldNum, wire)
 18048  		}
 18049  		switch fieldNum {
 18050  		case 1:
 18051  			if wireType != 2 {
 18052  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 18053  			}
 18054  			var stringLen uint64
 18055  			for shift := uint(0); ; shift += 7 {
 18056  				if shift >= 64 {
 18057  					return ErrIntOverflowTx
 18058  				}
 18059  				if iNdEx >= l {
 18060  					return io.ErrUnexpectedEOF
 18061  				}
 18062  				b := dAtA[iNdEx]
 18063  				iNdEx++
 18064  				stringLen |= uint64(b&0x7F) << shift
 18065  				if b < 0x80 {
 18066  					break
 18067  				}
 18068  			}
 18069  			intStringLen := int(stringLen)
 18070  			if intStringLen < 0 {
 18071  				return ErrInvalidLengthTx
 18072  			}
 18073  			postIndex := iNdEx + intStringLen
 18074  			if postIndex < 0 {
 18075  				return ErrInvalidLengthTx
 18076  			}
 18077  			if postIndex > l {
 18078  				return io.ErrUnexpectedEOF
 18079  			}
 18080  			m.Sender = string(dAtA[iNdEx:postIndex])
 18081  			iNdEx = postIndex
 18082  		case 2:
 18083  			if wireType != 2 {
 18084  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 18085  			}
 18086  			var stringLen uint64
 18087  			for shift := uint(0); ; shift += 7 {
 18088  				if shift >= 64 {
 18089  					return ErrIntOverflowTx
 18090  				}
 18091  				if iNdEx >= l {
 18092  					return io.ErrUnexpectedEOF
 18093  				}
 18094  				b := dAtA[iNdEx]
 18095  				iNdEx++
 18096  				stringLen |= uint64(b&0x7F) << shift
 18097  				if b < 0x80 {
 18098  					break
 18099  				}
 18100  			}
 18101  			intStringLen := int(stringLen)
 18102  			if intStringLen < 0 {
 18103  				return ErrInvalidLengthTx
 18104  			}
 18105  			postIndex := iNdEx + intStringLen
 18106  			if postIndex < 0 {
 18107  				return ErrInvalidLengthTx
 18108  			}
 18109  			if postIndex > l {
 18110  				return io.ErrUnexpectedEOF
 18111  			}
 18112  			m.MarketId = string(dAtA[iNdEx:postIndex])
 18113  			iNdEx = postIndex
 18114  		case 3:
 18115  			if wireType != 2 {
 18116  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 18117  			}
 18118  			var stringLen uint64
 18119  			for shift := uint(0); ; shift += 7 {
 18120  				if shift >= 64 {
 18121  					return ErrIntOverflowTx
 18122  				}
 18123  				if iNdEx >= l {
 18124  					return io.ErrUnexpectedEOF
 18125  				}
 18126  				b := dAtA[iNdEx]
 18127  				iNdEx++
 18128  				stringLen |= uint64(b&0x7F) << shift
 18129  				if b < 0x80 {
 18130  					break
 18131  				}
 18132  			}
 18133  			intStringLen := int(stringLen)
 18134  			if intStringLen < 0 {
 18135  				return ErrInvalidLengthTx
 18136  			}
 18137  			postIndex := iNdEx + intStringLen
 18138  			if postIndex < 0 {
 18139  				return ErrInvalidLengthTx
 18140  			}
 18141  			if postIndex > l {
 18142  				return io.ErrUnexpectedEOF
 18143  			}
 18144  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 18145  			iNdEx = postIndex
 18146  		case 4:
 18147  			if wireType != 2 {
 18148  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 18149  			}
 18150  			var stringLen uint64
 18151  			for shift := uint(0); ; shift += 7 {
 18152  				if shift >= 64 {
 18153  					return ErrIntOverflowTx
 18154  				}
 18155  				if iNdEx >= l {
 18156  					return io.ErrUnexpectedEOF
 18157  				}
 18158  				b := dAtA[iNdEx]
 18159  				iNdEx++
 18160  				stringLen |= uint64(b&0x7F) << shift
 18161  				if b < 0x80 {
 18162  					break
 18163  				}
 18164  			}
 18165  			intStringLen := int(stringLen)
 18166  			if intStringLen < 0 {
 18167  				return ErrInvalidLengthTx
 18168  			}
 18169  			postIndex := iNdEx + intStringLen
 18170  			if postIndex < 0 {
 18171  				return ErrInvalidLengthTx
 18172  			}
 18173  			if postIndex > l {
 18174  				return io.ErrUnexpectedEOF
 18175  			}
 18176  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 18177  			iNdEx = postIndex
 18178  		case 5:
 18179  			if wireType != 0 {
 18180  				return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
 18181  			}
 18182  			m.OrderMask = 0
 18183  			for shift := uint(0); ; shift += 7 {
 18184  				if shift >= 64 {
 18185  					return ErrIntOverflowTx
 18186  				}
 18187  				if iNdEx >= l {
 18188  					return io.ErrUnexpectedEOF
 18189  				}
 18190  				b := dAtA[iNdEx]
 18191  				iNdEx++
 18192  				m.OrderMask |= int32(b&0x7F) << shift
 18193  				if b < 0x80 {
 18194  					break
 18195  				}
 18196  			}
 18197  		case 6:
 18198  			if wireType != 2 {
 18199  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 18200  			}
 18201  			var stringLen uint64
 18202  			for shift := uint(0); ; shift += 7 {
 18203  				if shift >= 64 {
 18204  					return ErrIntOverflowTx
 18205  				}
 18206  				if iNdEx >= l {
 18207  					return io.ErrUnexpectedEOF
 18208  				}
 18209  				b := dAtA[iNdEx]
 18210  				iNdEx++
 18211  				stringLen |= uint64(b&0x7F) << shift
 18212  				if b < 0x80 {
 18213  					break
 18214  				}
 18215  			}
 18216  			intStringLen := int(stringLen)
 18217  			if intStringLen < 0 {
 18218  				return ErrInvalidLengthTx
 18219  			}
 18220  			postIndex := iNdEx + intStringLen
 18221  			if postIndex < 0 {
 18222  				return ErrInvalidLengthTx
 18223  			}
 18224  			if postIndex > l {
 18225  				return io.ErrUnexpectedEOF
 18226  			}
 18227  			m.Cid = string(dAtA[iNdEx:postIndex])
 18228  			iNdEx = postIndex
 18229  		default:
 18230  			iNdEx = preIndex
 18231  			skippy, err := skipTx(dAtA[iNdEx:])
 18232  			if err != nil {
 18233  				return err
 18234  			}
 18235  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18236  				return ErrInvalidLengthTx
 18237  			}
 18238  			if (iNdEx + skippy) > l {
 18239  				return io.ErrUnexpectedEOF
 18240  			}
 18241  			iNdEx += skippy
 18242  		}
 18243  	}
 18244  
 18245  	if iNdEx > l {
 18246  		return io.ErrUnexpectedEOF
 18247  	}
 18248  	return nil
 18249  }
 18250  func (m *MsgCancelBinaryOptionsOrderResponse) Unmarshal(dAtA []byte) error {
 18251  	l := len(dAtA)
 18252  	iNdEx := 0
 18253  	for iNdEx < l {
 18254  		preIndex := iNdEx
 18255  		var wire uint64
 18256  		for shift := uint(0); ; shift += 7 {
 18257  			if shift >= 64 {
 18258  				return ErrIntOverflowTx
 18259  			}
 18260  			if iNdEx >= l {
 18261  				return io.ErrUnexpectedEOF
 18262  			}
 18263  			b := dAtA[iNdEx]
 18264  			iNdEx++
 18265  			wire |= uint64(b&0x7F) << shift
 18266  			if b < 0x80 {
 18267  				break
 18268  			}
 18269  		}
 18270  		fieldNum := int32(wire >> 3)
 18271  		wireType := int(wire & 0x7)
 18272  		if wireType == 4 {
 18273  			return fmt.Errorf("proto: MsgCancelBinaryOptionsOrderResponse: wiretype end group for non-group")
 18274  		}
 18275  		if fieldNum <= 0 {
 18276  			return fmt.Errorf("proto: MsgCancelBinaryOptionsOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 18277  		}
 18278  		switch fieldNum {
 18279  		default:
 18280  			iNdEx = preIndex
 18281  			skippy, err := skipTx(dAtA[iNdEx:])
 18282  			if err != nil {
 18283  				return err
 18284  			}
 18285  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18286  				return ErrInvalidLengthTx
 18287  			}
 18288  			if (iNdEx + skippy) > l {
 18289  				return io.ErrUnexpectedEOF
 18290  			}
 18291  			iNdEx += skippy
 18292  		}
 18293  	}
 18294  
 18295  	if iNdEx > l {
 18296  		return io.ErrUnexpectedEOF
 18297  	}
 18298  	return nil
 18299  }
 18300  func (m *OrderData) Unmarshal(dAtA []byte) error {
 18301  	l := len(dAtA)
 18302  	iNdEx := 0
 18303  	for iNdEx < l {
 18304  		preIndex := iNdEx
 18305  		var wire uint64
 18306  		for shift := uint(0); ; shift += 7 {
 18307  			if shift >= 64 {
 18308  				return ErrIntOverflowTx
 18309  			}
 18310  			if iNdEx >= l {
 18311  				return io.ErrUnexpectedEOF
 18312  			}
 18313  			b := dAtA[iNdEx]
 18314  			iNdEx++
 18315  			wire |= uint64(b&0x7F) << shift
 18316  			if b < 0x80 {
 18317  				break
 18318  			}
 18319  		}
 18320  		fieldNum := int32(wire >> 3)
 18321  		wireType := int(wire & 0x7)
 18322  		if wireType == 4 {
 18323  			return fmt.Errorf("proto: OrderData: wiretype end group for non-group")
 18324  		}
 18325  		if fieldNum <= 0 {
 18326  			return fmt.Errorf("proto: OrderData: illegal tag %d (wire type %d)", fieldNum, wire)
 18327  		}
 18328  		switch fieldNum {
 18329  		case 1:
 18330  			if wireType != 2 {
 18331  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 18332  			}
 18333  			var stringLen uint64
 18334  			for shift := uint(0); ; shift += 7 {
 18335  				if shift >= 64 {
 18336  					return ErrIntOverflowTx
 18337  				}
 18338  				if iNdEx >= l {
 18339  					return io.ErrUnexpectedEOF
 18340  				}
 18341  				b := dAtA[iNdEx]
 18342  				iNdEx++
 18343  				stringLen |= uint64(b&0x7F) << shift
 18344  				if b < 0x80 {
 18345  					break
 18346  				}
 18347  			}
 18348  			intStringLen := int(stringLen)
 18349  			if intStringLen < 0 {
 18350  				return ErrInvalidLengthTx
 18351  			}
 18352  			postIndex := iNdEx + intStringLen
 18353  			if postIndex < 0 {
 18354  				return ErrInvalidLengthTx
 18355  			}
 18356  			if postIndex > l {
 18357  				return io.ErrUnexpectedEOF
 18358  			}
 18359  			m.MarketId = string(dAtA[iNdEx:postIndex])
 18360  			iNdEx = postIndex
 18361  		case 2:
 18362  			if wireType != 2 {
 18363  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 18364  			}
 18365  			var stringLen uint64
 18366  			for shift := uint(0); ; shift += 7 {
 18367  				if shift >= 64 {
 18368  					return ErrIntOverflowTx
 18369  				}
 18370  				if iNdEx >= l {
 18371  					return io.ErrUnexpectedEOF
 18372  				}
 18373  				b := dAtA[iNdEx]
 18374  				iNdEx++
 18375  				stringLen |= uint64(b&0x7F) << shift
 18376  				if b < 0x80 {
 18377  					break
 18378  				}
 18379  			}
 18380  			intStringLen := int(stringLen)
 18381  			if intStringLen < 0 {
 18382  				return ErrInvalidLengthTx
 18383  			}
 18384  			postIndex := iNdEx + intStringLen
 18385  			if postIndex < 0 {
 18386  				return ErrInvalidLengthTx
 18387  			}
 18388  			if postIndex > l {
 18389  				return io.ErrUnexpectedEOF
 18390  			}
 18391  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 18392  			iNdEx = postIndex
 18393  		case 3:
 18394  			if wireType != 2 {
 18395  				return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
 18396  			}
 18397  			var stringLen uint64
 18398  			for shift := uint(0); ; shift += 7 {
 18399  				if shift >= 64 {
 18400  					return ErrIntOverflowTx
 18401  				}
 18402  				if iNdEx >= l {
 18403  					return io.ErrUnexpectedEOF
 18404  				}
 18405  				b := dAtA[iNdEx]
 18406  				iNdEx++
 18407  				stringLen |= uint64(b&0x7F) << shift
 18408  				if b < 0x80 {
 18409  					break
 18410  				}
 18411  			}
 18412  			intStringLen := int(stringLen)
 18413  			if intStringLen < 0 {
 18414  				return ErrInvalidLengthTx
 18415  			}
 18416  			postIndex := iNdEx + intStringLen
 18417  			if postIndex < 0 {
 18418  				return ErrInvalidLengthTx
 18419  			}
 18420  			if postIndex > l {
 18421  				return io.ErrUnexpectedEOF
 18422  			}
 18423  			m.OrderHash = string(dAtA[iNdEx:postIndex])
 18424  			iNdEx = postIndex
 18425  		case 4:
 18426  			if wireType != 0 {
 18427  				return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
 18428  			}
 18429  			m.OrderMask = 0
 18430  			for shift := uint(0); ; shift += 7 {
 18431  				if shift >= 64 {
 18432  					return ErrIntOverflowTx
 18433  				}
 18434  				if iNdEx >= l {
 18435  					return io.ErrUnexpectedEOF
 18436  				}
 18437  				b := dAtA[iNdEx]
 18438  				iNdEx++
 18439  				m.OrderMask |= int32(b&0x7F) << shift
 18440  				if b < 0x80 {
 18441  					break
 18442  				}
 18443  			}
 18444  		case 5:
 18445  			if wireType != 2 {
 18446  				return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
 18447  			}
 18448  			var stringLen uint64
 18449  			for shift := uint(0); ; shift += 7 {
 18450  				if shift >= 64 {
 18451  					return ErrIntOverflowTx
 18452  				}
 18453  				if iNdEx >= l {
 18454  					return io.ErrUnexpectedEOF
 18455  				}
 18456  				b := dAtA[iNdEx]
 18457  				iNdEx++
 18458  				stringLen |= uint64(b&0x7F) << shift
 18459  				if b < 0x80 {
 18460  					break
 18461  				}
 18462  			}
 18463  			intStringLen := int(stringLen)
 18464  			if intStringLen < 0 {
 18465  				return ErrInvalidLengthTx
 18466  			}
 18467  			postIndex := iNdEx + intStringLen
 18468  			if postIndex < 0 {
 18469  				return ErrInvalidLengthTx
 18470  			}
 18471  			if postIndex > l {
 18472  				return io.ErrUnexpectedEOF
 18473  			}
 18474  			m.Cid = string(dAtA[iNdEx:postIndex])
 18475  			iNdEx = postIndex
 18476  		default:
 18477  			iNdEx = preIndex
 18478  			skippy, err := skipTx(dAtA[iNdEx:])
 18479  			if err != nil {
 18480  				return err
 18481  			}
 18482  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18483  				return ErrInvalidLengthTx
 18484  			}
 18485  			if (iNdEx + skippy) > l {
 18486  				return io.ErrUnexpectedEOF
 18487  			}
 18488  			iNdEx += skippy
 18489  		}
 18490  	}
 18491  
 18492  	if iNdEx > l {
 18493  		return io.ErrUnexpectedEOF
 18494  	}
 18495  	return nil
 18496  }
 18497  func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error {
 18498  	l := len(dAtA)
 18499  	iNdEx := 0
 18500  	for iNdEx < l {
 18501  		preIndex := iNdEx
 18502  		var wire uint64
 18503  		for shift := uint(0); ; shift += 7 {
 18504  			if shift >= 64 {
 18505  				return ErrIntOverflowTx
 18506  			}
 18507  			if iNdEx >= l {
 18508  				return io.ErrUnexpectedEOF
 18509  			}
 18510  			b := dAtA[iNdEx]
 18511  			iNdEx++
 18512  			wire |= uint64(b&0x7F) << shift
 18513  			if b < 0x80 {
 18514  				break
 18515  			}
 18516  		}
 18517  		fieldNum := int32(wire >> 3)
 18518  		wireType := int(wire & 0x7)
 18519  		if wireType == 4 {
 18520  			return fmt.Errorf("proto: MsgBatchCancelDerivativeOrders: wiretype end group for non-group")
 18521  		}
 18522  		if fieldNum <= 0 {
 18523  			return fmt.Errorf("proto: MsgBatchCancelDerivativeOrders: illegal tag %d (wire type %d)", fieldNum, wire)
 18524  		}
 18525  		switch fieldNum {
 18526  		case 1:
 18527  			if wireType != 2 {
 18528  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 18529  			}
 18530  			var stringLen uint64
 18531  			for shift := uint(0); ; shift += 7 {
 18532  				if shift >= 64 {
 18533  					return ErrIntOverflowTx
 18534  				}
 18535  				if iNdEx >= l {
 18536  					return io.ErrUnexpectedEOF
 18537  				}
 18538  				b := dAtA[iNdEx]
 18539  				iNdEx++
 18540  				stringLen |= uint64(b&0x7F) << shift
 18541  				if b < 0x80 {
 18542  					break
 18543  				}
 18544  			}
 18545  			intStringLen := int(stringLen)
 18546  			if intStringLen < 0 {
 18547  				return ErrInvalidLengthTx
 18548  			}
 18549  			postIndex := iNdEx + intStringLen
 18550  			if postIndex < 0 {
 18551  				return ErrInvalidLengthTx
 18552  			}
 18553  			if postIndex > l {
 18554  				return io.ErrUnexpectedEOF
 18555  			}
 18556  			m.Sender = string(dAtA[iNdEx:postIndex])
 18557  			iNdEx = postIndex
 18558  		case 2:
 18559  			if wireType != 2 {
 18560  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 18561  			}
 18562  			var msglen int
 18563  			for shift := uint(0); ; shift += 7 {
 18564  				if shift >= 64 {
 18565  					return ErrIntOverflowTx
 18566  				}
 18567  				if iNdEx >= l {
 18568  					return io.ErrUnexpectedEOF
 18569  				}
 18570  				b := dAtA[iNdEx]
 18571  				iNdEx++
 18572  				msglen |= int(b&0x7F) << shift
 18573  				if b < 0x80 {
 18574  					break
 18575  				}
 18576  			}
 18577  			if msglen < 0 {
 18578  				return ErrInvalidLengthTx
 18579  			}
 18580  			postIndex := iNdEx + msglen
 18581  			if postIndex < 0 {
 18582  				return ErrInvalidLengthTx
 18583  			}
 18584  			if postIndex > l {
 18585  				return io.ErrUnexpectedEOF
 18586  			}
 18587  			m.Data = append(m.Data, OrderData{})
 18588  			if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18589  				return err
 18590  			}
 18591  			iNdEx = postIndex
 18592  		default:
 18593  			iNdEx = preIndex
 18594  			skippy, err := skipTx(dAtA[iNdEx:])
 18595  			if err != nil {
 18596  				return err
 18597  			}
 18598  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18599  				return ErrInvalidLengthTx
 18600  			}
 18601  			if (iNdEx + skippy) > l {
 18602  				return io.ErrUnexpectedEOF
 18603  			}
 18604  			iNdEx += skippy
 18605  		}
 18606  	}
 18607  
 18608  	if iNdEx > l {
 18609  		return io.ErrUnexpectedEOF
 18610  	}
 18611  	return nil
 18612  }
 18613  func (m *MsgBatchCancelDerivativeOrdersResponse) Unmarshal(dAtA []byte) error {
 18614  	l := len(dAtA)
 18615  	iNdEx := 0
 18616  	for iNdEx < l {
 18617  		preIndex := iNdEx
 18618  		var wire uint64
 18619  		for shift := uint(0); ; shift += 7 {
 18620  			if shift >= 64 {
 18621  				return ErrIntOverflowTx
 18622  			}
 18623  			if iNdEx >= l {
 18624  				return io.ErrUnexpectedEOF
 18625  			}
 18626  			b := dAtA[iNdEx]
 18627  			iNdEx++
 18628  			wire |= uint64(b&0x7F) << shift
 18629  			if b < 0x80 {
 18630  				break
 18631  			}
 18632  		}
 18633  		fieldNum := int32(wire >> 3)
 18634  		wireType := int(wire & 0x7)
 18635  		if wireType == 4 {
 18636  			return fmt.Errorf("proto: MsgBatchCancelDerivativeOrdersResponse: wiretype end group for non-group")
 18637  		}
 18638  		if fieldNum <= 0 {
 18639  			return fmt.Errorf("proto: MsgBatchCancelDerivativeOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 18640  		}
 18641  		switch fieldNum {
 18642  		case 1:
 18643  			if wireType == 0 {
 18644  				var v int
 18645  				for shift := uint(0); ; shift += 7 {
 18646  					if shift >= 64 {
 18647  						return ErrIntOverflowTx
 18648  					}
 18649  					if iNdEx >= l {
 18650  						return io.ErrUnexpectedEOF
 18651  					}
 18652  					b := dAtA[iNdEx]
 18653  					iNdEx++
 18654  					v |= int(b&0x7F) << shift
 18655  					if b < 0x80 {
 18656  						break
 18657  					}
 18658  				}
 18659  				m.Success = append(m.Success, bool(v != 0))
 18660  			} else if wireType == 2 {
 18661  				var packedLen int
 18662  				for shift := uint(0); ; shift += 7 {
 18663  					if shift >= 64 {
 18664  						return ErrIntOverflowTx
 18665  					}
 18666  					if iNdEx >= l {
 18667  						return io.ErrUnexpectedEOF
 18668  					}
 18669  					b := dAtA[iNdEx]
 18670  					iNdEx++
 18671  					packedLen |= int(b&0x7F) << shift
 18672  					if b < 0x80 {
 18673  						break
 18674  					}
 18675  				}
 18676  				if packedLen < 0 {
 18677  					return ErrInvalidLengthTx
 18678  				}
 18679  				postIndex := iNdEx + packedLen
 18680  				if postIndex < 0 {
 18681  					return ErrInvalidLengthTx
 18682  				}
 18683  				if postIndex > l {
 18684  					return io.ErrUnexpectedEOF
 18685  				}
 18686  				var elementCount int
 18687  				elementCount = packedLen
 18688  				if elementCount != 0 && len(m.Success) == 0 {
 18689  					m.Success = make([]bool, 0, elementCount)
 18690  				}
 18691  				for iNdEx < postIndex {
 18692  					var v int
 18693  					for shift := uint(0); ; shift += 7 {
 18694  						if shift >= 64 {
 18695  							return ErrIntOverflowTx
 18696  						}
 18697  						if iNdEx >= l {
 18698  							return io.ErrUnexpectedEOF
 18699  						}
 18700  						b := dAtA[iNdEx]
 18701  						iNdEx++
 18702  						v |= int(b&0x7F) << shift
 18703  						if b < 0x80 {
 18704  							break
 18705  						}
 18706  					}
 18707  					m.Success = append(m.Success, bool(v != 0))
 18708  				}
 18709  			} else {
 18710  				return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
 18711  			}
 18712  		default:
 18713  			iNdEx = preIndex
 18714  			skippy, err := skipTx(dAtA[iNdEx:])
 18715  			if err != nil {
 18716  				return err
 18717  			}
 18718  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18719  				return ErrInvalidLengthTx
 18720  			}
 18721  			if (iNdEx + skippy) > l {
 18722  				return io.ErrUnexpectedEOF
 18723  			}
 18724  			iNdEx += skippy
 18725  		}
 18726  	}
 18727  
 18728  	if iNdEx > l {
 18729  		return io.ErrUnexpectedEOF
 18730  	}
 18731  	return nil
 18732  }
 18733  func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
 18734  	l := len(dAtA)
 18735  	iNdEx := 0
 18736  	for iNdEx < l {
 18737  		preIndex := iNdEx
 18738  		var wire uint64
 18739  		for shift := uint(0); ; shift += 7 {
 18740  			if shift >= 64 {
 18741  				return ErrIntOverflowTx
 18742  			}
 18743  			if iNdEx >= l {
 18744  				return io.ErrUnexpectedEOF
 18745  			}
 18746  			b := dAtA[iNdEx]
 18747  			iNdEx++
 18748  			wire |= uint64(b&0x7F) << shift
 18749  			if b < 0x80 {
 18750  				break
 18751  			}
 18752  		}
 18753  		fieldNum := int32(wire >> 3)
 18754  		wireType := int(wire & 0x7)
 18755  		if wireType == 4 {
 18756  			return fmt.Errorf("proto: MsgSubaccountTransfer: wiretype end group for non-group")
 18757  		}
 18758  		if fieldNum <= 0 {
 18759  			return fmt.Errorf("proto: MsgSubaccountTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
 18760  		}
 18761  		switch fieldNum {
 18762  		case 1:
 18763  			if wireType != 2 {
 18764  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 18765  			}
 18766  			var stringLen uint64
 18767  			for shift := uint(0); ; shift += 7 {
 18768  				if shift >= 64 {
 18769  					return ErrIntOverflowTx
 18770  				}
 18771  				if iNdEx >= l {
 18772  					return io.ErrUnexpectedEOF
 18773  				}
 18774  				b := dAtA[iNdEx]
 18775  				iNdEx++
 18776  				stringLen |= uint64(b&0x7F) << shift
 18777  				if b < 0x80 {
 18778  					break
 18779  				}
 18780  			}
 18781  			intStringLen := int(stringLen)
 18782  			if intStringLen < 0 {
 18783  				return ErrInvalidLengthTx
 18784  			}
 18785  			postIndex := iNdEx + intStringLen
 18786  			if postIndex < 0 {
 18787  				return ErrInvalidLengthTx
 18788  			}
 18789  			if postIndex > l {
 18790  				return io.ErrUnexpectedEOF
 18791  			}
 18792  			m.Sender = string(dAtA[iNdEx:postIndex])
 18793  			iNdEx = postIndex
 18794  		case 2:
 18795  			if wireType != 2 {
 18796  				return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
 18797  			}
 18798  			var stringLen uint64
 18799  			for shift := uint(0); ; shift += 7 {
 18800  				if shift >= 64 {
 18801  					return ErrIntOverflowTx
 18802  				}
 18803  				if iNdEx >= l {
 18804  					return io.ErrUnexpectedEOF
 18805  				}
 18806  				b := dAtA[iNdEx]
 18807  				iNdEx++
 18808  				stringLen |= uint64(b&0x7F) << shift
 18809  				if b < 0x80 {
 18810  					break
 18811  				}
 18812  			}
 18813  			intStringLen := int(stringLen)
 18814  			if intStringLen < 0 {
 18815  				return ErrInvalidLengthTx
 18816  			}
 18817  			postIndex := iNdEx + intStringLen
 18818  			if postIndex < 0 {
 18819  				return ErrInvalidLengthTx
 18820  			}
 18821  			if postIndex > l {
 18822  				return io.ErrUnexpectedEOF
 18823  			}
 18824  			m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
 18825  			iNdEx = postIndex
 18826  		case 3:
 18827  			if wireType != 2 {
 18828  				return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
 18829  			}
 18830  			var stringLen uint64
 18831  			for shift := uint(0); ; shift += 7 {
 18832  				if shift >= 64 {
 18833  					return ErrIntOverflowTx
 18834  				}
 18835  				if iNdEx >= l {
 18836  					return io.ErrUnexpectedEOF
 18837  				}
 18838  				b := dAtA[iNdEx]
 18839  				iNdEx++
 18840  				stringLen |= uint64(b&0x7F) << shift
 18841  				if b < 0x80 {
 18842  					break
 18843  				}
 18844  			}
 18845  			intStringLen := int(stringLen)
 18846  			if intStringLen < 0 {
 18847  				return ErrInvalidLengthTx
 18848  			}
 18849  			postIndex := iNdEx + intStringLen
 18850  			if postIndex < 0 {
 18851  				return ErrInvalidLengthTx
 18852  			}
 18853  			if postIndex > l {
 18854  				return io.ErrUnexpectedEOF
 18855  			}
 18856  			m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
 18857  			iNdEx = postIndex
 18858  		case 4:
 18859  			if wireType != 2 {
 18860  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
 18861  			}
 18862  			var msglen int
 18863  			for shift := uint(0); ; shift += 7 {
 18864  				if shift >= 64 {
 18865  					return ErrIntOverflowTx
 18866  				}
 18867  				if iNdEx >= l {
 18868  					return io.ErrUnexpectedEOF
 18869  				}
 18870  				b := dAtA[iNdEx]
 18871  				iNdEx++
 18872  				msglen |= int(b&0x7F) << shift
 18873  				if b < 0x80 {
 18874  					break
 18875  				}
 18876  			}
 18877  			if msglen < 0 {
 18878  				return ErrInvalidLengthTx
 18879  			}
 18880  			postIndex := iNdEx + msglen
 18881  			if postIndex < 0 {
 18882  				return ErrInvalidLengthTx
 18883  			}
 18884  			if postIndex > l {
 18885  				return io.ErrUnexpectedEOF
 18886  			}
 18887  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18888  				return err
 18889  			}
 18890  			iNdEx = postIndex
 18891  		default:
 18892  			iNdEx = preIndex
 18893  			skippy, err := skipTx(dAtA[iNdEx:])
 18894  			if err != nil {
 18895  				return err
 18896  			}
 18897  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18898  				return ErrInvalidLengthTx
 18899  			}
 18900  			if (iNdEx + skippy) > l {
 18901  				return io.ErrUnexpectedEOF
 18902  			}
 18903  			iNdEx += skippy
 18904  		}
 18905  	}
 18906  
 18907  	if iNdEx > l {
 18908  		return io.ErrUnexpectedEOF
 18909  	}
 18910  	return nil
 18911  }
 18912  func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error {
 18913  	l := len(dAtA)
 18914  	iNdEx := 0
 18915  	for iNdEx < l {
 18916  		preIndex := iNdEx
 18917  		var wire uint64
 18918  		for shift := uint(0); ; shift += 7 {
 18919  			if shift >= 64 {
 18920  				return ErrIntOverflowTx
 18921  			}
 18922  			if iNdEx >= l {
 18923  				return io.ErrUnexpectedEOF
 18924  			}
 18925  			b := dAtA[iNdEx]
 18926  			iNdEx++
 18927  			wire |= uint64(b&0x7F) << shift
 18928  			if b < 0x80 {
 18929  				break
 18930  			}
 18931  		}
 18932  		fieldNum := int32(wire >> 3)
 18933  		wireType := int(wire & 0x7)
 18934  		if wireType == 4 {
 18935  			return fmt.Errorf("proto: MsgSubaccountTransferResponse: wiretype end group for non-group")
 18936  		}
 18937  		if fieldNum <= 0 {
 18938  			return fmt.Errorf("proto: MsgSubaccountTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 18939  		}
 18940  		switch fieldNum {
 18941  		default:
 18942  			iNdEx = preIndex
 18943  			skippy, err := skipTx(dAtA[iNdEx:])
 18944  			if err != nil {
 18945  				return err
 18946  			}
 18947  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18948  				return ErrInvalidLengthTx
 18949  			}
 18950  			if (iNdEx + skippy) > l {
 18951  				return io.ErrUnexpectedEOF
 18952  			}
 18953  			iNdEx += skippy
 18954  		}
 18955  	}
 18956  
 18957  	if iNdEx > l {
 18958  		return io.ErrUnexpectedEOF
 18959  	}
 18960  	return nil
 18961  }
 18962  func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
 18963  	l := len(dAtA)
 18964  	iNdEx := 0
 18965  	for iNdEx < l {
 18966  		preIndex := iNdEx
 18967  		var wire uint64
 18968  		for shift := uint(0); ; shift += 7 {
 18969  			if shift >= 64 {
 18970  				return ErrIntOverflowTx
 18971  			}
 18972  			if iNdEx >= l {
 18973  				return io.ErrUnexpectedEOF
 18974  			}
 18975  			b := dAtA[iNdEx]
 18976  			iNdEx++
 18977  			wire |= uint64(b&0x7F) << shift
 18978  			if b < 0x80 {
 18979  				break
 18980  			}
 18981  		}
 18982  		fieldNum := int32(wire >> 3)
 18983  		wireType := int(wire & 0x7)
 18984  		if wireType == 4 {
 18985  			return fmt.Errorf("proto: MsgExternalTransfer: wiretype end group for non-group")
 18986  		}
 18987  		if fieldNum <= 0 {
 18988  			return fmt.Errorf("proto: MsgExternalTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
 18989  		}
 18990  		switch fieldNum {
 18991  		case 1:
 18992  			if wireType != 2 {
 18993  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 18994  			}
 18995  			var stringLen uint64
 18996  			for shift := uint(0); ; shift += 7 {
 18997  				if shift >= 64 {
 18998  					return ErrIntOverflowTx
 18999  				}
 19000  				if iNdEx >= l {
 19001  					return io.ErrUnexpectedEOF
 19002  				}
 19003  				b := dAtA[iNdEx]
 19004  				iNdEx++
 19005  				stringLen |= uint64(b&0x7F) << shift
 19006  				if b < 0x80 {
 19007  					break
 19008  				}
 19009  			}
 19010  			intStringLen := int(stringLen)
 19011  			if intStringLen < 0 {
 19012  				return ErrInvalidLengthTx
 19013  			}
 19014  			postIndex := iNdEx + intStringLen
 19015  			if postIndex < 0 {
 19016  				return ErrInvalidLengthTx
 19017  			}
 19018  			if postIndex > l {
 19019  				return io.ErrUnexpectedEOF
 19020  			}
 19021  			m.Sender = string(dAtA[iNdEx:postIndex])
 19022  			iNdEx = postIndex
 19023  		case 2:
 19024  			if wireType != 2 {
 19025  				return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
 19026  			}
 19027  			var stringLen uint64
 19028  			for shift := uint(0); ; shift += 7 {
 19029  				if shift >= 64 {
 19030  					return ErrIntOverflowTx
 19031  				}
 19032  				if iNdEx >= l {
 19033  					return io.ErrUnexpectedEOF
 19034  				}
 19035  				b := dAtA[iNdEx]
 19036  				iNdEx++
 19037  				stringLen |= uint64(b&0x7F) << shift
 19038  				if b < 0x80 {
 19039  					break
 19040  				}
 19041  			}
 19042  			intStringLen := int(stringLen)
 19043  			if intStringLen < 0 {
 19044  				return ErrInvalidLengthTx
 19045  			}
 19046  			postIndex := iNdEx + intStringLen
 19047  			if postIndex < 0 {
 19048  				return ErrInvalidLengthTx
 19049  			}
 19050  			if postIndex > l {
 19051  				return io.ErrUnexpectedEOF
 19052  			}
 19053  			m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
 19054  			iNdEx = postIndex
 19055  		case 3:
 19056  			if wireType != 2 {
 19057  				return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
 19058  			}
 19059  			var stringLen uint64
 19060  			for shift := uint(0); ; shift += 7 {
 19061  				if shift >= 64 {
 19062  					return ErrIntOverflowTx
 19063  				}
 19064  				if iNdEx >= l {
 19065  					return io.ErrUnexpectedEOF
 19066  				}
 19067  				b := dAtA[iNdEx]
 19068  				iNdEx++
 19069  				stringLen |= uint64(b&0x7F) << shift
 19070  				if b < 0x80 {
 19071  					break
 19072  				}
 19073  			}
 19074  			intStringLen := int(stringLen)
 19075  			if intStringLen < 0 {
 19076  				return ErrInvalidLengthTx
 19077  			}
 19078  			postIndex := iNdEx + intStringLen
 19079  			if postIndex < 0 {
 19080  				return ErrInvalidLengthTx
 19081  			}
 19082  			if postIndex > l {
 19083  				return io.ErrUnexpectedEOF
 19084  			}
 19085  			m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
 19086  			iNdEx = postIndex
 19087  		case 4:
 19088  			if wireType != 2 {
 19089  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
 19090  			}
 19091  			var msglen int
 19092  			for shift := uint(0); ; shift += 7 {
 19093  				if shift >= 64 {
 19094  					return ErrIntOverflowTx
 19095  				}
 19096  				if iNdEx >= l {
 19097  					return io.ErrUnexpectedEOF
 19098  				}
 19099  				b := dAtA[iNdEx]
 19100  				iNdEx++
 19101  				msglen |= int(b&0x7F) << shift
 19102  				if b < 0x80 {
 19103  					break
 19104  				}
 19105  			}
 19106  			if msglen < 0 {
 19107  				return ErrInvalidLengthTx
 19108  			}
 19109  			postIndex := iNdEx + msglen
 19110  			if postIndex < 0 {
 19111  				return ErrInvalidLengthTx
 19112  			}
 19113  			if postIndex > l {
 19114  				return io.ErrUnexpectedEOF
 19115  			}
 19116  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19117  				return err
 19118  			}
 19119  			iNdEx = postIndex
 19120  		default:
 19121  			iNdEx = preIndex
 19122  			skippy, err := skipTx(dAtA[iNdEx:])
 19123  			if err != nil {
 19124  				return err
 19125  			}
 19126  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19127  				return ErrInvalidLengthTx
 19128  			}
 19129  			if (iNdEx + skippy) > l {
 19130  				return io.ErrUnexpectedEOF
 19131  			}
 19132  			iNdEx += skippy
 19133  		}
 19134  	}
 19135  
 19136  	if iNdEx > l {
 19137  		return io.ErrUnexpectedEOF
 19138  	}
 19139  	return nil
 19140  }
 19141  func (m *MsgExternalTransferResponse) Unmarshal(dAtA []byte) error {
 19142  	l := len(dAtA)
 19143  	iNdEx := 0
 19144  	for iNdEx < l {
 19145  		preIndex := iNdEx
 19146  		var wire uint64
 19147  		for shift := uint(0); ; shift += 7 {
 19148  			if shift >= 64 {
 19149  				return ErrIntOverflowTx
 19150  			}
 19151  			if iNdEx >= l {
 19152  				return io.ErrUnexpectedEOF
 19153  			}
 19154  			b := dAtA[iNdEx]
 19155  			iNdEx++
 19156  			wire |= uint64(b&0x7F) << shift
 19157  			if b < 0x80 {
 19158  				break
 19159  			}
 19160  		}
 19161  		fieldNum := int32(wire >> 3)
 19162  		wireType := int(wire & 0x7)
 19163  		if wireType == 4 {
 19164  			return fmt.Errorf("proto: MsgExternalTransferResponse: wiretype end group for non-group")
 19165  		}
 19166  		if fieldNum <= 0 {
 19167  			return fmt.Errorf("proto: MsgExternalTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 19168  		}
 19169  		switch fieldNum {
 19170  		default:
 19171  			iNdEx = preIndex
 19172  			skippy, err := skipTx(dAtA[iNdEx:])
 19173  			if err != nil {
 19174  				return err
 19175  			}
 19176  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19177  				return ErrInvalidLengthTx
 19178  			}
 19179  			if (iNdEx + skippy) > l {
 19180  				return io.ErrUnexpectedEOF
 19181  			}
 19182  			iNdEx += skippy
 19183  		}
 19184  	}
 19185  
 19186  	if iNdEx > l {
 19187  		return io.ErrUnexpectedEOF
 19188  	}
 19189  	return nil
 19190  }
 19191  func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
 19192  	l := len(dAtA)
 19193  	iNdEx := 0
 19194  	for iNdEx < l {
 19195  		preIndex := iNdEx
 19196  		var wire uint64
 19197  		for shift := uint(0); ; shift += 7 {
 19198  			if shift >= 64 {
 19199  				return ErrIntOverflowTx
 19200  			}
 19201  			if iNdEx >= l {
 19202  				return io.ErrUnexpectedEOF
 19203  			}
 19204  			b := dAtA[iNdEx]
 19205  			iNdEx++
 19206  			wire |= uint64(b&0x7F) << shift
 19207  			if b < 0x80 {
 19208  				break
 19209  			}
 19210  		}
 19211  		fieldNum := int32(wire >> 3)
 19212  		wireType := int(wire & 0x7)
 19213  		if wireType == 4 {
 19214  			return fmt.Errorf("proto: MsgLiquidatePosition: wiretype end group for non-group")
 19215  		}
 19216  		if fieldNum <= 0 {
 19217  			return fmt.Errorf("proto: MsgLiquidatePosition: illegal tag %d (wire type %d)", fieldNum, wire)
 19218  		}
 19219  		switch fieldNum {
 19220  		case 1:
 19221  			if wireType != 2 {
 19222  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 19223  			}
 19224  			var stringLen uint64
 19225  			for shift := uint(0); ; shift += 7 {
 19226  				if shift >= 64 {
 19227  					return ErrIntOverflowTx
 19228  				}
 19229  				if iNdEx >= l {
 19230  					return io.ErrUnexpectedEOF
 19231  				}
 19232  				b := dAtA[iNdEx]
 19233  				iNdEx++
 19234  				stringLen |= uint64(b&0x7F) << shift
 19235  				if b < 0x80 {
 19236  					break
 19237  				}
 19238  			}
 19239  			intStringLen := int(stringLen)
 19240  			if intStringLen < 0 {
 19241  				return ErrInvalidLengthTx
 19242  			}
 19243  			postIndex := iNdEx + intStringLen
 19244  			if postIndex < 0 {
 19245  				return ErrInvalidLengthTx
 19246  			}
 19247  			if postIndex > l {
 19248  				return io.ErrUnexpectedEOF
 19249  			}
 19250  			m.Sender = string(dAtA[iNdEx:postIndex])
 19251  			iNdEx = postIndex
 19252  		case 2:
 19253  			if wireType != 2 {
 19254  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 19255  			}
 19256  			var stringLen uint64
 19257  			for shift := uint(0); ; shift += 7 {
 19258  				if shift >= 64 {
 19259  					return ErrIntOverflowTx
 19260  				}
 19261  				if iNdEx >= l {
 19262  					return io.ErrUnexpectedEOF
 19263  				}
 19264  				b := dAtA[iNdEx]
 19265  				iNdEx++
 19266  				stringLen |= uint64(b&0x7F) << shift
 19267  				if b < 0x80 {
 19268  					break
 19269  				}
 19270  			}
 19271  			intStringLen := int(stringLen)
 19272  			if intStringLen < 0 {
 19273  				return ErrInvalidLengthTx
 19274  			}
 19275  			postIndex := iNdEx + intStringLen
 19276  			if postIndex < 0 {
 19277  				return ErrInvalidLengthTx
 19278  			}
 19279  			if postIndex > l {
 19280  				return io.ErrUnexpectedEOF
 19281  			}
 19282  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 19283  			iNdEx = postIndex
 19284  		case 3:
 19285  			if wireType != 2 {
 19286  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 19287  			}
 19288  			var stringLen uint64
 19289  			for shift := uint(0); ; shift += 7 {
 19290  				if shift >= 64 {
 19291  					return ErrIntOverflowTx
 19292  				}
 19293  				if iNdEx >= l {
 19294  					return io.ErrUnexpectedEOF
 19295  				}
 19296  				b := dAtA[iNdEx]
 19297  				iNdEx++
 19298  				stringLen |= uint64(b&0x7F) << shift
 19299  				if b < 0x80 {
 19300  					break
 19301  				}
 19302  			}
 19303  			intStringLen := int(stringLen)
 19304  			if intStringLen < 0 {
 19305  				return ErrInvalidLengthTx
 19306  			}
 19307  			postIndex := iNdEx + intStringLen
 19308  			if postIndex < 0 {
 19309  				return ErrInvalidLengthTx
 19310  			}
 19311  			if postIndex > l {
 19312  				return io.ErrUnexpectedEOF
 19313  			}
 19314  			m.MarketId = string(dAtA[iNdEx:postIndex])
 19315  			iNdEx = postIndex
 19316  		case 4:
 19317  			if wireType != 2 {
 19318  				return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
 19319  			}
 19320  			var msglen int
 19321  			for shift := uint(0); ; shift += 7 {
 19322  				if shift >= 64 {
 19323  					return ErrIntOverflowTx
 19324  				}
 19325  				if iNdEx >= l {
 19326  					return io.ErrUnexpectedEOF
 19327  				}
 19328  				b := dAtA[iNdEx]
 19329  				iNdEx++
 19330  				msglen |= int(b&0x7F) << shift
 19331  				if b < 0x80 {
 19332  					break
 19333  				}
 19334  			}
 19335  			if msglen < 0 {
 19336  				return ErrInvalidLengthTx
 19337  			}
 19338  			postIndex := iNdEx + msglen
 19339  			if postIndex < 0 {
 19340  				return ErrInvalidLengthTx
 19341  			}
 19342  			if postIndex > l {
 19343  				return io.ErrUnexpectedEOF
 19344  			}
 19345  			if m.Order == nil {
 19346  				m.Order = &DerivativeOrder{}
 19347  			}
 19348  			if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19349  				return err
 19350  			}
 19351  			iNdEx = postIndex
 19352  		default:
 19353  			iNdEx = preIndex
 19354  			skippy, err := skipTx(dAtA[iNdEx:])
 19355  			if err != nil {
 19356  				return err
 19357  			}
 19358  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19359  				return ErrInvalidLengthTx
 19360  			}
 19361  			if (iNdEx + skippy) > l {
 19362  				return io.ErrUnexpectedEOF
 19363  			}
 19364  			iNdEx += skippy
 19365  		}
 19366  	}
 19367  
 19368  	if iNdEx > l {
 19369  		return io.ErrUnexpectedEOF
 19370  	}
 19371  	return nil
 19372  }
 19373  func (m *MsgLiquidatePositionResponse) Unmarshal(dAtA []byte) error {
 19374  	l := len(dAtA)
 19375  	iNdEx := 0
 19376  	for iNdEx < l {
 19377  		preIndex := iNdEx
 19378  		var wire uint64
 19379  		for shift := uint(0); ; shift += 7 {
 19380  			if shift >= 64 {
 19381  				return ErrIntOverflowTx
 19382  			}
 19383  			if iNdEx >= l {
 19384  				return io.ErrUnexpectedEOF
 19385  			}
 19386  			b := dAtA[iNdEx]
 19387  			iNdEx++
 19388  			wire |= uint64(b&0x7F) << shift
 19389  			if b < 0x80 {
 19390  				break
 19391  			}
 19392  		}
 19393  		fieldNum := int32(wire >> 3)
 19394  		wireType := int(wire & 0x7)
 19395  		if wireType == 4 {
 19396  			return fmt.Errorf("proto: MsgLiquidatePositionResponse: wiretype end group for non-group")
 19397  		}
 19398  		if fieldNum <= 0 {
 19399  			return fmt.Errorf("proto: MsgLiquidatePositionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 19400  		}
 19401  		switch fieldNum {
 19402  		default:
 19403  			iNdEx = preIndex
 19404  			skippy, err := skipTx(dAtA[iNdEx:])
 19405  			if err != nil {
 19406  				return err
 19407  			}
 19408  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19409  				return ErrInvalidLengthTx
 19410  			}
 19411  			if (iNdEx + skippy) > l {
 19412  				return io.ErrUnexpectedEOF
 19413  			}
 19414  			iNdEx += skippy
 19415  		}
 19416  	}
 19417  
 19418  	if iNdEx > l {
 19419  		return io.ErrUnexpectedEOF
 19420  	}
 19421  	return nil
 19422  }
 19423  func (m *MsgEmergencySettleMarket) Unmarshal(dAtA []byte) error {
 19424  	l := len(dAtA)
 19425  	iNdEx := 0
 19426  	for iNdEx < l {
 19427  		preIndex := iNdEx
 19428  		var wire uint64
 19429  		for shift := uint(0); ; shift += 7 {
 19430  			if shift >= 64 {
 19431  				return ErrIntOverflowTx
 19432  			}
 19433  			if iNdEx >= l {
 19434  				return io.ErrUnexpectedEOF
 19435  			}
 19436  			b := dAtA[iNdEx]
 19437  			iNdEx++
 19438  			wire |= uint64(b&0x7F) << shift
 19439  			if b < 0x80 {
 19440  				break
 19441  			}
 19442  		}
 19443  		fieldNum := int32(wire >> 3)
 19444  		wireType := int(wire & 0x7)
 19445  		if wireType == 4 {
 19446  			return fmt.Errorf("proto: MsgEmergencySettleMarket: wiretype end group for non-group")
 19447  		}
 19448  		if fieldNum <= 0 {
 19449  			return fmt.Errorf("proto: MsgEmergencySettleMarket: illegal tag %d (wire type %d)", fieldNum, wire)
 19450  		}
 19451  		switch fieldNum {
 19452  		case 1:
 19453  			if wireType != 2 {
 19454  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 19455  			}
 19456  			var stringLen uint64
 19457  			for shift := uint(0); ; shift += 7 {
 19458  				if shift >= 64 {
 19459  					return ErrIntOverflowTx
 19460  				}
 19461  				if iNdEx >= l {
 19462  					return io.ErrUnexpectedEOF
 19463  				}
 19464  				b := dAtA[iNdEx]
 19465  				iNdEx++
 19466  				stringLen |= uint64(b&0x7F) << shift
 19467  				if b < 0x80 {
 19468  					break
 19469  				}
 19470  			}
 19471  			intStringLen := int(stringLen)
 19472  			if intStringLen < 0 {
 19473  				return ErrInvalidLengthTx
 19474  			}
 19475  			postIndex := iNdEx + intStringLen
 19476  			if postIndex < 0 {
 19477  				return ErrInvalidLengthTx
 19478  			}
 19479  			if postIndex > l {
 19480  				return io.ErrUnexpectedEOF
 19481  			}
 19482  			m.Sender = string(dAtA[iNdEx:postIndex])
 19483  			iNdEx = postIndex
 19484  		case 2:
 19485  			if wireType != 2 {
 19486  				return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
 19487  			}
 19488  			var stringLen uint64
 19489  			for shift := uint(0); ; shift += 7 {
 19490  				if shift >= 64 {
 19491  					return ErrIntOverflowTx
 19492  				}
 19493  				if iNdEx >= l {
 19494  					return io.ErrUnexpectedEOF
 19495  				}
 19496  				b := dAtA[iNdEx]
 19497  				iNdEx++
 19498  				stringLen |= uint64(b&0x7F) << shift
 19499  				if b < 0x80 {
 19500  					break
 19501  				}
 19502  			}
 19503  			intStringLen := int(stringLen)
 19504  			if intStringLen < 0 {
 19505  				return ErrInvalidLengthTx
 19506  			}
 19507  			postIndex := iNdEx + intStringLen
 19508  			if postIndex < 0 {
 19509  				return ErrInvalidLengthTx
 19510  			}
 19511  			if postIndex > l {
 19512  				return io.ErrUnexpectedEOF
 19513  			}
 19514  			m.SubaccountId = string(dAtA[iNdEx:postIndex])
 19515  			iNdEx = postIndex
 19516  		case 3:
 19517  			if wireType != 2 {
 19518  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 19519  			}
 19520  			var stringLen uint64
 19521  			for shift := uint(0); ; shift += 7 {
 19522  				if shift >= 64 {
 19523  					return ErrIntOverflowTx
 19524  				}
 19525  				if iNdEx >= l {
 19526  					return io.ErrUnexpectedEOF
 19527  				}
 19528  				b := dAtA[iNdEx]
 19529  				iNdEx++
 19530  				stringLen |= uint64(b&0x7F) << shift
 19531  				if b < 0x80 {
 19532  					break
 19533  				}
 19534  			}
 19535  			intStringLen := int(stringLen)
 19536  			if intStringLen < 0 {
 19537  				return ErrInvalidLengthTx
 19538  			}
 19539  			postIndex := iNdEx + intStringLen
 19540  			if postIndex < 0 {
 19541  				return ErrInvalidLengthTx
 19542  			}
 19543  			if postIndex > l {
 19544  				return io.ErrUnexpectedEOF
 19545  			}
 19546  			m.MarketId = string(dAtA[iNdEx:postIndex])
 19547  			iNdEx = postIndex
 19548  		default:
 19549  			iNdEx = preIndex
 19550  			skippy, err := skipTx(dAtA[iNdEx:])
 19551  			if err != nil {
 19552  				return err
 19553  			}
 19554  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19555  				return ErrInvalidLengthTx
 19556  			}
 19557  			if (iNdEx + skippy) > l {
 19558  				return io.ErrUnexpectedEOF
 19559  			}
 19560  			iNdEx += skippy
 19561  		}
 19562  	}
 19563  
 19564  	if iNdEx > l {
 19565  		return io.ErrUnexpectedEOF
 19566  	}
 19567  	return nil
 19568  }
 19569  func (m *MsgEmergencySettleMarketResponse) Unmarshal(dAtA []byte) error {
 19570  	l := len(dAtA)
 19571  	iNdEx := 0
 19572  	for iNdEx < l {
 19573  		preIndex := iNdEx
 19574  		var wire uint64
 19575  		for shift := uint(0); ; shift += 7 {
 19576  			if shift >= 64 {
 19577  				return ErrIntOverflowTx
 19578  			}
 19579  			if iNdEx >= l {
 19580  				return io.ErrUnexpectedEOF
 19581  			}
 19582  			b := dAtA[iNdEx]
 19583  			iNdEx++
 19584  			wire |= uint64(b&0x7F) << shift
 19585  			if b < 0x80 {
 19586  				break
 19587  			}
 19588  		}
 19589  		fieldNum := int32(wire >> 3)
 19590  		wireType := int(wire & 0x7)
 19591  		if wireType == 4 {
 19592  			return fmt.Errorf("proto: MsgEmergencySettleMarketResponse: wiretype end group for non-group")
 19593  		}
 19594  		if fieldNum <= 0 {
 19595  			return fmt.Errorf("proto: MsgEmergencySettleMarketResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 19596  		}
 19597  		switch fieldNum {
 19598  		default:
 19599  			iNdEx = preIndex
 19600  			skippy, err := skipTx(dAtA[iNdEx:])
 19601  			if err != nil {
 19602  				return err
 19603  			}
 19604  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19605  				return ErrInvalidLengthTx
 19606  			}
 19607  			if (iNdEx + skippy) > l {
 19608  				return io.ErrUnexpectedEOF
 19609  			}
 19610  			iNdEx += skippy
 19611  		}
 19612  	}
 19613  
 19614  	if iNdEx > l {
 19615  		return io.ErrUnexpectedEOF
 19616  	}
 19617  	return nil
 19618  }
 19619  func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
 19620  	l := len(dAtA)
 19621  	iNdEx := 0
 19622  	for iNdEx < l {
 19623  		preIndex := iNdEx
 19624  		var wire uint64
 19625  		for shift := uint(0); ; shift += 7 {
 19626  			if shift >= 64 {
 19627  				return ErrIntOverflowTx
 19628  			}
 19629  			if iNdEx >= l {
 19630  				return io.ErrUnexpectedEOF
 19631  			}
 19632  			b := dAtA[iNdEx]
 19633  			iNdEx++
 19634  			wire |= uint64(b&0x7F) << shift
 19635  			if b < 0x80 {
 19636  				break
 19637  			}
 19638  		}
 19639  		fieldNum := int32(wire >> 3)
 19640  		wireType := int(wire & 0x7)
 19641  		if wireType == 4 {
 19642  			return fmt.Errorf("proto: MsgIncreasePositionMargin: wiretype end group for non-group")
 19643  		}
 19644  		if fieldNum <= 0 {
 19645  			return fmt.Errorf("proto: MsgIncreasePositionMargin: illegal tag %d (wire type %d)", fieldNum, wire)
 19646  		}
 19647  		switch fieldNum {
 19648  		case 1:
 19649  			if wireType != 2 {
 19650  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 19651  			}
 19652  			var stringLen uint64
 19653  			for shift := uint(0); ; shift += 7 {
 19654  				if shift >= 64 {
 19655  					return ErrIntOverflowTx
 19656  				}
 19657  				if iNdEx >= l {
 19658  					return io.ErrUnexpectedEOF
 19659  				}
 19660  				b := dAtA[iNdEx]
 19661  				iNdEx++
 19662  				stringLen |= uint64(b&0x7F) << shift
 19663  				if b < 0x80 {
 19664  					break
 19665  				}
 19666  			}
 19667  			intStringLen := int(stringLen)
 19668  			if intStringLen < 0 {
 19669  				return ErrInvalidLengthTx
 19670  			}
 19671  			postIndex := iNdEx + intStringLen
 19672  			if postIndex < 0 {
 19673  				return ErrInvalidLengthTx
 19674  			}
 19675  			if postIndex > l {
 19676  				return io.ErrUnexpectedEOF
 19677  			}
 19678  			m.Sender = string(dAtA[iNdEx:postIndex])
 19679  			iNdEx = postIndex
 19680  		case 2:
 19681  			if wireType != 2 {
 19682  				return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
 19683  			}
 19684  			var stringLen uint64
 19685  			for shift := uint(0); ; shift += 7 {
 19686  				if shift >= 64 {
 19687  					return ErrIntOverflowTx
 19688  				}
 19689  				if iNdEx >= l {
 19690  					return io.ErrUnexpectedEOF
 19691  				}
 19692  				b := dAtA[iNdEx]
 19693  				iNdEx++
 19694  				stringLen |= uint64(b&0x7F) << shift
 19695  				if b < 0x80 {
 19696  					break
 19697  				}
 19698  			}
 19699  			intStringLen := int(stringLen)
 19700  			if intStringLen < 0 {
 19701  				return ErrInvalidLengthTx
 19702  			}
 19703  			postIndex := iNdEx + intStringLen
 19704  			if postIndex < 0 {
 19705  				return ErrInvalidLengthTx
 19706  			}
 19707  			if postIndex > l {
 19708  				return io.ErrUnexpectedEOF
 19709  			}
 19710  			m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
 19711  			iNdEx = postIndex
 19712  		case 3:
 19713  			if wireType != 2 {
 19714  				return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
 19715  			}
 19716  			var stringLen uint64
 19717  			for shift := uint(0); ; shift += 7 {
 19718  				if shift >= 64 {
 19719  					return ErrIntOverflowTx
 19720  				}
 19721  				if iNdEx >= l {
 19722  					return io.ErrUnexpectedEOF
 19723  				}
 19724  				b := dAtA[iNdEx]
 19725  				iNdEx++
 19726  				stringLen |= uint64(b&0x7F) << shift
 19727  				if b < 0x80 {
 19728  					break
 19729  				}
 19730  			}
 19731  			intStringLen := int(stringLen)
 19732  			if intStringLen < 0 {
 19733  				return ErrInvalidLengthTx
 19734  			}
 19735  			postIndex := iNdEx + intStringLen
 19736  			if postIndex < 0 {
 19737  				return ErrInvalidLengthTx
 19738  			}
 19739  			if postIndex > l {
 19740  				return io.ErrUnexpectedEOF
 19741  			}
 19742  			m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
 19743  			iNdEx = postIndex
 19744  		case 4:
 19745  			if wireType != 2 {
 19746  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 19747  			}
 19748  			var stringLen uint64
 19749  			for shift := uint(0); ; shift += 7 {
 19750  				if shift >= 64 {
 19751  					return ErrIntOverflowTx
 19752  				}
 19753  				if iNdEx >= l {
 19754  					return io.ErrUnexpectedEOF
 19755  				}
 19756  				b := dAtA[iNdEx]
 19757  				iNdEx++
 19758  				stringLen |= uint64(b&0x7F) << shift
 19759  				if b < 0x80 {
 19760  					break
 19761  				}
 19762  			}
 19763  			intStringLen := int(stringLen)
 19764  			if intStringLen < 0 {
 19765  				return ErrInvalidLengthTx
 19766  			}
 19767  			postIndex := iNdEx + intStringLen
 19768  			if postIndex < 0 {
 19769  				return ErrInvalidLengthTx
 19770  			}
 19771  			if postIndex > l {
 19772  				return io.ErrUnexpectedEOF
 19773  			}
 19774  			m.MarketId = string(dAtA[iNdEx:postIndex])
 19775  			iNdEx = postIndex
 19776  		case 5:
 19777  			if wireType != 2 {
 19778  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
 19779  			}
 19780  			var stringLen uint64
 19781  			for shift := uint(0); ; shift += 7 {
 19782  				if shift >= 64 {
 19783  					return ErrIntOverflowTx
 19784  				}
 19785  				if iNdEx >= l {
 19786  					return io.ErrUnexpectedEOF
 19787  				}
 19788  				b := dAtA[iNdEx]
 19789  				iNdEx++
 19790  				stringLen |= uint64(b&0x7F) << shift
 19791  				if b < 0x80 {
 19792  					break
 19793  				}
 19794  			}
 19795  			intStringLen := int(stringLen)
 19796  			if intStringLen < 0 {
 19797  				return ErrInvalidLengthTx
 19798  			}
 19799  			postIndex := iNdEx + intStringLen
 19800  			if postIndex < 0 {
 19801  				return ErrInvalidLengthTx
 19802  			}
 19803  			if postIndex > l {
 19804  				return io.ErrUnexpectedEOF
 19805  			}
 19806  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19807  				return err
 19808  			}
 19809  			iNdEx = postIndex
 19810  		default:
 19811  			iNdEx = preIndex
 19812  			skippy, err := skipTx(dAtA[iNdEx:])
 19813  			if err != nil {
 19814  				return err
 19815  			}
 19816  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19817  				return ErrInvalidLengthTx
 19818  			}
 19819  			if (iNdEx + skippy) > l {
 19820  				return io.ErrUnexpectedEOF
 19821  			}
 19822  			iNdEx += skippy
 19823  		}
 19824  	}
 19825  
 19826  	if iNdEx > l {
 19827  		return io.ErrUnexpectedEOF
 19828  	}
 19829  	return nil
 19830  }
 19831  func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error {
 19832  	l := len(dAtA)
 19833  	iNdEx := 0
 19834  	for iNdEx < l {
 19835  		preIndex := iNdEx
 19836  		var wire uint64
 19837  		for shift := uint(0); ; shift += 7 {
 19838  			if shift >= 64 {
 19839  				return ErrIntOverflowTx
 19840  			}
 19841  			if iNdEx >= l {
 19842  				return io.ErrUnexpectedEOF
 19843  			}
 19844  			b := dAtA[iNdEx]
 19845  			iNdEx++
 19846  			wire |= uint64(b&0x7F) << shift
 19847  			if b < 0x80 {
 19848  				break
 19849  			}
 19850  		}
 19851  		fieldNum := int32(wire >> 3)
 19852  		wireType := int(wire & 0x7)
 19853  		if wireType == 4 {
 19854  			return fmt.Errorf("proto: MsgIncreasePositionMarginResponse: wiretype end group for non-group")
 19855  		}
 19856  		if fieldNum <= 0 {
 19857  			return fmt.Errorf("proto: MsgIncreasePositionMarginResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 19858  		}
 19859  		switch fieldNum {
 19860  		default:
 19861  			iNdEx = preIndex
 19862  			skippy, err := skipTx(dAtA[iNdEx:])
 19863  			if err != nil {
 19864  				return err
 19865  			}
 19866  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19867  				return ErrInvalidLengthTx
 19868  			}
 19869  			if (iNdEx + skippy) > l {
 19870  				return io.ErrUnexpectedEOF
 19871  			}
 19872  			iNdEx += skippy
 19873  		}
 19874  	}
 19875  
 19876  	if iNdEx > l {
 19877  		return io.ErrUnexpectedEOF
 19878  	}
 19879  	return nil
 19880  }
 19881  func (m *MsgDecreasePositionMargin) Unmarshal(dAtA []byte) error {
 19882  	l := len(dAtA)
 19883  	iNdEx := 0
 19884  	for iNdEx < l {
 19885  		preIndex := iNdEx
 19886  		var wire uint64
 19887  		for shift := uint(0); ; shift += 7 {
 19888  			if shift >= 64 {
 19889  				return ErrIntOverflowTx
 19890  			}
 19891  			if iNdEx >= l {
 19892  				return io.ErrUnexpectedEOF
 19893  			}
 19894  			b := dAtA[iNdEx]
 19895  			iNdEx++
 19896  			wire |= uint64(b&0x7F) << shift
 19897  			if b < 0x80 {
 19898  				break
 19899  			}
 19900  		}
 19901  		fieldNum := int32(wire >> 3)
 19902  		wireType := int(wire & 0x7)
 19903  		if wireType == 4 {
 19904  			return fmt.Errorf("proto: MsgDecreasePositionMargin: wiretype end group for non-group")
 19905  		}
 19906  		if fieldNum <= 0 {
 19907  			return fmt.Errorf("proto: MsgDecreasePositionMargin: illegal tag %d (wire type %d)", fieldNum, wire)
 19908  		}
 19909  		switch fieldNum {
 19910  		case 1:
 19911  			if wireType != 2 {
 19912  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 19913  			}
 19914  			var stringLen uint64
 19915  			for shift := uint(0); ; shift += 7 {
 19916  				if shift >= 64 {
 19917  					return ErrIntOverflowTx
 19918  				}
 19919  				if iNdEx >= l {
 19920  					return io.ErrUnexpectedEOF
 19921  				}
 19922  				b := dAtA[iNdEx]
 19923  				iNdEx++
 19924  				stringLen |= uint64(b&0x7F) << shift
 19925  				if b < 0x80 {
 19926  					break
 19927  				}
 19928  			}
 19929  			intStringLen := int(stringLen)
 19930  			if intStringLen < 0 {
 19931  				return ErrInvalidLengthTx
 19932  			}
 19933  			postIndex := iNdEx + intStringLen
 19934  			if postIndex < 0 {
 19935  				return ErrInvalidLengthTx
 19936  			}
 19937  			if postIndex > l {
 19938  				return io.ErrUnexpectedEOF
 19939  			}
 19940  			m.Sender = string(dAtA[iNdEx:postIndex])
 19941  			iNdEx = postIndex
 19942  		case 2:
 19943  			if wireType != 2 {
 19944  				return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
 19945  			}
 19946  			var stringLen uint64
 19947  			for shift := uint(0); ; shift += 7 {
 19948  				if shift >= 64 {
 19949  					return ErrIntOverflowTx
 19950  				}
 19951  				if iNdEx >= l {
 19952  					return io.ErrUnexpectedEOF
 19953  				}
 19954  				b := dAtA[iNdEx]
 19955  				iNdEx++
 19956  				stringLen |= uint64(b&0x7F) << shift
 19957  				if b < 0x80 {
 19958  					break
 19959  				}
 19960  			}
 19961  			intStringLen := int(stringLen)
 19962  			if intStringLen < 0 {
 19963  				return ErrInvalidLengthTx
 19964  			}
 19965  			postIndex := iNdEx + intStringLen
 19966  			if postIndex < 0 {
 19967  				return ErrInvalidLengthTx
 19968  			}
 19969  			if postIndex > l {
 19970  				return io.ErrUnexpectedEOF
 19971  			}
 19972  			m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
 19973  			iNdEx = postIndex
 19974  		case 3:
 19975  			if wireType != 2 {
 19976  				return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
 19977  			}
 19978  			var stringLen uint64
 19979  			for shift := uint(0); ; shift += 7 {
 19980  				if shift >= 64 {
 19981  					return ErrIntOverflowTx
 19982  				}
 19983  				if iNdEx >= l {
 19984  					return io.ErrUnexpectedEOF
 19985  				}
 19986  				b := dAtA[iNdEx]
 19987  				iNdEx++
 19988  				stringLen |= uint64(b&0x7F) << shift
 19989  				if b < 0x80 {
 19990  					break
 19991  				}
 19992  			}
 19993  			intStringLen := int(stringLen)
 19994  			if intStringLen < 0 {
 19995  				return ErrInvalidLengthTx
 19996  			}
 19997  			postIndex := iNdEx + intStringLen
 19998  			if postIndex < 0 {
 19999  				return ErrInvalidLengthTx
 20000  			}
 20001  			if postIndex > l {
 20002  				return io.ErrUnexpectedEOF
 20003  			}
 20004  			m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
 20005  			iNdEx = postIndex
 20006  		case 4:
 20007  			if wireType != 2 {
 20008  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 20009  			}
 20010  			var stringLen uint64
 20011  			for shift := uint(0); ; shift += 7 {
 20012  				if shift >= 64 {
 20013  					return ErrIntOverflowTx
 20014  				}
 20015  				if iNdEx >= l {
 20016  					return io.ErrUnexpectedEOF
 20017  				}
 20018  				b := dAtA[iNdEx]
 20019  				iNdEx++
 20020  				stringLen |= uint64(b&0x7F) << shift
 20021  				if b < 0x80 {
 20022  					break
 20023  				}
 20024  			}
 20025  			intStringLen := int(stringLen)
 20026  			if intStringLen < 0 {
 20027  				return ErrInvalidLengthTx
 20028  			}
 20029  			postIndex := iNdEx + intStringLen
 20030  			if postIndex < 0 {
 20031  				return ErrInvalidLengthTx
 20032  			}
 20033  			if postIndex > l {
 20034  				return io.ErrUnexpectedEOF
 20035  			}
 20036  			m.MarketId = string(dAtA[iNdEx:postIndex])
 20037  			iNdEx = postIndex
 20038  		case 5:
 20039  			if wireType != 2 {
 20040  				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
 20041  			}
 20042  			var stringLen uint64
 20043  			for shift := uint(0); ; shift += 7 {
 20044  				if shift >= 64 {
 20045  					return ErrIntOverflowTx
 20046  				}
 20047  				if iNdEx >= l {
 20048  					return io.ErrUnexpectedEOF
 20049  				}
 20050  				b := dAtA[iNdEx]
 20051  				iNdEx++
 20052  				stringLen |= uint64(b&0x7F) << shift
 20053  				if b < 0x80 {
 20054  					break
 20055  				}
 20056  			}
 20057  			intStringLen := int(stringLen)
 20058  			if intStringLen < 0 {
 20059  				return ErrInvalidLengthTx
 20060  			}
 20061  			postIndex := iNdEx + intStringLen
 20062  			if postIndex < 0 {
 20063  				return ErrInvalidLengthTx
 20064  			}
 20065  			if postIndex > l {
 20066  				return io.ErrUnexpectedEOF
 20067  			}
 20068  			if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20069  				return err
 20070  			}
 20071  			iNdEx = postIndex
 20072  		default:
 20073  			iNdEx = preIndex
 20074  			skippy, err := skipTx(dAtA[iNdEx:])
 20075  			if err != nil {
 20076  				return err
 20077  			}
 20078  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20079  				return ErrInvalidLengthTx
 20080  			}
 20081  			if (iNdEx + skippy) > l {
 20082  				return io.ErrUnexpectedEOF
 20083  			}
 20084  			iNdEx += skippy
 20085  		}
 20086  	}
 20087  
 20088  	if iNdEx > l {
 20089  		return io.ErrUnexpectedEOF
 20090  	}
 20091  	return nil
 20092  }
 20093  func (m *MsgDecreasePositionMarginResponse) Unmarshal(dAtA []byte) error {
 20094  	l := len(dAtA)
 20095  	iNdEx := 0
 20096  	for iNdEx < l {
 20097  		preIndex := iNdEx
 20098  		var wire uint64
 20099  		for shift := uint(0); ; shift += 7 {
 20100  			if shift >= 64 {
 20101  				return ErrIntOverflowTx
 20102  			}
 20103  			if iNdEx >= l {
 20104  				return io.ErrUnexpectedEOF
 20105  			}
 20106  			b := dAtA[iNdEx]
 20107  			iNdEx++
 20108  			wire |= uint64(b&0x7F) << shift
 20109  			if b < 0x80 {
 20110  				break
 20111  			}
 20112  		}
 20113  		fieldNum := int32(wire >> 3)
 20114  		wireType := int(wire & 0x7)
 20115  		if wireType == 4 {
 20116  			return fmt.Errorf("proto: MsgDecreasePositionMarginResponse: wiretype end group for non-group")
 20117  		}
 20118  		if fieldNum <= 0 {
 20119  			return fmt.Errorf("proto: MsgDecreasePositionMarginResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 20120  		}
 20121  		switch fieldNum {
 20122  		default:
 20123  			iNdEx = preIndex
 20124  			skippy, err := skipTx(dAtA[iNdEx:])
 20125  			if err != nil {
 20126  				return err
 20127  			}
 20128  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20129  				return ErrInvalidLengthTx
 20130  			}
 20131  			if (iNdEx + skippy) > l {
 20132  				return io.ErrUnexpectedEOF
 20133  			}
 20134  			iNdEx += skippy
 20135  		}
 20136  	}
 20137  
 20138  	if iNdEx > l {
 20139  		return io.ErrUnexpectedEOF
 20140  	}
 20141  	return nil
 20142  }
 20143  func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
 20144  	l := len(dAtA)
 20145  	iNdEx := 0
 20146  	for iNdEx < l {
 20147  		preIndex := iNdEx
 20148  		var wire uint64
 20149  		for shift := uint(0); ; shift += 7 {
 20150  			if shift >= 64 {
 20151  				return ErrIntOverflowTx
 20152  			}
 20153  			if iNdEx >= l {
 20154  				return io.ErrUnexpectedEOF
 20155  			}
 20156  			b := dAtA[iNdEx]
 20157  			iNdEx++
 20158  			wire |= uint64(b&0x7F) << shift
 20159  			if b < 0x80 {
 20160  				break
 20161  			}
 20162  		}
 20163  		fieldNum := int32(wire >> 3)
 20164  		wireType := int(wire & 0x7)
 20165  		if wireType == 4 {
 20166  			return fmt.Errorf("proto: MsgPrivilegedExecuteContract: wiretype end group for non-group")
 20167  		}
 20168  		if fieldNum <= 0 {
 20169  			return fmt.Errorf("proto: MsgPrivilegedExecuteContract: illegal tag %d (wire type %d)", fieldNum, wire)
 20170  		}
 20171  		switch fieldNum {
 20172  		case 1:
 20173  			if wireType != 2 {
 20174  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 20175  			}
 20176  			var stringLen uint64
 20177  			for shift := uint(0); ; shift += 7 {
 20178  				if shift >= 64 {
 20179  					return ErrIntOverflowTx
 20180  				}
 20181  				if iNdEx >= l {
 20182  					return io.ErrUnexpectedEOF
 20183  				}
 20184  				b := dAtA[iNdEx]
 20185  				iNdEx++
 20186  				stringLen |= uint64(b&0x7F) << shift
 20187  				if b < 0x80 {
 20188  					break
 20189  				}
 20190  			}
 20191  			intStringLen := int(stringLen)
 20192  			if intStringLen < 0 {
 20193  				return ErrInvalidLengthTx
 20194  			}
 20195  			postIndex := iNdEx + intStringLen
 20196  			if postIndex < 0 {
 20197  				return ErrInvalidLengthTx
 20198  			}
 20199  			if postIndex > l {
 20200  				return io.ErrUnexpectedEOF
 20201  			}
 20202  			m.Sender = string(dAtA[iNdEx:postIndex])
 20203  			iNdEx = postIndex
 20204  		case 2:
 20205  			if wireType != 2 {
 20206  				return fmt.Errorf("proto: wrong wireType = %d for field Funds", wireType)
 20207  			}
 20208  			var stringLen uint64
 20209  			for shift := uint(0); ; shift += 7 {
 20210  				if shift >= 64 {
 20211  					return ErrIntOverflowTx
 20212  				}
 20213  				if iNdEx >= l {
 20214  					return io.ErrUnexpectedEOF
 20215  				}
 20216  				b := dAtA[iNdEx]
 20217  				iNdEx++
 20218  				stringLen |= uint64(b&0x7F) << shift
 20219  				if b < 0x80 {
 20220  					break
 20221  				}
 20222  			}
 20223  			intStringLen := int(stringLen)
 20224  			if intStringLen < 0 {
 20225  				return ErrInvalidLengthTx
 20226  			}
 20227  			postIndex := iNdEx + intStringLen
 20228  			if postIndex < 0 {
 20229  				return ErrInvalidLengthTx
 20230  			}
 20231  			if postIndex > l {
 20232  				return io.ErrUnexpectedEOF
 20233  			}
 20234  			m.Funds = string(dAtA[iNdEx:postIndex])
 20235  			iNdEx = postIndex
 20236  		case 3:
 20237  			if wireType != 2 {
 20238  				return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType)
 20239  			}
 20240  			var stringLen uint64
 20241  			for shift := uint(0); ; shift += 7 {
 20242  				if shift >= 64 {
 20243  					return ErrIntOverflowTx
 20244  				}
 20245  				if iNdEx >= l {
 20246  					return io.ErrUnexpectedEOF
 20247  				}
 20248  				b := dAtA[iNdEx]
 20249  				iNdEx++
 20250  				stringLen |= uint64(b&0x7F) << shift
 20251  				if b < 0x80 {
 20252  					break
 20253  				}
 20254  			}
 20255  			intStringLen := int(stringLen)
 20256  			if intStringLen < 0 {
 20257  				return ErrInvalidLengthTx
 20258  			}
 20259  			postIndex := iNdEx + intStringLen
 20260  			if postIndex < 0 {
 20261  				return ErrInvalidLengthTx
 20262  			}
 20263  			if postIndex > l {
 20264  				return io.ErrUnexpectedEOF
 20265  			}
 20266  			m.ContractAddress = string(dAtA[iNdEx:postIndex])
 20267  			iNdEx = postIndex
 20268  		case 4:
 20269  			if wireType != 2 {
 20270  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 20271  			}
 20272  			var stringLen uint64
 20273  			for shift := uint(0); ; shift += 7 {
 20274  				if shift >= 64 {
 20275  					return ErrIntOverflowTx
 20276  				}
 20277  				if iNdEx >= l {
 20278  					return io.ErrUnexpectedEOF
 20279  				}
 20280  				b := dAtA[iNdEx]
 20281  				iNdEx++
 20282  				stringLen |= uint64(b&0x7F) << shift
 20283  				if b < 0x80 {
 20284  					break
 20285  				}
 20286  			}
 20287  			intStringLen := int(stringLen)
 20288  			if intStringLen < 0 {
 20289  				return ErrInvalidLengthTx
 20290  			}
 20291  			postIndex := iNdEx + intStringLen
 20292  			if postIndex < 0 {
 20293  				return ErrInvalidLengthTx
 20294  			}
 20295  			if postIndex > l {
 20296  				return io.ErrUnexpectedEOF
 20297  			}
 20298  			m.Data = string(dAtA[iNdEx:postIndex])
 20299  			iNdEx = postIndex
 20300  		default:
 20301  			iNdEx = preIndex
 20302  			skippy, err := skipTx(dAtA[iNdEx:])
 20303  			if err != nil {
 20304  				return err
 20305  			}
 20306  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20307  				return ErrInvalidLengthTx
 20308  			}
 20309  			if (iNdEx + skippy) > l {
 20310  				return io.ErrUnexpectedEOF
 20311  			}
 20312  			iNdEx += skippy
 20313  		}
 20314  	}
 20315  
 20316  	if iNdEx > l {
 20317  		return io.ErrUnexpectedEOF
 20318  	}
 20319  	return nil
 20320  }
 20321  func (m *MsgPrivilegedExecuteContractResponse) Unmarshal(dAtA []byte) error {
 20322  	l := len(dAtA)
 20323  	iNdEx := 0
 20324  	for iNdEx < l {
 20325  		preIndex := iNdEx
 20326  		var wire uint64
 20327  		for shift := uint(0); ; shift += 7 {
 20328  			if shift >= 64 {
 20329  				return ErrIntOverflowTx
 20330  			}
 20331  			if iNdEx >= l {
 20332  				return io.ErrUnexpectedEOF
 20333  			}
 20334  			b := dAtA[iNdEx]
 20335  			iNdEx++
 20336  			wire |= uint64(b&0x7F) << shift
 20337  			if b < 0x80 {
 20338  				break
 20339  			}
 20340  		}
 20341  		fieldNum := int32(wire >> 3)
 20342  		wireType := int(wire & 0x7)
 20343  		if wireType == 4 {
 20344  			return fmt.Errorf("proto: MsgPrivilegedExecuteContractResponse: wiretype end group for non-group")
 20345  		}
 20346  		if fieldNum <= 0 {
 20347  			return fmt.Errorf("proto: MsgPrivilegedExecuteContractResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 20348  		}
 20349  		switch fieldNum {
 20350  		case 1:
 20351  			if wireType != 2 {
 20352  				return fmt.Errorf("proto: wrong wireType = %d for field FundsDiff", wireType)
 20353  			}
 20354  			var msglen int
 20355  			for shift := uint(0); ; shift += 7 {
 20356  				if shift >= 64 {
 20357  					return ErrIntOverflowTx
 20358  				}
 20359  				if iNdEx >= l {
 20360  					return io.ErrUnexpectedEOF
 20361  				}
 20362  				b := dAtA[iNdEx]
 20363  				iNdEx++
 20364  				msglen |= int(b&0x7F) << shift
 20365  				if b < 0x80 {
 20366  					break
 20367  				}
 20368  			}
 20369  			if msglen < 0 {
 20370  				return ErrInvalidLengthTx
 20371  			}
 20372  			postIndex := iNdEx + msglen
 20373  			if postIndex < 0 {
 20374  				return ErrInvalidLengthTx
 20375  			}
 20376  			if postIndex > l {
 20377  				return io.ErrUnexpectedEOF
 20378  			}
 20379  			m.FundsDiff = append(m.FundsDiff, types.Coin{})
 20380  			if err := m.FundsDiff[len(m.FundsDiff)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20381  				return err
 20382  			}
 20383  			iNdEx = postIndex
 20384  		default:
 20385  			iNdEx = preIndex
 20386  			skippy, err := skipTx(dAtA[iNdEx:])
 20387  			if err != nil {
 20388  				return err
 20389  			}
 20390  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20391  				return ErrInvalidLengthTx
 20392  			}
 20393  			if (iNdEx + skippy) > l {
 20394  				return io.ErrUnexpectedEOF
 20395  			}
 20396  			iNdEx += skippy
 20397  		}
 20398  	}
 20399  
 20400  	if iNdEx > l {
 20401  		return io.ErrUnexpectedEOF
 20402  	}
 20403  	return nil
 20404  }
 20405  func (m *MsgRewardsOptOut) Unmarshal(dAtA []byte) error {
 20406  	l := len(dAtA)
 20407  	iNdEx := 0
 20408  	for iNdEx < l {
 20409  		preIndex := iNdEx
 20410  		var wire uint64
 20411  		for shift := uint(0); ; shift += 7 {
 20412  			if shift >= 64 {
 20413  				return ErrIntOverflowTx
 20414  			}
 20415  			if iNdEx >= l {
 20416  				return io.ErrUnexpectedEOF
 20417  			}
 20418  			b := dAtA[iNdEx]
 20419  			iNdEx++
 20420  			wire |= uint64(b&0x7F) << shift
 20421  			if b < 0x80 {
 20422  				break
 20423  			}
 20424  		}
 20425  		fieldNum := int32(wire >> 3)
 20426  		wireType := int(wire & 0x7)
 20427  		if wireType == 4 {
 20428  			return fmt.Errorf("proto: MsgRewardsOptOut: wiretype end group for non-group")
 20429  		}
 20430  		if fieldNum <= 0 {
 20431  			return fmt.Errorf("proto: MsgRewardsOptOut: illegal tag %d (wire type %d)", fieldNum, wire)
 20432  		}
 20433  		switch fieldNum {
 20434  		case 1:
 20435  			if wireType != 2 {
 20436  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 20437  			}
 20438  			var stringLen uint64
 20439  			for shift := uint(0); ; shift += 7 {
 20440  				if shift >= 64 {
 20441  					return ErrIntOverflowTx
 20442  				}
 20443  				if iNdEx >= l {
 20444  					return io.ErrUnexpectedEOF
 20445  				}
 20446  				b := dAtA[iNdEx]
 20447  				iNdEx++
 20448  				stringLen |= uint64(b&0x7F) << shift
 20449  				if b < 0x80 {
 20450  					break
 20451  				}
 20452  			}
 20453  			intStringLen := int(stringLen)
 20454  			if intStringLen < 0 {
 20455  				return ErrInvalidLengthTx
 20456  			}
 20457  			postIndex := iNdEx + intStringLen
 20458  			if postIndex < 0 {
 20459  				return ErrInvalidLengthTx
 20460  			}
 20461  			if postIndex > l {
 20462  				return io.ErrUnexpectedEOF
 20463  			}
 20464  			m.Sender = string(dAtA[iNdEx:postIndex])
 20465  			iNdEx = postIndex
 20466  		default:
 20467  			iNdEx = preIndex
 20468  			skippy, err := skipTx(dAtA[iNdEx:])
 20469  			if err != nil {
 20470  				return err
 20471  			}
 20472  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20473  				return ErrInvalidLengthTx
 20474  			}
 20475  			if (iNdEx + skippy) > l {
 20476  				return io.ErrUnexpectedEOF
 20477  			}
 20478  			iNdEx += skippy
 20479  		}
 20480  	}
 20481  
 20482  	if iNdEx > l {
 20483  		return io.ErrUnexpectedEOF
 20484  	}
 20485  	return nil
 20486  }
 20487  func (m *MsgRewardsOptOutResponse) Unmarshal(dAtA []byte) error {
 20488  	l := len(dAtA)
 20489  	iNdEx := 0
 20490  	for iNdEx < l {
 20491  		preIndex := iNdEx
 20492  		var wire uint64
 20493  		for shift := uint(0); ; shift += 7 {
 20494  			if shift >= 64 {
 20495  				return ErrIntOverflowTx
 20496  			}
 20497  			if iNdEx >= l {
 20498  				return io.ErrUnexpectedEOF
 20499  			}
 20500  			b := dAtA[iNdEx]
 20501  			iNdEx++
 20502  			wire |= uint64(b&0x7F) << shift
 20503  			if b < 0x80 {
 20504  				break
 20505  			}
 20506  		}
 20507  		fieldNum := int32(wire >> 3)
 20508  		wireType := int(wire & 0x7)
 20509  		if wireType == 4 {
 20510  			return fmt.Errorf("proto: MsgRewardsOptOutResponse: wiretype end group for non-group")
 20511  		}
 20512  		if fieldNum <= 0 {
 20513  			return fmt.Errorf("proto: MsgRewardsOptOutResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 20514  		}
 20515  		switch fieldNum {
 20516  		default:
 20517  			iNdEx = preIndex
 20518  			skippy, err := skipTx(dAtA[iNdEx:])
 20519  			if err != nil {
 20520  				return err
 20521  			}
 20522  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20523  				return ErrInvalidLengthTx
 20524  			}
 20525  			if (iNdEx + skippy) > l {
 20526  				return io.ErrUnexpectedEOF
 20527  			}
 20528  			iNdEx += skippy
 20529  		}
 20530  	}
 20531  
 20532  	if iNdEx > l {
 20533  		return io.ErrUnexpectedEOF
 20534  	}
 20535  	return nil
 20536  }
 20537  func (m *MsgReclaimLockedFunds) Unmarshal(dAtA []byte) error {
 20538  	l := len(dAtA)
 20539  	iNdEx := 0
 20540  	for iNdEx < l {
 20541  		preIndex := iNdEx
 20542  		var wire uint64
 20543  		for shift := uint(0); ; shift += 7 {
 20544  			if shift >= 64 {
 20545  				return ErrIntOverflowTx
 20546  			}
 20547  			if iNdEx >= l {
 20548  				return io.ErrUnexpectedEOF
 20549  			}
 20550  			b := dAtA[iNdEx]
 20551  			iNdEx++
 20552  			wire |= uint64(b&0x7F) << shift
 20553  			if b < 0x80 {
 20554  				break
 20555  			}
 20556  		}
 20557  		fieldNum := int32(wire >> 3)
 20558  		wireType := int(wire & 0x7)
 20559  		if wireType == 4 {
 20560  			return fmt.Errorf("proto: MsgReclaimLockedFunds: wiretype end group for non-group")
 20561  		}
 20562  		if fieldNum <= 0 {
 20563  			return fmt.Errorf("proto: MsgReclaimLockedFunds: illegal tag %d (wire type %d)", fieldNum, wire)
 20564  		}
 20565  		switch fieldNum {
 20566  		case 1:
 20567  			if wireType != 2 {
 20568  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 20569  			}
 20570  			var stringLen uint64
 20571  			for shift := uint(0); ; shift += 7 {
 20572  				if shift >= 64 {
 20573  					return ErrIntOverflowTx
 20574  				}
 20575  				if iNdEx >= l {
 20576  					return io.ErrUnexpectedEOF
 20577  				}
 20578  				b := dAtA[iNdEx]
 20579  				iNdEx++
 20580  				stringLen |= uint64(b&0x7F) << shift
 20581  				if b < 0x80 {
 20582  					break
 20583  				}
 20584  			}
 20585  			intStringLen := int(stringLen)
 20586  			if intStringLen < 0 {
 20587  				return ErrInvalidLengthTx
 20588  			}
 20589  			postIndex := iNdEx + intStringLen
 20590  			if postIndex < 0 {
 20591  				return ErrInvalidLengthTx
 20592  			}
 20593  			if postIndex > l {
 20594  				return io.ErrUnexpectedEOF
 20595  			}
 20596  			m.Sender = string(dAtA[iNdEx:postIndex])
 20597  			iNdEx = postIndex
 20598  		case 2:
 20599  			if wireType != 2 {
 20600  				return fmt.Errorf("proto: wrong wireType = %d for field LockedAccountPubKey", wireType)
 20601  			}
 20602  			var byteLen int
 20603  			for shift := uint(0); ; shift += 7 {
 20604  				if shift >= 64 {
 20605  					return ErrIntOverflowTx
 20606  				}
 20607  				if iNdEx >= l {
 20608  					return io.ErrUnexpectedEOF
 20609  				}
 20610  				b := dAtA[iNdEx]
 20611  				iNdEx++
 20612  				byteLen |= int(b&0x7F) << shift
 20613  				if b < 0x80 {
 20614  					break
 20615  				}
 20616  			}
 20617  			if byteLen < 0 {
 20618  				return ErrInvalidLengthTx
 20619  			}
 20620  			postIndex := iNdEx + byteLen
 20621  			if postIndex < 0 {
 20622  				return ErrInvalidLengthTx
 20623  			}
 20624  			if postIndex > l {
 20625  				return io.ErrUnexpectedEOF
 20626  			}
 20627  			m.LockedAccountPubKey = append(m.LockedAccountPubKey[:0], dAtA[iNdEx:postIndex]...)
 20628  			if m.LockedAccountPubKey == nil {
 20629  				m.LockedAccountPubKey = []byte{}
 20630  			}
 20631  			iNdEx = postIndex
 20632  		case 3:
 20633  			if wireType != 2 {
 20634  				return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType)
 20635  			}
 20636  			var byteLen int
 20637  			for shift := uint(0); ; shift += 7 {
 20638  				if shift >= 64 {
 20639  					return ErrIntOverflowTx
 20640  				}
 20641  				if iNdEx >= l {
 20642  					return io.ErrUnexpectedEOF
 20643  				}
 20644  				b := dAtA[iNdEx]
 20645  				iNdEx++
 20646  				byteLen |= int(b&0x7F) << shift
 20647  				if b < 0x80 {
 20648  					break
 20649  				}
 20650  			}
 20651  			if byteLen < 0 {
 20652  				return ErrInvalidLengthTx
 20653  			}
 20654  			postIndex := iNdEx + byteLen
 20655  			if postIndex < 0 {
 20656  				return ErrInvalidLengthTx
 20657  			}
 20658  			if postIndex > l {
 20659  				return io.ErrUnexpectedEOF
 20660  			}
 20661  			m.Signature = append(m.Signature[:0], dAtA[iNdEx:postIndex]...)
 20662  			if m.Signature == nil {
 20663  				m.Signature = []byte{}
 20664  			}
 20665  			iNdEx = postIndex
 20666  		default:
 20667  			iNdEx = preIndex
 20668  			skippy, err := skipTx(dAtA[iNdEx:])
 20669  			if err != nil {
 20670  				return err
 20671  			}
 20672  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20673  				return ErrInvalidLengthTx
 20674  			}
 20675  			if (iNdEx + skippy) > l {
 20676  				return io.ErrUnexpectedEOF
 20677  			}
 20678  			iNdEx += skippy
 20679  		}
 20680  	}
 20681  
 20682  	if iNdEx > l {
 20683  		return io.ErrUnexpectedEOF
 20684  	}
 20685  	return nil
 20686  }
 20687  func (m *MsgReclaimLockedFundsResponse) Unmarshal(dAtA []byte) error {
 20688  	l := len(dAtA)
 20689  	iNdEx := 0
 20690  	for iNdEx < l {
 20691  		preIndex := iNdEx
 20692  		var wire uint64
 20693  		for shift := uint(0); ; shift += 7 {
 20694  			if shift >= 64 {
 20695  				return ErrIntOverflowTx
 20696  			}
 20697  			if iNdEx >= l {
 20698  				return io.ErrUnexpectedEOF
 20699  			}
 20700  			b := dAtA[iNdEx]
 20701  			iNdEx++
 20702  			wire |= uint64(b&0x7F) << shift
 20703  			if b < 0x80 {
 20704  				break
 20705  			}
 20706  		}
 20707  		fieldNum := int32(wire >> 3)
 20708  		wireType := int(wire & 0x7)
 20709  		if wireType == 4 {
 20710  			return fmt.Errorf("proto: MsgReclaimLockedFundsResponse: wiretype end group for non-group")
 20711  		}
 20712  		if fieldNum <= 0 {
 20713  			return fmt.Errorf("proto: MsgReclaimLockedFundsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 20714  		}
 20715  		switch fieldNum {
 20716  		default:
 20717  			iNdEx = preIndex
 20718  			skippy, err := skipTx(dAtA[iNdEx:])
 20719  			if err != nil {
 20720  				return err
 20721  			}
 20722  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20723  				return ErrInvalidLengthTx
 20724  			}
 20725  			if (iNdEx + skippy) > l {
 20726  				return io.ErrUnexpectedEOF
 20727  			}
 20728  			iNdEx += skippy
 20729  		}
 20730  	}
 20731  
 20732  	if iNdEx > l {
 20733  		return io.ErrUnexpectedEOF
 20734  	}
 20735  	return nil
 20736  }
 20737  func (m *MsgSignData) Unmarshal(dAtA []byte) error {
 20738  	l := len(dAtA)
 20739  	iNdEx := 0
 20740  	for iNdEx < l {
 20741  		preIndex := iNdEx
 20742  		var wire uint64
 20743  		for shift := uint(0); ; shift += 7 {
 20744  			if shift >= 64 {
 20745  				return ErrIntOverflowTx
 20746  			}
 20747  			if iNdEx >= l {
 20748  				return io.ErrUnexpectedEOF
 20749  			}
 20750  			b := dAtA[iNdEx]
 20751  			iNdEx++
 20752  			wire |= uint64(b&0x7F) << shift
 20753  			if b < 0x80 {
 20754  				break
 20755  			}
 20756  		}
 20757  		fieldNum := int32(wire >> 3)
 20758  		wireType := int(wire & 0x7)
 20759  		if wireType == 4 {
 20760  			return fmt.Errorf("proto: MsgSignData: wiretype end group for non-group")
 20761  		}
 20762  		if fieldNum <= 0 {
 20763  			return fmt.Errorf("proto: MsgSignData: illegal tag %d (wire type %d)", fieldNum, wire)
 20764  		}
 20765  		switch fieldNum {
 20766  		case 1:
 20767  			if wireType != 2 {
 20768  				return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType)
 20769  			}
 20770  			var byteLen int
 20771  			for shift := uint(0); ; shift += 7 {
 20772  				if shift >= 64 {
 20773  					return ErrIntOverflowTx
 20774  				}
 20775  				if iNdEx >= l {
 20776  					return io.ErrUnexpectedEOF
 20777  				}
 20778  				b := dAtA[iNdEx]
 20779  				iNdEx++
 20780  				byteLen |= int(b&0x7F) << shift
 20781  				if b < 0x80 {
 20782  					break
 20783  				}
 20784  			}
 20785  			if byteLen < 0 {
 20786  				return ErrInvalidLengthTx
 20787  			}
 20788  			postIndex := iNdEx + byteLen
 20789  			if postIndex < 0 {
 20790  				return ErrInvalidLengthTx
 20791  			}
 20792  			if postIndex > l {
 20793  				return io.ErrUnexpectedEOF
 20794  			}
 20795  			m.Signer = append(m.Signer[:0], dAtA[iNdEx:postIndex]...)
 20796  			if m.Signer == nil {
 20797  				m.Signer = []byte{}
 20798  			}
 20799  			iNdEx = postIndex
 20800  		case 2:
 20801  			if wireType != 2 {
 20802  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 20803  			}
 20804  			var byteLen int
 20805  			for shift := uint(0); ; shift += 7 {
 20806  				if shift >= 64 {
 20807  					return ErrIntOverflowTx
 20808  				}
 20809  				if iNdEx >= l {
 20810  					return io.ErrUnexpectedEOF
 20811  				}
 20812  				b := dAtA[iNdEx]
 20813  				iNdEx++
 20814  				byteLen |= int(b&0x7F) << shift
 20815  				if b < 0x80 {
 20816  					break
 20817  				}
 20818  			}
 20819  			if byteLen < 0 {
 20820  				return ErrInvalidLengthTx
 20821  			}
 20822  			postIndex := iNdEx + byteLen
 20823  			if postIndex < 0 {
 20824  				return ErrInvalidLengthTx
 20825  			}
 20826  			if postIndex > l {
 20827  				return io.ErrUnexpectedEOF
 20828  			}
 20829  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 20830  			if m.Data == nil {
 20831  				m.Data = []byte{}
 20832  			}
 20833  			iNdEx = postIndex
 20834  		default:
 20835  			iNdEx = preIndex
 20836  			skippy, err := skipTx(dAtA[iNdEx:])
 20837  			if err != nil {
 20838  				return err
 20839  			}
 20840  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20841  				return ErrInvalidLengthTx
 20842  			}
 20843  			if (iNdEx + skippy) > l {
 20844  				return io.ErrUnexpectedEOF
 20845  			}
 20846  			iNdEx += skippy
 20847  		}
 20848  	}
 20849  
 20850  	if iNdEx > l {
 20851  		return io.ErrUnexpectedEOF
 20852  	}
 20853  	return nil
 20854  }
 20855  func (m *MsgSignDoc) Unmarshal(dAtA []byte) error {
 20856  	l := len(dAtA)
 20857  	iNdEx := 0
 20858  	for iNdEx < l {
 20859  		preIndex := iNdEx
 20860  		var wire uint64
 20861  		for shift := uint(0); ; shift += 7 {
 20862  			if shift >= 64 {
 20863  				return ErrIntOverflowTx
 20864  			}
 20865  			if iNdEx >= l {
 20866  				return io.ErrUnexpectedEOF
 20867  			}
 20868  			b := dAtA[iNdEx]
 20869  			iNdEx++
 20870  			wire |= uint64(b&0x7F) << shift
 20871  			if b < 0x80 {
 20872  				break
 20873  			}
 20874  		}
 20875  		fieldNum := int32(wire >> 3)
 20876  		wireType := int(wire & 0x7)
 20877  		if wireType == 4 {
 20878  			return fmt.Errorf("proto: MsgSignDoc: wiretype end group for non-group")
 20879  		}
 20880  		if fieldNum <= 0 {
 20881  			return fmt.Errorf("proto: MsgSignDoc: illegal tag %d (wire type %d)", fieldNum, wire)
 20882  		}
 20883  		switch fieldNum {
 20884  		case 1:
 20885  			if wireType != 2 {
 20886  				return fmt.Errorf("proto: wrong wireType = %d for field SignType", wireType)
 20887  			}
 20888  			var stringLen uint64
 20889  			for shift := uint(0); ; shift += 7 {
 20890  				if shift >= 64 {
 20891  					return ErrIntOverflowTx
 20892  				}
 20893  				if iNdEx >= l {
 20894  					return io.ErrUnexpectedEOF
 20895  				}
 20896  				b := dAtA[iNdEx]
 20897  				iNdEx++
 20898  				stringLen |= uint64(b&0x7F) << shift
 20899  				if b < 0x80 {
 20900  					break
 20901  				}
 20902  			}
 20903  			intStringLen := int(stringLen)
 20904  			if intStringLen < 0 {
 20905  				return ErrInvalidLengthTx
 20906  			}
 20907  			postIndex := iNdEx + intStringLen
 20908  			if postIndex < 0 {
 20909  				return ErrInvalidLengthTx
 20910  			}
 20911  			if postIndex > l {
 20912  				return io.ErrUnexpectedEOF
 20913  			}
 20914  			m.SignType = string(dAtA[iNdEx:postIndex])
 20915  			iNdEx = postIndex
 20916  		case 2:
 20917  			if wireType != 2 {
 20918  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 20919  			}
 20920  			var msglen int
 20921  			for shift := uint(0); ; shift += 7 {
 20922  				if shift >= 64 {
 20923  					return ErrIntOverflowTx
 20924  				}
 20925  				if iNdEx >= l {
 20926  					return io.ErrUnexpectedEOF
 20927  				}
 20928  				b := dAtA[iNdEx]
 20929  				iNdEx++
 20930  				msglen |= int(b&0x7F) << shift
 20931  				if b < 0x80 {
 20932  					break
 20933  				}
 20934  			}
 20935  			if msglen < 0 {
 20936  				return ErrInvalidLengthTx
 20937  			}
 20938  			postIndex := iNdEx + msglen
 20939  			if postIndex < 0 {
 20940  				return ErrInvalidLengthTx
 20941  			}
 20942  			if postIndex > l {
 20943  				return io.ErrUnexpectedEOF
 20944  			}
 20945  			if err := m.Value.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20946  				return err
 20947  			}
 20948  			iNdEx = postIndex
 20949  		default:
 20950  			iNdEx = preIndex
 20951  			skippy, err := skipTx(dAtA[iNdEx:])
 20952  			if err != nil {
 20953  				return err
 20954  			}
 20955  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20956  				return ErrInvalidLengthTx
 20957  			}
 20958  			if (iNdEx + skippy) > l {
 20959  				return io.ErrUnexpectedEOF
 20960  			}
 20961  			iNdEx += skippy
 20962  		}
 20963  	}
 20964  
 20965  	if iNdEx > l {
 20966  		return io.ErrUnexpectedEOF
 20967  	}
 20968  	return nil
 20969  }
 20970  func (m *MsgAdminUpdateBinaryOptionsMarket) Unmarshal(dAtA []byte) error {
 20971  	l := len(dAtA)
 20972  	iNdEx := 0
 20973  	for iNdEx < l {
 20974  		preIndex := iNdEx
 20975  		var wire uint64
 20976  		for shift := uint(0); ; shift += 7 {
 20977  			if shift >= 64 {
 20978  				return ErrIntOverflowTx
 20979  			}
 20980  			if iNdEx >= l {
 20981  				return io.ErrUnexpectedEOF
 20982  			}
 20983  			b := dAtA[iNdEx]
 20984  			iNdEx++
 20985  			wire |= uint64(b&0x7F) << shift
 20986  			if b < 0x80 {
 20987  				break
 20988  			}
 20989  		}
 20990  		fieldNum := int32(wire >> 3)
 20991  		wireType := int(wire & 0x7)
 20992  		if wireType == 4 {
 20993  			return fmt.Errorf("proto: MsgAdminUpdateBinaryOptionsMarket: wiretype end group for non-group")
 20994  		}
 20995  		if fieldNum <= 0 {
 20996  			return fmt.Errorf("proto: MsgAdminUpdateBinaryOptionsMarket: illegal tag %d (wire type %d)", fieldNum, wire)
 20997  		}
 20998  		switch fieldNum {
 20999  		case 1:
 21000  			if wireType != 2 {
 21001  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 21002  			}
 21003  			var stringLen uint64
 21004  			for shift := uint(0); ; shift += 7 {
 21005  				if shift >= 64 {
 21006  					return ErrIntOverflowTx
 21007  				}
 21008  				if iNdEx >= l {
 21009  					return io.ErrUnexpectedEOF
 21010  				}
 21011  				b := dAtA[iNdEx]
 21012  				iNdEx++
 21013  				stringLen |= uint64(b&0x7F) << shift
 21014  				if b < 0x80 {
 21015  					break
 21016  				}
 21017  			}
 21018  			intStringLen := int(stringLen)
 21019  			if intStringLen < 0 {
 21020  				return ErrInvalidLengthTx
 21021  			}
 21022  			postIndex := iNdEx + intStringLen
 21023  			if postIndex < 0 {
 21024  				return ErrInvalidLengthTx
 21025  			}
 21026  			if postIndex > l {
 21027  				return io.ErrUnexpectedEOF
 21028  			}
 21029  			m.Sender = string(dAtA[iNdEx:postIndex])
 21030  			iNdEx = postIndex
 21031  		case 2:
 21032  			if wireType != 2 {
 21033  				return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
 21034  			}
 21035  			var stringLen uint64
 21036  			for shift := uint(0); ; shift += 7 {
 21037  				if shift >= 64 {
 21038  					return ErrIntOverflowTx
 21039  				}
 21040  				if iNdEx >= l {
 21041  					return io.ErrUnexpectedEOF
 21042  				}
 21043  				b := dAtA[iNdEx]
 21044  				iNdEx++
 21045  				stringLen |= uint64(b&0x7F) << shift
 21046  				if b < 0x80 {
 21047  					break
 21048  				}
 21049  			}
 21050  			intStringLen := int(stringLen)
 21051  			if intStringLen < 0 {
 21052  				return ErrInvalidLengthTx
 21053  			}
 21054  			postIndex := iNdEx + intStringLen
 21055  			if postIndex < 0 {
 21056  				return ErrInvalidLengthTx
 21057  			}
 21058  			if postIndex > l {
 21059  				return io.ErrUnexpectedEOF
 21060  			}
 21061  			m.MarketId = string(dAtA[iNdEx:postIndex])
 21062  			iNdEx = postIndex
 21063  		case 3:
 21064  			if wireType != 2 {
 21065  				return fmt.Errorf("proto: wrong wireType = %d for field SettlementPrice", wireType)
 21066  			}
 21067  			var stringLen uint64
 21068  			for shift := uint(0); ; shift += 7 {
 21069  				if shift >= 64 {
 21070  					return ErrIntOverflowTx
 21071  				}
 21072  				if iNdEx >= l {
 21073  					return io.ErrUnexpectedEOF
 21074  				}
 21075  				b := dAtA[iNdEx]
 21076  				iNdEx++
 21077  				stringLen |= uint64(b&0x7F) << shift
 21078  				if b < 0x80 {
 21079  					break
 21080  				}
 21081  			}
 21082  			intStringLen := int(stringLen)
 21083  			if intStringLen < 0 {
 21084  				return ErrInvalidLengthTx
 21085  			}
 21086  			postIndex := iNdEx + intStringLen
 21087  			if postIndex < 0 {
 21088  				return ErrInvalidLengthTx
 21089  			}
 21090  			if postIndex > l {
 21091  				return io.ErrUnexpectedEOF
 21092  			}
 21093  			var v cosmossdk_io_math.LegacyDec
 21094  			m.SettlementPrice = &v
 21095  			if err := m.SettlementPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21096  				return err
 21097  			}
 21098  			iNdEx = postIndex
 21099  		case 4:
 21100  			if wireType != 0 {
 21101  				return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
 21102  			}
 21103  			m.ExpirationTimestamp = 0
 21104  			for shift := uint(0); ; shift += 7 {
 21105  				if shift >= 64 {
 21106  					return ErrIntOverflowTx
 21107  				}
 21108  				if iNdEx >= l {
 21109  					return io.ErrUnexpectedEOF
 21110  				}
 21111  				b := dAtA[iNdEx]
 21112  				iNdEx++
 21113  				m.ExpirationTimestamp |= int64(b&0x7F) << shift
 21114  				if b < 0x80 {
 21115  					break
 21116  				}
 21117  			}
 21118  		case 5:
 21119  			if wireType != 0 {
 21120  				return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
 21121  			}
 21122  			m.SettlementTimestamp = 0
 21123  			for shift := uint(0); ; shift += 7 {
 21124  				if shift >= 64 {
 21125  					return ErrIntOverflowTx
 21126  				}
 21127  				if iNdEx >= l {
 21128  					return io.ErrUnexpectedEOF
 21129  				}
 21130  				b := dAtA[iNdEx]
 21131  				iNdEx++
 21132  				m.SettlementTimestamp |= int64(b&0x7F) << shift
 21133  				if b < 0x80 {
 21134  					break
 21135  				}
 21136  			}
 21137  		case 6:
 21138  			if wireType != 0 {
 21139  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
 21140  			}
 21141  			m.Status = 0
 21142  			for shift := uint(0); ; shift += 7 {
 21143  				if shift >= 64 {
 21144  					return ErrIntOverflowTx
 21145  				}
 21146  				if iNdEx >= l {
 21147  					return io.ErrUnexpectedEOF
 21148  				}
 21149  				b := dAtA[iNdEx]
 21150  				iNdEx++
 21151  				m.Status |= MarketStatus(b&0x7F) << shift
 21152  				if b < 0x80 {
 21153  					break
 21154  				}
 21155  			}
 21156  		default:
 21157  			iNdEx = preIndex
 21158  			skippy, err := skipTx(dAtA[iNdEx:])
 21159  			if err != nil {
 21160  				return err
 21161  			}
 21162  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21163  				return ErrInvalidLengthTx
 21164  			}
 21165  			if (iNdEx + skippy) > l {
 21166  				return io.ErrUnexpectedEOF
 21167  			}
 21168  			iNdEx += skippy
 21169  		}
 21170  	}
 21171  
 21172  	if iNdEx > l {
 21173  		return io.ErrUnexpectedEOF
 21174  	}
 21175  	return nil
 21176  }
 21177  func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Unmarshal(dAtA []byte) error {
 21178  	l := len(dAtA)
 21179  	iNdEx := 0
 21180  	for iNdEx < l {
 21181  		preIndex := iNdEx
 21182  		var wire uint64
 21183  		for shift := uint(0); ; shift += 7 {
 21184  			if shift >= 64 {
 21185  				return ErrIntOverflowTx
 21186  			}
 21187  			if iNdEx >= l {
 21188  				return io.ErrUnexpectedEOF
 21189  			}
 21190  			b := dAtA[iNdEx]
 21191  			iNdEx++
 21192  			wire |= uint64(b&0x7F) << shift
 21193  			if b < 0x80 {
 21194  				break
 21195  			}
 21196  		}
 21197  		fieldNum := int32(wire >> 3)
 21198  		wireType := int(wire & 0x7)
 21199  		if wireType == 4 {
 21200  			return fmt.Errorf("proto: MsgAdminUpdateBinaryOptionsMarketResponse: wiretype end group for non-group")
 21201  		}
 21202  		if fieldNum <= 0 {
 21203  			return fmt.Errorf("proto: MsgAdminUpdateBinaryOptionsMarketResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 21204  		}
 21205  		switch fieldNum {
 21206  		default:
 21207  			iNdEx = preIndex
 21208  			skippy, err := skipTx(dAtA[iNdEx:])
 21209  			if err != nil {
 21210  				return err
 21211  			}
 21212  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21213  				return ErrInvalidLengthTx
 21214  			}
 21215  			if (iNdEx + skippy) > l {
 21216  				return io.ErrUnexpectedEOF
 21217  			}
 21218  			iNdEx += skippy
 21219  		}
 21220  	}
 21221  
 21222  	if iNdEx > l {
 21223  		return io.ErrUnexpectedEOF
 21224  	}
 21225  	return nil
 21226  }
 21227  func (m *MsgAuthorizeStakeGrants) Unmarshal(dAtA []byte) error {
 21228  	l := len(dAtA)
 21229  	iNdEx := 0
 21230  	for iNdEx < l {
 21231  		preIndex := iNdEx
 21232  		var wire uint64
 21233  		for shift := uint(0); ; shift += 7 {
 21234  			if shift >= 64 {
 21235  				return ErrIntOverflowTx
 21236  			}
 21237  			if iNdEx >= l {
 21238  				return io.ErrUnexpectedEOF
 21239  			}
 21240  			b := dAtA[iNdEx]
 21241  			iNdEx++
 21242  			wire |= uint64(b&0x7F) << shift
 21243  			if b < 0x80 {
 21244  				break
 21245  			}
 21246  		}
 21247  		fieldNum := int32(wire >> 3)
 21248  		wireType := int(wire & 0x7)
 21249  		if wireType == 4 {
 21250  			return fmt.Errorf("proto: MsgAuthorizeStakeGrants: wiretype end group for non-group")
 21251  		}
 21252  		if fieldNum <= 0 {
 21253  			return fmt.Errorf("proto: MsgAuthorizeStakeGrants: illegal tag %d (wire type %d)", fieldNum, wire)
 21254  		}
 21255  		switch fieldNum {
 21256  		case 1:
 21257  			if wireType != 2 {
 21258  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 21259  			}
 21260  			var stringLen uint64
 21261  			for shift := uint(0); ; shift += 7 {
 21262  				if shift >= 64 {
 21263  					return ErrIntOverflowTx
 21264  				}
 21265  				if iNdEx >= l {
 21266  					return io.ErrUnexpectedEOF
 21267  				}
 21268  				b := dAtA[iNdEx]
 21269  				iNdEx++
 21270  				stringLen |= uint64(b&0x7F) << shift
 21271  				if b < 0x80 {
 21272  					break
 21273  				}
 21274  			}
 21275  			intStringLen := int(stringLen)
 21276  			if intStringLen < 0 {
 21277  				return ErrInvalidLengthTx
 21278  			}
 21279  			postIndex := iNdEx + intStringLen
 21280  			if postIndex < 0 {
 21281  				return ErrInvalidLengthTx
 21282  			}
 21283  			if postIndex > l {
 21284  				return io.ErrUnexpectedEOF
 21285  			}
 21286  			m.Sender = string(dAtA[iNdEx:postIndex])
 21287  			iNdEx = postIndex
 21288  		case 2:
 21289  			if wireType != 2 {
 21290  				return fmt.Errorf("proto: wrong wireType = %d for field Grants", wireType)
 21291  			}
 21292  			var msglen int
 21293  			for shift := uint(0); ; shift += 7 {
 21294  				if shift >= 64 {
 21295  					return ErrIntOverflowTx
 21296  				}
 21297  				if iNdEx >= l {
 21298  					return io.ErrUnexpectedEOF
 21299  				}
 21300  				b := dAtA[iNdEx]
 21301  				iNdEx++
 21302  				msglen |= int(b&0x7F) << shift
 21303  				if b < 0x80 {
 21304  					break
 21305  				}
 21306  			}
 21307  			if msglen < 0 {
 21308  				return ErrInvalidLengthTx
 21309  			}
 21310  			postIndex := iNdEx + msglen
 21311  			if postIndex < 0 {
 21312  				return ErrInvalidLengthTx
 21313  			}
 21314  			if postIndex > l {
 21315  				return io.ErrUnexpectedEOF
 21316  			}
 21317  			m.Grants = append(m.Grants, &GrantAuthorization{})
 21318  			if err := m.Grants[len(m.Grants)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21319  				return err
 21320  			}
 21321  			iNdEx = postIndex
 21322  		default:
 21323  			iNdEx = preIndex
 21324  			skippy, err := skipTx(dAtA[iNdEx:])
 21325  			if err != nil {
 21326  				return err
 21327  			}
 21328  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21329  				return ErrInvalidLengthTx
 21330  			}
 21331  			if (iNdEx + skippy) > l {
 21332  				return io.ErrUnexpectedEOF
 21333  			}
 21334  			iNdEx += skippy
 21335  		}
 21336  	}
 21337  
 21338  	if iNdEx > l {
 21339  		return io.ErrUnexpectedEOF
 21340  	}
 21341  	return nil
 21342  }
 21343  func (m *MsgAuthorizeStakeGrantsResponse) Unmarshal(dAtA []byte) error {
 21344  	l := len(dAtA)
 21345  	iNdEx := 0
 21346  	for iNdEx < l {
 21347  		preIndex := iNdEx
 21348  		var wire uint64
 21349  		for shift := uint(0); ; shift += 7 {
 21350  			if shift >= 64 {
 21351  				return ErrIntOverflowTx
 21352  			}
 21353  			if iNdEx >= l {
 21354  				return io.ErrUnexpectedEOF
 21355  			}
 21356  			b := dAtA[iNdEx]
 21357  			iNdEx++
 21358  			wire |= uint64(b&0x7F) << shift
 21359  			if b < 0x80 {
 21360  				break
 21361  			}
 21362  		}
 21363  		fieldNum := int32(wire >> 3)
 21364  		wireType := int(wire & 0x7)
 21365  		if wireType == 4 {
 21366  			return fmt.Errorf("proto: MsgAuthorizeStakeGrantsResponse: wiretype end group for non-group")
 21367  		}
 21368  		if fieldNum <= 0 {
 21369  			return fmt.Errorf("proto: MsgAuthorizeStakeGrantsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 21370  		}
 21371  		switch fieldNum {
 21372  		default:
 21373  			iNdEx = preIndex
 21374  			skippy, err := skipTx(dAtA[iNdEx:])
 21375  			if err != nil {
 21376  				return err
 21377  			}
 21378  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21379  				return ErrInvalidLengthTx
 21380  			}
 21381  			if (iNdEx + skippy) > l {
 21382  				return io.ErrUnexpectedEOF
 21383  			}
 21384  			iNdEx += skippy
 21385  		}
 21386  	}
 21387  
 21388  	if iNdEx > l {
 21389  		return io.ErrUnexpectedEOF
 21390  	}
 21391  	return nil
 21392  }
 21393  func (m *MsgActivateStakeGrant) Unmarshal(dAtA []byte) error {
 21394  	l := len(dAtA)
 21395  	iNdEx := 0
 21396  	for iNdEx < l {
 21397  		preIndex := iNdEx
 21398  		var wire uint64
 21399  		for shift := uint(0); ; shift += 7 {
 21400  			if shift >= 64 {
 21401  				return ErrIntOverflowTx
 21402  			}
 21403  			if iNdEx >= l {
 21404  				return io.ErrUnexpectedEOF
 21405  			}
 21406  			b := dAtA[iNdEx]
 21407  			iNdEx++
 21408  			wire |= uint64(b&0x7F) << shift
 21409  			if b < 0x80 {
 21410  				break
 21411  			}
 21412  		}
 21413  		fieldNum := int32(wire >> 3)
 21414  		wireType := int(wire & 0x7)
 21415  		if wireType == 4 {
 21416  			return fmt.Errorf("proto: MsgActivateStakeGrant: wiretype end group for non-group")
 21417  		}
 21418  		if fieldNum <= 0 {
 21419  			return fmt.Errorf("proto: MsgActivateStakeGrant: illegal tag %d (wire type %d)", fieldNum, wire)
 21420  		}
 21421  		switch fieldNum {
 21422  		case 1:
 21423  			if wireType != 2 {
 21424  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 21425  			}
 21426  			var stringLen uint64
 21427  			for shift := uint(0); ; shift += 7 {
 21428  				if shift >= 64 {
 21429  					return ErrIntOverflowTx
 21430  				}
 21431  				if iNdEx >= l {
 21432  					return io.ErrUnexpectedEOF
 21433  				}
 21434  				b := dAtA[iNdEx]
 21435  				iNdEx++
 21436  				stringLen |= uint64(b&0x7F) << shift
 21437  				if b < 0x80 {
 21438  					break
 21439  				}
 21440  			}
 21441  			intStringLen := int(stringLen)
 21442  			if intStringLen < 0 {
 21443  				return ErrInvalidLengthTx
 21444  			}
 21445  			postIndex := iNdEx + intStringLen
 21446  			if postIndex < 0 {
 21447  				return ErrInvalidLengthTx
 21448  			}
 21449  			if postIndex > l {
 21450  				return io.ErrUnexpectedEOF
 21451  			}
 21452  			m.Sender = string(dAtA[iNdEx:postIndex])
 21453  			iNdEx = postIndex
 21454  		case 2:
 21455  			if wireType != 2 {
 21456  				return fmt.Errorf("proto: wrong wireType = %d for field Granter", wireType)
 21457  			}
 21458  			var stringLen uint64
 21459  			for shift := uint(0); ; shift += 7 {
 21460  				if shift >= 64 {
 21461  					return ErrIntOverflowTx
 21462  				}
 21463  				if iNdEx >= l {
 21464  					return io.ErrUnexpectedEOF
 21465  				}
 21466  				b := dAtA[iNdEx]
 21467  				iNdEx++
 21468  				stringLen |= uint64(b&0x7F) << shift
 21469  				if b < 0x80 {
 21470  					break
 21471  				}
 21472  			}
 21473  			intStringLen := int(stringLen)
 21474  			if intStringLen < 0 {
 21475  				return ErrInvalidLengthTx
 21476  			}
 21477  			postIndex := iNdEx + intStringLen
 21478  			if postIndex < 0 {
 21479  				return ErrInvalidLengthTx
 21480  			}
 21481  			if postIndex > l {
 21482  				return io.ErrUnexpectedEOF
 21483  			}
 21484  			m.Granter = string(dAtA[iNdEx:postIndex])
 21485  			iNdEx = postIndex
 21486  		default:
 21487  			iNdEx = preIndex
 21488  			skippy, err := skipTx(dAtA[iNdEx:])
 21489  			if err != nil {
 21490  				return err
 21491  			}
 21492  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21493  				return ErrInvalidLengthTx
 21494  			}
 21495  			if (iNdEx + skippy) > l {
 21496  				return io.ErrUnexpectedEOF
 21497  			}
 21498  			iNdEx += skippy
 21499  		}
 21500  	}
 21501  
 21502  	if iNdEx > l {
 21503  		return io.ErrUnexpectedEOF
 21504  	}
 21505  	return nil
 21506  }
 21507  func (m *MsgActivateStakeGrantResponse) Unmarshal(dAtA []byte) error {
 21508  	l := len(dAtA)
 21509  	iNdEx := 0
 21510  	for iNdEx < l {
 21511  		preIndex := iNdEx
 21512  		var wire uint64
 21513  		for shift := uint(0); ; shift += 7 {
 21514  			if shift >= 64 {
 21515  				return ErrIntOverflowTx
 21516  			}
 21517  			if iNdEx >= l {
 21518  				return io.ErrUnexpectedEOF
 21519  			}
 21520  			b := dAtA[iNdEx]
 21521  			iNdEx++
 21522  			wire |= uint64(b&0x7F) << shift
 21523  			if b < 0x80 {
 21524  				break
 21525  			}
 21526  		}
 21527  		fieldNum := int32(wire >> 3)
 21528  		wireType := int(wire & 0x7)
 21529  		if wireType == 4 {
 21530  			return fmt.Errorf("proto: MsgActivateStakeGrantResponse: wiretype end group for non-group")
 21531  		}
 21532  		if fieldNum <= 0 {
 21533  			return fmt.Errorf("proto: MsgActivateStakeGrantResponse: illegal tag %d (wire type %d)", fieldNum, wire)
 21534  		}
 21535  		switch fieldNum {
 21536  		default:
 21537  			iNdEx = preIndex
 21538  			skippy, err := skipTx(dAtA[iNdEx:])
 21539  			if err != nil {
 21540  				return err
 21541  			}
 21542  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21543  				return ErrInvalidLengthTx
 21544  			}
 21545  			if (iNdEx + skippy) > l {
 21546  				return io.ErrUnexpectedEOF
 21547  			}
 21548  			iNdEx += skippy
 21549  		}
 21550  	}
 21551  
 21552  	if iNdEx > l {
 21553  		return io.ErrUnexpectedEOF
 21554  	}
 21555  	return nil
 21556  }
 21557  func skipTx(dAtA []byte) (n int, err error) {
 21558  	l := len(dAtA)
 21559  	iNdEx := 0
 21560  	depth := 0
 21561  	for iNdEx < l {
 21562  		var wire uint64
 21563  		for shift := uint(0); ; shift += 7 {
 21564  			if shift >= 64 {
 21565  				return 0, ErrIntOverflowTx
 21566  			}
 21567  			if iNdEx >= l {
 21568  				return 0, io.ErrUnexpectedEOF
 21569  			}
 21570  			b := dAtA[iNdEx]
 21571  			iNdEx++
 21572  			wire |= (uint64(b) & 0x7F) << shift
 21573  			if b < 0x80 {
 21574  				break
 21575  			}
 21576  		}
 21577  		wireType := int(wire & 0x7)
 21578  		switch wireType {
 21579  		case 0:
 21580  			for shift := uint(0); ; shift += 7 {
 21581  				if shift >= 64 {
 21582  					return 0, ErrIntOverflowTx
 21583  				}
 21584  				if iNdEx >= l {
 21585  					return 0, io.ErrUnexpectedEOF
 21586  				}
 21587  				iNdEx++
 21588  				if dAtA[iNdEx-1] < 0x80 {
 21589  					break
 21590  				}
 21591  			}
 21592  		case 1:
 21593  			iNdEx += 8
 21594  		case 2:
 21595  			var length int
 21596  			for shift := uint(0); ; shift += 7 {
 21597  				if shift >= 64 {
 21598  					return 0, ErrIntOverflowTx
 21599  				}
 21600  				if iNdEx >= l {
 21601  					return 0, io.ErrUnexpectedEOF
 21602  				}
 21603  				b := dAtA[iNdEx]
 21604  				iNdEx++
 21605  				length |= (int(b) & 0x7F) << shift
 21606  				if b < 0x80 {
 21607  					break
 21608  				}
 21609  			}
 21610  			if length < 0 {
 21611  				return 0, ErrInvalidLengthTx
 21612  			}
 21613  			iNdEx += length
 21614  		case 3:
 21615  			depth++
 21616  		case 4:
 21617  			if depth == 0 {
 21618  				return 0, ErrUnexpectedEndOfGroupTx
 21619  			}
 21620  			depth--
 21621  		case 5:
 21622  			iNdEx += 4
 21623  		default:
 21624  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 21625  		}
 21626  		if iNdEx < 0 {
 21627  			return 0, ErrInvalidLengthTx
 21628  		}
 21629  		if depth == 0 {
 21630  			return iNdEx, nil
 21631  		}
 21632  	}
 21633  	return 0, io.ErrUnexpectedEOF
 21634  }
 21635  
 21636  var (
 21637  	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
 21638  	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
 21639  	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
 21640  )