Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() *Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GetSQParamsRequest
- func (*GetSQParamsRequest) Descriptor() ([]byte, []int)
- func (m *GetSQParamsRequest) GetPool() string
- func (m *GetSQParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetSQParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetSQParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetSQParamsRequest) ProtoMessage()
- func (m *GetSQParamsRequest) Reset()
- func (m *GetSQParamsRequest) Size() (n int)
- func (m *GetSQParamsRequest) String() string
- func (m *GetSQParamsRequest) Unmarshal(dAtA []byte) error
- func (m *GetSQParamsRequest) XXX_DiscardUnknown()
- func (m *GetSQParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSQParamsRequest) XXX_Merge(src proto.Message)
- func (m *GetSQParamsRequest) XXX_Size() int
- func (m *GetSQParamsRequest) XXX_Unmarshal(b []byte) error
- type GetSQParamsResponse
- func (*GetSQParamsResponse) Descriptor() ([]byte, []int)
- func (m *GetSQParamsResponse) GetBeginBlock() int64
- func (m *GetSQParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetSQParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetSQParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetSQParamsResponse) ProtoMessage()
- func (m *GetSQParamsResponse) Reset()
- func (m *GetSQParamsResponse) Size() (n int)
- func (m *GetSQParamsResponse) String() string
- func (m *GetSQParamsResponse) Unmarshal(dAtA []byte) error
- func (m *GetSQParamsResponse) XXX_DiscardUnknown()
- func (m *GetSQParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSQParamsResponse) XXX_Merge(src proto.Message)
- func (m *GetSQParamsResponse) XXX_Size() int
- func (m *GetSQParamsResponse) XXX_Unmarshal(b []byte) error
- type IsWhitelistedRequest
- func (*IsWhitelistedRequest) Descriptor() ([]byte, []int)
- func (m *IsWhitelistedRequest) GetAddress() string
- func (m *IsWhitelistedRequest) Marshal() (dAtA []byte, err error)
- func (m *IsWhitelistedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *IsWhitelistedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IsWhitelistedRequest) ProtoMessage()
- func (m *IsWhitelistedRequest) Reset()
- func (m *IsWhitelistedRequest) Size() (n int)
- func (m *IsWhitelistedRequest) String() string
- func (m *IsWhitelistedRequest) Unmarshal(dAtA []byte) error
- func (m *IsWhitelistedRequest) XXX_DiscardUnknown()
- func (m *IsWhitelistedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsWhitelistedRequest) XXX_Merge(src proto.Message)
- func (m *IsWhitelistedRequest) XXX_Size() int
- func (m *IsWhitelistedRequest) XXX_Unmarshal(b []byte) error
- type IsWhitelistedResponse
- func (*IsWhitelistedResponse) Descriptor() ([]byte, []int)
- func (m *IsWhitelistedResponse) GetAddress() string
- func (m *IsWhitelistedResponse) GetIsWhitelisted() bool
- func (m *IsWhitelistedResponse) Marshal() (dAtA []byte, err error)
- func (m *IsWhitelistedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *IsWhitelistedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IsWhitelistedResponse) ProtoMessage()
- func (m *IsWhitelistedResponse) Reset()
- func (m *IsWhitelistedResponse) Size() (n int)
- func (m *IsWhitelistedResponse) String() string
- func (m *IsWhitelistedResponse) Unmarshal(dAtA []byte) error
- func (m *IsWhitelistedResponse) XXX_DiscardUnknown()
- func (m *IsWhitelistedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IsWhitelistedResponse) XXX_Merge(src proto.Message)
- func (m *IsWhitelistedResponse) XXX_Size() int
- func (m *IsWhitelistedResponse) XXX_Unmarshal(b []byte) error
- type MTP
- func (*MTP) Descriptor() ([]byte, []int)
- func (m *MTP) GetAddress() string
- func (m *MTP) GetCollateralAsset() string
- func (m *MTP) GetCustodyAsset() string
- func (m *MTP) GetId() uint64
- func (m *MTP) GetPosition() Position
- func (m *MTP) Marshal() (dAtA []byte, err error)
- func (m *MTP) MarshalTo(dAtA []byte) (int, error)
- func (m *MTP) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MTP) ProtoMessage()
- func (m *MTP) Reset()
- func (m *MTP) Size() (n int)
- func (m *MTP) String() string
- func (m *MTP) Unmarshal(dAtA []byte) error
- func (m *MTP) XXX_DiscardUnknown()
- func (m *MTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MTP) XXX_Merge(src proto.Message)
- func (m *MTP) XXX_Size() int
- func (m *MTP) XXX_Unmarshal(b []byte) error
- type MTPRequest
- func (*MTPRequest) Descriptor() ([]byte, []int)
- func (m *MTPRequest) GetAddress() string
- func (m *MTPRequest) GetId() uint64
- func (m *MTPRequest) Marshal() (dAtA []byte, err error)
- func (m *MTPRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MTPRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MTPRequest) ProtoMessage()
- func (m *MTPRequest) Reset()
- func (m *MTPRequest) Size() (n int)
- func (m *MTPRequest) String() string
- func (m *MTPRequest) Unmarshal(dAtA []byte) error
- func (m *MTPRequest) XXX_DiscardUnknown()
- func (m *MTPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MTPRequest) XXX_Merge(src proto.Message)
- func (m *MTPRequest) XXX_Size() int
- func (m *MTPRequest) XXX_Unmarshal(b []byte) error
- type MTPResponse
- func (*MTPResponse) Descriptor() ([]byte, []int)
- func (m *MTPResponse) GetMtp() *MTP
- func (m *MTPResponse) Marshal() (dAtA []byte, err error)
- func (m *MTPResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MTPResponse) ProtoMessage()
- func (m *MTPResponse) Reset()
- func (m *MTPResponse) Size() (n int)
- func (m *MTPResponse) String() string
- func (m *MTPResponse) Unmarshal(dAtA []byte) error
- func (m *MTPResponse) XXX_DiscardUnknown()
- func (m *MTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MTPResponse) XXX_Merge(src proto.Message)
- func (m *MTPResponse) XXX_Size() int
- func (m *MTPResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgClose
- func (*MsgClose) Descriptor() ([]byte, []int)
- func (m *MsgClose) GetId() uint64
- func (m *MsgClose) GetSigner() string
- func (m *MsgClose) Marshal() (dAtA []byte, err error)
- func (m *MsgClose) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClose) ProtoMessage()
- func (m *MsgClose) Reset()
- func (m *MsgClose) Size() (n int)
- func (m *MsgClose) String() string
- func (m *MsgClose) Unmarshal(dAtA []byte) error
- func (m *MsgClose) XXX_DiscardUnknown()
- func (m *MsgClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClose) XXX_Merge(src proto.Message)
- func (m *MsgClose) XXX_Size() int
- func (m *MsgClose) XXX_Unmarshal(b []byte) error
- type MsgCloseResponse
- func (*MsgCloseResponse) Descriptor() ([]byte, []int)
- func (m *MsgCloseResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCloseResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCloseResponse) ProtoMessage()
- func (m *MsgCloseResponse) Reset()
- func (m *MsgCloseResponse) Size() (n int)
- func (m *MsgCloseResponse) String() string
- func (m *MsgCloseResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCloseResponse) XXX_DiscardUnknown()
- func (m *MsgCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCloseResponse) XXX_Merge(src proto.Message)
- func (m *MsgCloseResponse) XXX_Size() int
- func (m *MsgCloseResponse) XXX_Unmarshal(b []byte) error
- type MsgDewhitelist
- func (*MsgDewhitelist) Descriptor() ([]byte, []int)
- func (m *MsgDewhitelist) GetSigner() string
- func (m *MsgDewhitelist) GetWhitelistedAddress() string
- func (m *MsgDewhitelist) Marshal() (dAtA []byte, err error)
- func (m *MsgDewhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDewhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDewhitelist) ProtoMessage()
- func (m *MsgDewhitelist) Reset()
- func (m *MsgDewhitelist) Size() (n int)
- func (m *MsgDewhitelist) String() string
- func (m *MsgDewhitelist) Unmarshal(dAtA []byte) error
- func (m *MsgDewhitelist) XXX_DiscardUnknown()
- func (m *MsgDewhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDewhitelist) XXX_Merge(src proto.Message)
- func (m *MsgDewhitelist) XXX_Size() int
- func (m *MsgDewhitelist) XXX_Unmarshal(b []byte) error
- type MsgDewhitelistResponse
- func (*MsgDewhitelistResponse) Descriptor() ([]byte, []int)
- func (m *MsgDewhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDewhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDewhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDewhitelistResponse) ProtoMessage()
- func (m *MsgDewhitelistResponse) Reset()
- func (m *MsgDewhitelistResponse) Size() (n int)
- func (m *MsgDewhitelistResponse) String() string
- func (m *MsgDewhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDewhitelistResponse) XXX_DiscardUnknown()
- func (m *MsgDewhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDewhitelistResponse) XXX_Merge(src proto.Message)
- func (m *MsgDewhitelistResponse) XXX_Size() int
- func (m *MsgDewhitelistResponse) XXX_Unmarshal(b []byte) error
- type MsgForceClose
- func (*MsgForceClose) Descriptor() ([]byte, []int)
- func (m *MsgForceClose) GetId() uint64
- func (m *MsgForceClose) GetMtpAddress() string
- func (m *MsgForceClose) GetSigner() string
- func (m *MsgForceClose) Marshal() (dAtA []byte, err error)
- func (m *MsgForceClose) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgForceClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgForceClose) ProtoMessage()
- func (m *MsgForceClose) Reset()
- func (m *MsgForceClose) Size() (n int)
- func (m *MsgForceClose) String() string
- func (m *MsgForceClose) Unmarshal(dAtA []byte) error
- func (m *MsgForceClose) XXX_DiscardUnknown()
- func (m *MsgForceClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgForceClose) XXX_Merge(src proto.Message)
- func (m *MsgForceClose) XXX_Size() int
- func (m *MsgForceClose) XXX_Unmarshal(b []byte) error
- type MsgForceCloseResponse
- func (*MsgForceCloseResponse) Descriptor() ([]byte, []int)
- func (m *MsgForceCloseResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgForceCloseResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgForceCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgForceCloseResponse) ProtoMessage()
- func (m *MsgForceCloseResponse) Reset()
- func (m *MsgForceCloseResponse) Size() (n int)
- func (m *MsgForceCloseResponse) String() string
- func (m *MsgForceCloseResponse) Unmarshal(dAtA []byte) error
- func (m *MsgForceCloseResponse) XXX_DiscardUnknown()
- func (m *MsgForceCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgForceCloseResponse) XXX_Merge(src proto.Message)
- func (m *MsgForceCloseResponse) XXX_Size() int
- func (m *MsgForceCloseResponse) XXX_Unmarshal(b []byte) error
- type MsgOpen
- func (*MsgOpen) Descriptor() ([]byte, []int)
- func (m *MsgOpen) GetBorrowAsset() string
- func (m *MsgOpen) GetCollateralAsset() string
- func (m *MsgOpen) GetPosition() Position
- func (m *MsgOpen) GetSigner() string
- func (m *MsgOpen) Marshal() (dAtA []byte, err error)
- func (m *MsgOpen) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpen) ProtoMessage()
- func (m *MsgOpen) Reset()
- func (m *MsgOpen) Size() (n int)
- func (m *MsgOpen) String() string
- func (m *MsgOpen) Unmarshal(dAtA []byte) error
- func (m *MsgOpen) XXX_DiscardUnknown()
- func (m *MsgOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpen) XXX_Merge(src proto.Message)
- func (m *MsgOpen) XXX_Size() int
- func (m *MsgOpen) XXX_Unmarshal(b []byte) error
- type MsgOpenResponse
- func (*MsgOpenResponse) Descriptor() ([]byte, []int)
- func (m *MsgOpenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgOpenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgOpenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgOpenResponse) ProtoMessage()
- func (m *MsgOpenResponse) Reset()
- func (m *MsgOpenResponse) Size() (n int)
- func (m *MsgOpenResponse) String() string
- func (m *MsgOpenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgOpenResponse) XXX_DiscardUnknown()
- func (m *MsgOpenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgOpenResponse) XXX_Merge(src proto.Message)
- func (m *MsgOpenResponse) XXX_Size() int
- func (m *MsgOpenResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetParams() *Params
- func (m *MsgUpdateParams) GetSigner() string
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdatePools
- func (*MsgUpdatePools) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePools) GetClosedPools() []string
- func (m *MsgUpdatePools) GetPools() []string
- func (m *MsgUpdatePools) GetSigner() string
- func (m *MsgUpdatePools) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePools) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePools) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePools) ProtoMessage()
- func (m *MsgUpdatePools) Reset()
- func (m *MsgUpdatePools) Size() (n int)
- func (m *MsgUpdatePools) String() string
- func (m *MsgUpdatePools) Unmarshal(dAtA []byte) error
- func (m *MsgUpdatePools) XXX_DiscardUnknown()
- func (m *MsgUpdatePools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePools) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePools) XXX_Size() int
- func (m *MsgUpdatePools) XXX_Unmarshal(b []byte) error
- type MsgUpdatePoolsResponse
- func (*MsgUpdatePoolsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePoolsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePoolsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePoolsResponse) ProtoMessage()
- func (m *MsgUpdatePoolsResponse) Reset()
- func (m *MsgUpdatePoolsResponse) Size() (n int)
- func (m *MsgUpdatePoolsResponse) String() string
- func (m *MsgUpdatePoolsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdatePoolsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdatePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePoolsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePoolsResponse) XXX_Size() int
- func (m *MsgUpdatePoolsResponse) XXX_Unmarshal(b []byte) error
- type MsgWhitelist
- func (*MsgWhitelist) Descriptor() ([]byte, []int)
- func (m *MsgWhitelist) GetSigner() string
- func (m *MsgWhitelist) GetWhitelistedAddress() string
- func (m *MsgWhitelist) Marshal() (dAtA []byte, err error)
- func (m *MsgWhitelist) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWhitelist) ProtoMessage()
- func (m *MsgWhitelist) Reset()
- func (m *MsgWhitelist) Size() (n int)
- func (m *MsgWhitelist) String() string
- func (m *MsgWhitelist) Unmarshal(dAtA []byte) error
- func (m *MsgWhitelist) XXX_DiscardUnknown()
- func (m *MsgWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWhitelist) XXX_Merge(src proto.Message)
- func (m *MsgWhitelist) XXX_Size() int
- func (m *MsgWhitelist) XXX_Unmarshal(b []byte) error
- type MsgWhitelistResponse
- func (*MsgWhitelistResponse) Descriptor() ([]byte, []int)
- func (m *MsgWhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWhitelistResponse) ProtoMessage()
- func (m *MsgWhitelistResponse) Reset()
- func (m *MsgWhitelistResponse) Size() (n int)
- func (m *MsgWhitelistResponse) String() string
- func (m *MsgWhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWhitelistResponse) XXX_DiscardUnknown()
- func (m *MsgWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWhitelistResponse) XXX_Merge(src proto.Message)
- func (m *MsgWhitelistResponse) XXX_Size() int
- func (m *MsgWhitelistResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetClosedPools() []string
- func (m *Params) GetEpochLength() int64
- func (m *Params) GetForceCloseInsuranceFundAddress() string
- func (m *Params) GetIncrementalInterestPaymentEnabled() bool
- func (m *Params) GetIncrementalInterestPaymentInsuranceFundAddress() string
- func (m *Params) GetMaxOpenPositions() uint64
- func (m *Params) GetPools() []string
- func (m *Params) GetWhitelistingEnabled() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type ParamsRequest
- func (*ParamsRequest) Descriptor() ([]byte, []int)
- func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamsRequest) ProtoMessage()
- func (m *ParamsRequest) Reset()
- func (m *ParamsRequest) Size() (n int)
- func (m *ParamsRequest) String() string
- func (m *ParamsRequest) Unmarshal(dAtA []byte) error
- func (m *ParamsRequest) XXX_DiscardUnknown()
- func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamsRequest) XXX_Merge(src proto.Message)
- func (m *ParamsRequest) XXX_Size() int
- func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
- type ParamsResponse
- func (*ParamsResponse) Descriptor() ([]byte, []int)
- func (m *ParamsResponse) GetParams() *Params
- func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParamsResponse) ProtoMessage()
- func (m *ParamsResponse) Reset()
- func (m *ParamsResponse) Size() (n int)
- func (m *ParamsResponse) String() string
- func (m *ParamsResponse) Unmarshal(dAtA []byte) error
- func (m *ParamsResponse) XXX_DiscardUnknown()
- func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParamsResponse) XXX_Merge(src proto.Message)
- func (m *ParamsResponse) XXX_Size() int
- func (m *ParamsResponse) XXX_Unmarshal(b []byte) error
- type Position
- type PositionsByPoolRequest
- func (*PositionsByPoolRequest) Descriptor() ([]byte, []int)
- func (m *PositionsByPoolRequest) GetAsset() string
- func (m *PositionsByPoolRequest) GetPagination() *query.PageRequest
- func (m *PositionsByPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *PositionsByPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsByPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsByPoolRequest) ProtoMessage()
- func (m *PositionsByPoolRequest) Reset()
- func (m *PositionsByPoolRequest) Size() (n int)
- func (m *PositionsByPoolRequest) String() string
- func (m *PositionsByPoolRequest) Unmarshal(dAtA []byte) error
- func (m *PositionsByPoolRequest) XXX_DiscardUnknown()
- func (m *PositionsByPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsByPoolRequest) XXX_Merge(src proto.Message)
- func (m *PositionsByPoolRequest) XXX_Size() int
- func (m *PositionsByPoolRequest) XXX_Unmarshal(b []byte) error
- type PositionsByPoolResponse
- func (*PositionsByPoolResponse) Descriptor() ([]byte, []int)
- func (m *PositionsByPoolResponse) GetMtps() []*MTP
- func (m *PositionsByPoolResponse) GetPagination() *query.PageResponse
- func (m *PositionsByPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *PositionsByPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsByPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsByPoolResponse) ProtoMessage()
- func (m *PositionsByPoolResponse) Reset()
- func (m *PositionsByPoolResponse) Size() (n int)
- func (m *PositionsByPoolResponse) String() string
- func (m *PositionsByPoolResponse) Unmarshal(dAtA []byte) error
- func (m *PositionsByPoolResponse) XXX_DiscardUnknown()
- func (m *PositionsByPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsByPoolResponse) XXX_Merge(src proto.Message)
- func (m *PositionsByPoolResponse) XXX_Size() int
- func (m *PositionsByPoolResponse) XXX_Unmarshal(b []byte) error
- type PositionsForAddressRequest
- func (*PositionsForAddressRequest) Descriptor() ([]byte, []int)
- func (m *PositionsForAddressRequest) GetAddress() string
- func (m *PositionsForAddressRequest) GetPagination() *query.PageRequest
- func (m *PositionsForAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *PositionsForAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsForAddressRequest) ProtoMessage()
- func (m *PositionsForAddressRequest) Reset()
- func (m *PositionsForAddressRequest) Size() (n int)
- func (m *PositionsForAddressRequest) String() string
- func (m *PositionsForAddressRequest) Unmarshal(dAtA []byte) error
- func (m *PositionsForAddressRequest) XXX_DiscardUnknown()
- func (m *PositionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsForAddressRequest) XXX_Merge(src proto.Message)
- func (m *PositionsForAddressRequest) XXX_Size() int
- func (m *PositionsForAddressRequest) XXX_Unmarshal(b []byte) error
- type PositionsForAddressResponse
- func (*PositionsForAddressResponse) Descriptor() ([]byte, []int)
- func (m *PositionsForAddressResponse) GetMtps() []*MTP
- func (m *PositionsForAddressResponse) GetPagination() *query.PageResponse
- func (m *PositionsForAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *PositionsForAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsForAddressResponse) ProtoMessage()
- func (m *PositionsForAddressResponse) Reset()
- func (m *PositionsForAddressResponse) Size() (n int)
- func (m *PositionsForAddressResponse) String() string
- func (m *PositionsForAddressResponse) Unmarshal(dAtA []byte) error
- func (m *PositionsForAddressResponse) XXX_DiscardUnknown()
- func (m *PositionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsForAddressResponse) XXX_Merge(src proto.Message)
- func (m *PositionsForAddressResponse) XXX_Size() int
- func (m *PositionsForAddressResponse) XXX_Unmarshal(b []byte) error
- type PositionsRequest
- func (*PositionsRequest) Descriptor() ([]byte, []int)
- func (m *PositionsRequest) GetPagination() *query.PageRequest
- func (m *PositionsRequest) Marshal() (dAtA []byte, err error)
- func (m *PositionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsRequest) ProtoMessage()
- func (m *PositionsRequest) Reset()
- func (m *PositionsRequest) Size() (n int)
- func (m *PositionsRequest) String() string
- func (m *PositionsRequest) Unmarshal(dAtA []byte) error
- func (m *PositionsRequest) XXX_DiscardUnknown()
- func (m *PositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsRequest) XXX_Merge(src proto.Message)
- func (m *PositionsRequest) XXX_Size() int
- func (m *PositionsRequest) XXX_Unmarshal(b []byte) error
- type PositionsResponse
- func (*PositionsResponse) Descriptor() ([]byte, []int)
- func (m *PositionsResponse) GetMtps() []*MTP
- func (m *PositionsResponse) GetPagination() *query.PageResponse
- func (m *PositionsResponse) Marshal() (dAtA []byte, err error)
- func (m *PositionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionsResponse) ProtoMessage()
- func (m *PositionsResponse) Reset()
- func (m *PositionsResponse) Size() (n int)
- func (m *PositionsResponse) String() string
- func (m *PositionsResponse) Unmarshal(dAtA []byte) error
- func (m *PositionsResponse) XXX_DiscardUnknown()
- func (m *PositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionsResponse) XXX_Merge(src proto.Message)
- func (m *PositionsResponse) XXX_Size() int
- func (m *PositionsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryServer
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)
- func (m *StatusRequest) Marshal() (dAtA []byte, err error)
- func (m *StatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatusRequest) ProtoMessage()
- func (m *StatusRequest) Reset()
- func (m *StatusRequest) Size() (n int)
- func (m *StatusRequest) String() string
- func (m *StatusRequest) Unmarshal(dAtA []byte) error
- func (m *StatusRequest) XXX_DiscardUnknown()
- func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusRequest) XXX_Merge(src proto.Message)
- func (m *StatusRequest) XXX_Size() int
- func (m *StatusRequest) XXX_Unmarshal(b []byte) error
- type StatusResponse
- func (*StatusResponse) Descriptor() ([]byte, []int)
- func (m *StatusResponse) GetLifetimeMtpCount() uint64
- func (m *StatusResponse) GetOpenMtpCount() uint64
- func (m *StatusResponse) Marshal() (dAtA []byte, err error)
- func (m *StatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StatusResponse) ProtoMessage()
- func (m *StatusResponse) Reset()
- func (m *StatusResponse) Size() (n int)
- func (m *StatusResponse) String() string
- func (m *StatusResponse) Unmarshal(dAtA []byte) error
- func (m *StatusResponse) XXX_DiscardUnknown()
- func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatusResponse) XXX_Merge(src proto.Message)
- func (m *StatusResponse) XXX_Size() int
- func (m *StatusResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Close(ctx context.Context, req *MsgClose) (*MsgCloseResponse, error)
- func (*UnimplementedMsgServer) Dewhitelist(ctx context.Context, req *MsgDewhitelist) (*MsgDewhitelistResponse, error)
- func (*UnimplementedMsgServer) ForceClose(ctx context.Context, req *MsgForceClose) (*MsgForceCloseResponse, error)
- func (*UnimplementedMsgServer) Open(ctx context.Context, req *MsgOpen) (*MsgOpenResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) UpdatePools(ctx context.Context, req *MsgUpdatePools) (*MsgUpdatePoolsResponse, error)
- func (*UnimplementedMsgServer) Whitelist(ctx context.Context, req *MsgWhitelist) (*MsgWhitelistResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetMTP(ctx context.Context, req *MTPRequest) (*MTPResponse, error)
- func (*UnimplementedQueryServer) GetParams(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error)
- func (*UnimplementedQueryServer) GetPositions(ctx context.Context, req *PositionsRequest) (*PositionsResponse, error)
- func (*UnimplementedQueryServer) GetPositionsByPool(ctx context.Context, req *PositionsByPoolRequest) (*PositionsByPoolResponse, error)
- func (*UnimplementedQueryServer) GetPositionsForAddress(ctx context.Context, req *PositionsForAddressRequest) (*PositionsForAddressResponse, error)
- func (*UnimplementedQueryServer) GetSQParams(ctx context.Context, req *GetSQParamsRequest) (*GetSQParamsResponse, error)
- func (*UnimplementedQueryServer) GetStatus(ctx context.Context, req *StatusRequest) (*StatusResponse, error)
- func (*UnimplementedQueryServer) GetWhitelist(ctx context.Context, req *WhitelistRequest) (*WhitelistResponse, error)
- func (*UnimplementedQueryServer) IsWhitelisted(ctx context.Context, req *IsWhitelistedRequest) (*IsWhitelistedResponse, error)
- type WhitelistRequest
- func (*WhitelistRequest) Descriptor() ([]byte, []int)
- func (m *WhitelistRequest) GetPagination() *query.PageRequest
- func (m *WhitelistRequest) Marshal() (dAtA []byte, err error)
- func (m *WhitelistRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *WhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhitelistRequest) ProtoMessage()
- func (m *WhitelistRequest) Reset()
- func (m *WhitelistRequest) Size() (n int)
- func (m *WhitelistRequest) String() string
- func (m *WhitelistRequest) Unmarshal(dAtA []byte) error
- func (m *WhitelistRequest) XXX_DiscardUnknown()
- func (m *WhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhitelistRequest) XXX_Merge(src proto.Message)
- func (m *WhitelistRequest) XXX_Size() int
- func (m *WhitelistRequest) XXX_Unmarshal(b []byte) error
- type WhitelistResponse
- func (*WhitelistResponse) Descriptor() ([]byte, []int)
- func (m *WhitelistResponse) GetPagination() *query.PageResponse
- func (m *WhitelistResponse) GetWhitelist() []string
- func (m *WhitelistResponse) Marshal() (dAtA []byte, err error)
- func (m *WhitelistResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *WhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhitelistResponse) ProtoMessage()
- func (m *WhitelistResponse) Reset()
- func (m *WhitelistResponse) Size() (n int)
- func (m *WhitelistResponse) String() string
- func (m *WhitelistResponse) Unmarshal(dAtA []byte) error
- func (m *WhitelistResponse) XXX_DiscardUnknown()
- func (m *WhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhitelistResponse) XXX_Merge(src proto.Message)
- func (m *WhitelistResponse) XXX_Size() int
- func (m *WhitelistResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var Position_name = map[int32]string{
0: "UNSPECIFIED",
1: "LONG",
2: "SHORT",
}
var Position_value = map[string]int32{
"UNSPECIFIED": 0,
"LONG": 1,
"SHORT": 2,
}
Functions ¶
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type GenesisState ¶
type GenesisState struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() *Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GetSQParamsRequest ¶
type GetSQParamsRequest struct {
Pool string `protobuf:"bytes,1,opt,name=pool,proto3" json:"pool,omitempty"`
}
func (*GetSQParamsRequest) Descriptor ¶
func (*GetSQParamsRequest) Descriptor() ([]byte, []int)
func (*GetSQParamsRequest) GetPool ¶
func (m *GetSQParamsRequest) GetPool() string
func (*GetSQParamsRequest) Marshal ¶
func (m *GetSQParamsRequest) Marshal() (dAtA []byte, err error)
func (*GetSQParamsRequest) MarshalTo ¶
func (m *GetSQParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetSQParamsRequest) MarshalToSizedBuffer ¶
func (m *GetSQParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetSQParamsRequest) ProtoMessage ¶
func (*GetSQParamsRequest) ProtoMessage()
func (*GetSQParamsRequest) Reset ¶
func (m *GetSQParamsRequest) Reset()
func (*GetSQParamsRequest) Size ¶
func (m *GetSQParamsRequest) Size() (n int)
func (*GetSQParamsRequest) String ¶
func (m *GetSQParamsRequest) String() string
func (*GetSQParamsRequest) Unmarshal ¶
func (m *GetSQParamsRequest) Unmarshal(dAtA []byte) error
func (*GetSQParamsRequest) XXX_DiscardUnknown ¶
func (m *GetSQParamsRequest) XXX_DiscardUnknown()
func (*GetSQParamsRequest) XXX_Marshal ¶
func (m *GetSQParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSQParamsRequest) XXX_Merge ¶
func (m *GetSQParamsRequest) XXX_Merge(src proto.Message)
func (*GetSQParamsRequest) XXX_Size ¶
func (m *GetSQParamsRequest) XXX_Size() int
func (*GetSQParamsRequest) XXX_Unmarshal ¶
func (m *GetSQParamsRequest) XXX_Unmarshal(b []byte) error
type GetSQParamsResponse ¶
type GetSQParamsResponse struct {
BeginBlock int64 `protobuf:"varint,1,opt,name=begin_block,json=beginBlock,proto3" json:"begin_block,omitempty"`
}
func (*GetSQParamsResponse) Descriptor ¶
func (*GetSQParamsResponse) Descriptor() ([]byte, []int)
func (*GetSQParamsResponse) GetBeginBlock ¶
func (m *GetSQParamsResponse) GetBeginBlock() int64
func (*GetSQParamsResponse) Marshal ¶
func (m *GetSQParamsResponse) Marshal() (dAtA []byte, err error)
func (*GetSQParamsResponse) MarshalTo ¶
func (m *GetSQParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetSQParamsResponse) MarshalToSizedBuffer ¶
func (m *GetSQParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetSQParamsResponse) ProtoMessage ¶
func (*GetSQParamsResponse) ProtoMessage()
func (*GetSQParamsResponse) Reset ¶
func (m *GetSQParamsResponse) Reset()
func (*GetSQParamsResponse) Size ¶
func (m *GetSQParamsResponse) Size() (n int)
func (*GetSQParamsResponse) String ¶
func (m *GetSQParamsResponse) String() string
func (*GetSQParamsResponse) Unmarshal ¶
func (m *GetSQParamsResponse) Unmarshal(dAtA []byte) error
func (*GetSQParamsResponse) XXX_DiscardUnknown ¶
func (m *GetSQParamsResponse) XXX_DiscardUnknown()
func (*GetSQParamsResponse) XXX_Marshal ¶
func (m *GetSQParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSQParamsResponse) XXX_Merge ¶
func (m *GetSQParamsResponse) XXX_Merge(src proto.Message)
func (*GetSQParamsResponse) XXX_Size ¶
func (m *GetSQParamsResponse) XXX_Size() int
func (*GetSQParamsResponse) XXX_Unmarshal ¶
func (m *GetSQParamsResponse) XXX_Unmarshal(b []byte) error
type IsWhitelistedRequest ¶ added in v0.16.0
type IsWhitelistedRequest struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
func (*IsWhitelistedRequest) Descriptor ¶ added in v0.16.0
func (*IsWhitelistedRequest) Descriptor() ([]byte, []int)
func (*IsWhitelistedRequest) GetAddress ¶ added in v0.16.0
func (m *IsWhitelistedRequest) GetAddress() string
func (*IsWhitelistedRequest) Marshal ¶ added in v0.16.0
func (m *IsWhitelistedRequest) Marshal() (dAtA []byte, err error)
func (*IsWhitelistedRequest) MarshalTo ¶ added in v0.16.0
func (m *IsWhitelistedRequest) MarshalTo(dAtA []byte) (int, error)
func (*IsWhitelistedRequest) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *IsWhitelistedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IsWhitelistedRequest) ProtoMessage ¶ added in v0.16.0
func (*IsWhitelistedRequest) ProtoMessage()
func (*IsWhitelistedRequest) Reset ¶ added in v0.16.0
func (m *IsWhitelistedRequest) Reset()
func (*IsWhitelistedRequest) Size ¶ added in v0.16.0
func (m *IsWhitelistedRequest) Size() (n int)
func (*IsWhitelistedRequest) String ¶ added in v0.16.0
func (m *IsWhitelistedRequest) String() string
func (*IsWhitelistedRequest) Unmarshal ¶ added in v0.16.0
func (m *IsWhitelistedRequest) Unmarshal(dAtA []byte) error
func (*IsWhitelistedRequest) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *IsWhitelistedRequest) XXX_DiscardUnknown()
func (*IsWhitelistedRequest) XXX_Marshal ¶ added in v0.16.0
func (m *IsWhitelistedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsWhitelistedRequest) XXX_Merge ¶ added in v0.16.0
func (m *IsWhitelistedRequest) XXX_Merge(src proto.Message)
func (*IsWhitelistedRequest) XXX_Size ¶ added in v0.16.0
func (m *IsWhitelistedRequest) XXX_Size() int
func (*IsWhitelistedRequest) XXX_Unmarshal ¶ added in v0.16.0
func (m *IsWhitelistedRequest) XXX_Unmarshal(b []byte) error
type IsWhitelistedResponse ¶ added in v0.16.0
type IsWhitelistedResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` IsWhitelisted bool `protobuf:"varint,2,opt,name=is_whitelisted,json=isWhitelisted,proto3" json:"is_whitelisted,omitempty"` }
func (*IsWhitelistedResponse) Descriptor ¶ added in v0.16.0
func (*IsWhitelistedResponse) Descriptor() ([]byte, []int)
func (*IsWhitelistedResponse) GetAddress ¶ added in v0.16.0
func (m *IsWhitelistedResponse) GetAddress() string
func (*IsWhitelistedResponse) GetIsWhitelisted ¶ added in v0.16.0
func (m *IsWhitelistedResponse) GetIsWhitelisted() bool
func (*IsWhitelistedResponse) Marshal ¶ added in v0.16.0
func (m *IsWhitelistedResponse) Marshal() (dAtA []byte, err error)
func (*IsWhitelistedResponse) MarshalTo ¶ added in v0.16.0
func (m *IsWhitelistedResponse) MarshalTo(dAtA []byte) (int, error)
func (*IsWhitelistedResponse) MarshalToSizedBuffer ¶ added in v0.16.0
func (m *IsWhitelistedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IsWhitelistedResponse) ProtoMessage ¶ added in v0.16.0
func (*IsWhitelistedResponse) ProtoMessage()
func (*IsWhitelistedResponse) Reset ¶ added in v0.16.0
func (m *IsWhitelistedResponse) Reset()
func (*IsWhitelistedResponse) Size ¶ added in v0.16.0
func (m *IsWhitelistedResponse) Size() (n int)
func (*IsWhitelistedResponse) String ¶ added in v0.16.0
func (m *IsWhitelistedResponse) String() string
func (*IsWhitelistedResponse) Unmarshal ¶ added in v0.16.0
func (m *IsWhitelistedResponse) Unmarshal(dAtA []byte) error
func (*IsWhitelistedResponse) XXX_DiscardUnknown ¶ added in v0.16.0
func (m *IsWhitelistedResponse) XXX_DiscardUnknown()
func (*IsWhitelistedResponse) XXX_Marshal ¶ added in v0.16.0
func (m *IsWhitelistedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IsWhitelistedResponse) XXX_Merge ¶ added in v0.16.0
func (m *IsWhitelistedResponse) XXX_Merge(src proto.Message)
func (*IsWhitelistedResponse) XXX_Size ¶ added in v0.16.0
func (m *IsWhitelistedResponse) XXX_Size() int
func (*IsWhitelistedResponse) XXX_Unmarshal ¶ added in v0.16.0
func (m *IsWhitelistedResponse) XXX_Unmarshal(b []byte) error
type MTP ¶
type MTP struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` CollateralAsset string `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset,omitempty"` CollateralAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 150-byte string literal not displayed */ Liabilities github_com_cosmos_cosmos_sdk_types.Uint `protobuf:"bytes,4,opt,name=liabilities,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Uint" json:"liabilities"` InterestPaid github_com_cosmos_cosmos_sdk_types.Uint `` /* 138-byte string literal not displayed */ InterestUnpaid github_com_cosmos_cosmos_sdk_types.Uint `` /* 144-byte string literal not displayed */ CustodyAsset string `protobuf:"bytes,7,opt,name=custody_asset,json=custodyAsset,proto3" json:"custody_asset,omitempty"` CustodyAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 141-byte string literal not displayed */ Leverage github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=leverage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"leverage"` MtpHealth github_com_cosmos_cosmos_sdk_types.Dec `` /* 129-byte string literal not displayed */ Position Position `protobuf:"varint,11,opt,name=position,proto3,enum=sifnode.margin.v1.Position" json:"position,omitempty"` Id uint64 `protobuf:"varint,12,opt,name=id,proto3" json:"id,omitempty"` }
func (*MTP) Descriptor ¶
func (*MTP) GetAddress ¶
func (*MTP) GetCollateralAsset ¶
func (*MTP) GetCustodyAsset ¶
func (*MTP) GetPosition ¶
func (*MTP) ProtoMessage ¶
func (*MTP) ProtoMessage()
func (*MTP) XXX_DiscardUnknown ¶
func (m *MTP) XXX_DiscardUnknown()
func (*MTP) XXX_Unmarshal ¶
type MTPRequest ¶
type MTPRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` }
func (*MTPRequest) Descriptor ¶
func (*MTPRequest) Descriptor() ([]byte, []int)
func (*MTPRequest) GetAddress ¶
func (m *MTPRequest) GetAddress() string
func (*MTPRequest) GetId ¶
func (m *MTPRequest) GetId() uint64
func (*MTPRequest) Marshal ¶
func (m *MTPRequest) Marshal() (dAtA []byte, err error)
func (*MTPRequest) MarshalToSizedBuffer ¶
func (m *MTPRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MTPRequest) ProtoMessage ¶
func (*MTPRequest) ProtoMessage()
func (*MTPRequest) Reset ¶
func (m *MTPRequest) Reset()
func (*MTPRequest) Size ¶
func (m *MTPRequest) Size() (n int)
func (*MTPRequest) String ¶
func (m *MTPRequest) String() string
func (*MTPRequest) Unmarshal ¶
func (m *MTPRequest) Unmarshal(dAtA []byte) error
func (*MTPRequest) XXX_DiscardUnknown ¶
func (m *MTPRequest) XXX_DiscardUnknown()
func (*MTPRequest) XXX_Marshal ¶
func (m *MTPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MTPRequest) XXX_Merge ¶
func (m *MTPRequest) XXX_Merge(src proto.Message)
func (*MTPRequest) XXX_Size ¶
func (m *MTPRequest) XXX_Size() int
func (*MTPRequest) XXX_Unmarshal ¶
func (m *MTPRequest) XXX_Unmarshal(b []byte) error
type MTPResponse ¶
type MTPResponse struct {
Mtp *MTP `protobuf:"bytes,1,opt,name=mtp,proto3" json:"mtp,omitempty"`
}
func (*MTPResponse) Descriptor ¶
func (*MTPResponse) Descriptor() ([]byte, []int)
func (*MTPResponse) GetMtp ¶
func (m *MTPResponse) GetMtp() *MTP
func (*MTPResponse) Marshal ¶
func (m *MTPResponse) Marshal() (dAtA []byte, err error)
func (*MTPResponse) MarshalToSizedBuffer ¶
func (m *MTPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MTPResponse) ProtoMessage ¶
func (*MTPResponse) ProtoMessage()
func (*MTPResponse) Reset ¶
func (m *MTPResponse) Reset()
func (*MTPResponse) Size ¶
func (m *MTPResponse) Size() (n int)
func (*MTPResponse) String ¶
func (m *MTPResponse) String() string
func (*MTPResponse) Unmarshal ¶
func (m *MTPResponse) Unmarshal(dAtA []byte) error
func (*MTPResponse) XXX_DiscardUnknown ¶
func (m *MTPResponse) XXX_DiscardUnknown()
func (*MTPResponse) XXX_Marshal ¶
func (m *MTPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MTPResponse) XXX_Merge ¶
func (m *MTPResponse) XXX_Merge(src proto.Message)
func (*MTPResponse) XXX_Size ¶
func (m *MTPResponse) XXX_Size() int
func (*MTPResponse) XXX_Unmarshal ¶
func (m *MTPResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { Open(ctx context.Context, in *MsgOpen, opts ...grpc.CallOption) (*MsgOpenResponse, error) Close(ctx context.Context, in *MsgClose, opts ...grpc.CallOption) (*MsgCloseResponse, error) ForceClose(ctx context.Context, in *MsgForceClose, opts ...grpc.CallOption) (*MsgForceCloseResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) UpdatePools(ctx context.Context, in *MsgUpdatePools, opts ...grpc.CallOption) (*MsgUpdatePoolsResponse, error) Whitelist(ctx context.Context, in *MsgWhitelist, opts ...grpc.CallOption) (*MsgWhitelistResponse, error) Dewhitelist(ctx context.Context, in *MsgDewhitelist, opts ...grpc.CallOption) (*MsgDewhitelistResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgClose ¶
type MsgClose struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` }
func (*MsgClose) Descriptor ¶
func (*MsgClose) MarshalToSizedBuffer ¶
func (*MsgClose) ProtoMessage ¶
func (*MsgClose) ProtoMessage()
func (*MsgClose) XXX_DiscardUnknown ¶
func (m *MsgClose) XXX_DiscardUnknown()
func (*MsgClose) XXX_Marshal ¶
func (*MsgClose) XXX_Unmarshal ¶
type MsgCloseResponse ¶
type MsgCloseResponse struct { }
func (*MsgCloseResponse) Descriptor ¶
func (*MsgCloseResponse) Descriptor() ([]byte, []int)
func (*MsgCloseResponse) Marshal ¶
func (m *MsgCloseResponse) Marshal() (dAtA []byte, err error)
func (*MsgCloseResponse) MarshalToSizedBuffer ¶
func (m *MsgCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCloseResponse) ProtoMessage ¶
func (*MsgCloseResponse) ProtoMessage()
func (*MsgCloseResponse) Reset ¶
func (m *MsgCloseResponse) Reset()
func (*MsgCloseResponse) Size ¶
func (m *MsgCloseResponse) Size() (n int)
func (*MsgCloseResponse) String ¶
func (m *MsgCloseResponse) String() string
func (*MsgCloseResponse) Unmarshal ¶
func (m *MsgCloseResponse) Unmarshal(dAtA []byte) error
func (*MsgCloseResponse) XXX_DiscardUnknown ¶
func (m *MsgCloseResponse) XXX_DiscardUnknown()
func (*MsgCloseResponse) XXX_Marshal ¶
func (m *MsgCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCloseResponse) XXX_Merge ¶
func (m *MsgCloseResponse) XXX_Merge(src proto.Message)
func (*MsgCloseResponse) XXX_Size ¶
func (m *MsgCloseResponse) XXX_Size() int
func (*MsgCloseResponse) XXX_Unmarshal ¶
func (m *MsgCloseResponse) XXX_Unmarshal(b []byte) error
type MsgDewhitelist ¶
type MsgDewhitelist struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` WhitelistedAddress string `protobuf:"bytes,2,opt,name=whitelisted_address,json=whitelistedAddress,proto3" json:"whitelisted_address,omitempty"` }
func (*MsgDewhitelist) Descriptor ¶
func (*MsgDewhitelist) Descriptor() ([]byte, []int)
func (*MsgDewhitelist) GetSigner ¶
func (m *MsgDewhitelist) GetSigner() string
func (*MsgDewhitelist) GetWhitelistedAddress ¶
func (m *MsgDewhitelist) GetWhitelistedAddress() string
func (*MsgDewhitelist) Marshal ¶
func (m *MsgDewhitelist) Marshal() (dAtA []byte, err error)
func (*MsgDewhitelist) MarshalToSizedBuffer ¶
func (m *MsgDewhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDewhitelist) ProtoMessage ¶
func (*MsgDewhitelist) ProtoMessage()
func (*MsgDewhitelist) Reset ¶
func (m *MsgDewhitelist) Reset()
func (*MsgDewhitelist) Size ¶
func (m *MsgDewhitelist) Size() (n int)
func (*MsgDewhitelist) String ¶
func (m *MsgDewhitelist) String() string
func (*MsgDewhitelist) Unmarshal ¶
func (m *MsgDewhitelist) Unmarshal(dAtA []byte) error
func (*MsgDewhitelist) XXX_DiscardUnknown ¶
func (m *MsgDewhitelist) XXX_DiscardUnknown()
func (*MsgDewhitelist) XXX_Marshal ¶
func (m *MsgDewhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDewhitelist) XXX_Merge ¶
func (m *MsgDewhitelist) XXX_Merge(src proto.Message)
func (*MsgDewhitelist) XXX_Size ¶
func (m *MsgDewhitelist) XXX_Size() int
func (*MsgDewhitelist) XXX_Unmarshal ¶
func (m *MsgDewhitelist) XXX_Unmarshal(b []byte) error
type MsgDewhitelistResponse ¶
type MsgDewhitelistResponse struct { }
func (*MsgDewhitelistResponse) Descriptor ¶
func (*MsgDewhitelistResponse) Descriptor() ([]byte, []int)
func (*MsgDewhitelistResponse) Marshal ¶
func (m *MsgDewhitelistResponse) Marshal() (dAtA []byte, err error)
func (*MsgDewhitelistResponse) MarshalTo ¶
func (m *MsgDewhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDewhitelistResponse) MarshalToSizedBuffer ¶
func (m *MsgDewhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDewhitelistResponse) ProtoMessage ¶
func (*MsgDewhitelistResponse) ProtoMessage()
func (*MsgDewhitelistResponse) Reset ¶
func (m *MsgDewhitelistResponse) Reset()
func (*MsgDewhitelistResponse) Size ¶
func (m *MsgDewhitelistResponse) Size() (n int)
func (*MsgDewhitelistResponse) String ¶
func (m *MsgDewhitelistResponse) String() string
func (*MsgDewhitelistResponse) Unmarshal ¶
func (m *MsgDewhitelistResponse) Unmarshal(dAtA []byte) error
func (*MsgDewhitelistResponse) XXX_DiscardUnknown ¶
func (m *MsgDewhitelistResponse) XXX_DiscardUnknown()
func (*MsgDewhitelistResponse) XXX_Marshal ¶
func (m *MsgDewhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDewhitelistResponse) XXX_Merge ¶
func (m *MsgDewhitelistResponse) XXX_Merge(src proto.Message)
func (*MsgDewhitelistResponse) XXX_Size ¶
func (m *MsgDewhitelistResponse) XXX_Size() int
func (*MsgDewhitelistResponse) XXX_Unmarshal ¶
func (m *MsgDewhitelistResponse) XXX_Unmarshal(b []byte) error
type MsgForceClose ¶
type MsgForceClose struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` MtpAddress string `protobuf:"bytes,2,opt,name=mtp_address,json=mtpAddress,proto3" json:"mtp_address,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` }
func (*MsgForceClose) Descriptor ¶
func (*MsgForceClose) Descriptor() ([]byte, []int)
func (*MsgForceClose) GetId ¶
func (m *MsgForceClose) GetId() uint64
func (*MsgForceClose) GetMtpAddress ¶
func (m *MsgForceClose) GetMtpAddress() string
func (*MsgForceClose) GetSigner ¶
func (m *MsgForceClose) GetSigner() string
func (*MsgForceClose) Marshal ¶
func (m *MsgForceClose) Marshal() (dAtA []byte, err error)
func (*MsgForceClose) MarshalToSizedBuffer ¶
func (m *MsgForceClose) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgForceClose) ProtoMessage ¶
func (*MsgForceClose) ProtoMessage()
func (*MsgForceClose) Reset ¶
func (m *MsgForceClose) Reset()
func (*MsgForceClose) Size ¶
func (m *MsgForceClose) Size() (n int)
func (*MsgForceClose) String ¶
func (m *MsgForceClose) String() string
func (*MsgForceClose) Unmarshal ¶
func (m *MsgForceClose) Unmarshal(dAtA []byte) error
func (*MsgForceClose) XXX_DiscardUnknown ¶
func (m *MsgForceClose) XXX_DiscardUnknown()
func (*MsgForceClose) XXX_Marshal ¶
func (m *MsgForceClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgForceClose) XXX_Merge ¶
func (m *MsgForceClose) XXX_Merge(src proto.Message)
func (*MsgForceClose) XXX_Size ¶
func (m *MsgForceClose) XXX_Size() int
func (*MsgForceClose) XXX_Unmarshal ¶
func (m *MsgForceClose) XXX_Unmarshal(b []byte) error
type MsgForceCloseResponse ¶
type MsgForceCloseResponse struct { }
func (*MsgForceCloseResponse) Descriptor ¶
func (*MsgForceCloseResponse) Descriptor() ([]byte, []int)
func (*MsgForceCloseResponse) Marshal ¶
func (m *MsgForceCloseResponse) Marshal() (dAtA []byte, err error)
func (*MsgForceCloseResponse) MarshalTo ¶
func (m *MsgForceCloseResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgForceCloseResponse) MarshalToSizedBuffer ¶
func (m *MsgForceCloseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgForceCloseResponse) ProtoMessage ¶
func (*MsgForceCloseResponse) ProtoMessage()
func (*MsgForceCloseResponse) Reset ¶
func (m *MsgForceCloseResponse) Reset()
func (*MsgForceCloseResponse) Size ¶
func (m *MsgForceCloseResponse) Size() (n int)
func (*MsgForceCloseResponse) String ¶
func (m *MsgForceCloseResponse) String() string
func (*MsgForceCloseResponse) Unmarshal ¶
func (m *MsgForceCloseResponse) Unmarshal(dAtA []byte) error
func (*MsgForceCloseResponse) XXX_DiscardUnknown ¶
func (m *MsgForceCloseResponse) XXX_DiscardUnknown()
func (*MsgForceCloseResponse) XXX_Marshal ¶
func (m *MsgForceCloseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgForceCloseResponse) XXX_Merge ¶
func (m *MsgForceCloseResponse) XXX_Merge(src proto.Message)
func (*MsgForceCloseResponse) XXX_Size ¶
func (m *MsgForceCloseResponse) XXX_Size() int
func (*MsgForceCloseResponse) XXX_Unmarshal ¶
func (m *MsgForceCloseResponse) XXX_Unmarshal(b []byte) error
type MsgOpen ¶
type MsgOpen struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` CollateralAsset string `protobuf:"bytes,2,opt,name=collateral_asset,json=collateralAsset,proto3" json:"collateral_asset,omitempty"` CollateralAmount github_com_cosmos_cosmos_sdk_types.Uint `` /* 150-byte string literal not displayed */ BorrowAsset string `protobuf:"bytes,4,opt,name=borrow_asset,json=borrowAsset,proto3" json:"borrow_asset,omitempty"` Position Position `protobuf:"varint,5,opt,name=position,proto3,enum=sifnode.margin.v1.Position" json:"position,omitempty"` Leverage github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=leverage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"leverage"` }
func (*MsgOpen) Descriptor ¶
func (*MsgOpen) GetBorrowAsset ¶
func (*MsgOpen) GetCollateralAsset ¶
func (*MsgOpen) GetPosition ¶
func (*MsgOpen) MarshalToSizedBuffer ¶
func (*MsgOpen) ProtoMessage ¶
func (*MsgOpen) ProtoMessage()
func (*MsgOpen) XXX_DiscardUnknown ¶
func (m *MsgOpen) XXX_DiscardUnknown()
func (*MsgOpen) XXX_Marshal ¶
func (*MsgOpen) XXX_Unmarshal ¶
type MsgOpenResponse ¶
type MsgOpenResponse struct { }
func (*MsgOpenResponse) Descriptor ¶
func (*MsgOpenResponse) Descriptor() ([]byte, []int)
func (*MsgOpenResponse) Marshal ¶
func (m *MsgOpenResponse) Marshal() (dAtA []byte, err error)
func (*MsgOpenResponse) MarshalToSizedBuffer ¶
func (m *MsgOpenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgOpenResponse) ProtoMessage ¶
func (*MsgOpenResponse) ProtoMessage()
func (*MsgOpenResponse) Reset ¶
func (m *MsgOpenResponse) Reset()
func (*MsgOpenResponse) Size ¶
func (m *MsgOpenResponse) Size() (n int)
func (*MsgOpenResponse) String ¶
func (m *MsgOpenResponse) String() string
func (*MsgOpenResponse) Unmarshal ¶
func (m *MsgOpenResponse) Unmarshal(dAtA []byte) error
func (*MsgOpenResponse) XXX_DiscardUnknown ¶
func (m *MsgOpenResponse) XXX_DiscardUnknown()
func (*MsgOpenResponse) XXX_Marshal ¶
func (m *MsgOpenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgOpenResponse) XXX_Merge ¶
func (m *MsgOpenResponse) XXX_Merge(src proto.Message)
func (*MsgOpenResponse) XXX_Size ¶
func (m *MsgOpenResponse) XXX_Size() int
func (*MsgOpenResponse) XXX_Unmarshal ¶
func (m *MsgOpenResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Open(context.Context, *MsgOpen) (*MsgOpenResponse, error) Close(context.Context, *MsgClose) (*MsgCloseResponse, error) ForceClose(context.Context, *MsgForceClose) (*MsgForceCloseResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) UpdatePools(context.Context, *MsgUpdatePools) (*MsgUpdatePoolsResponse, error) Whitelist(context.Context, *MsgWhitelist) (*MsgWhitelistResponse, error) Dewhitelist(context.Context, *MsgDewhitelist) (*MsgDewhitelistResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶
type MsgUpdateParams struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` }
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() *Params
func (*MsgUpdateParams) GetSigner ¶
func (m *MsgUpdateParams) GetSigner() string
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdatePools ¶
type MsgUpdatePools struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` Pools []string `protobuf:"bytes,2,rep,name=pools,proto3" json:"pools,omitempty"` ClosedPools []string `protobuf:"bytes,3,rep,name=closed_pools,json=closedPools,proto3" json:"closed_pools,omitempty"` }
func (*MsgUpdatePools) Descriptor ¶
func (*MsgUpdatePools) Descriptor() ([]byte, []int)
func (*MsgUpdatePools) GetClosedPools ¶
func (m *MsgUpdatePools) GetClosedPools() []string
func (*MsgUpdatePools) GetPools ¶
func (m *MsgUpdatePools) GetPools() []string
func (*MsgUpdatePools) GetSigner ¶
func (m *MsgUpdatePools) GetSigner() string
func (*MsgUpdatePools) Marshal ¶
func (m *MsgUpdatePools) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePools) MarshalToSizedBuffer ¶
func (m *MsgUpdatePools) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePools) ProtoMessage ¶
func (*MsgUpdatePools) ProtoMessage()
func (*MsgUpdatePools) Reset ¶
func (m *MsgUpdatePools) Reset()
func (*MsgUpdatePools) Size ¶
func (m *MsgUpdatePools) Size() (n int)
func (*MsgUpdatePools) String ¶
func (m *MsgUpdatePools) String() string
func (*MsgUpdatePools) Unmarshal ¶
func (m *MsgUpdatePools) Unmarshal(dAtA []byte) error
func (*MsgUpdatePools) XXX_DiscardUnknown ¶
func (m *MsgUpdatePools) XXX_DiscardUnknown()
func (*MsgUpdatePools) XXX_Marshal ¶
func (m *MsgUpdatePools) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePools) XXX_Merge ¶
func (m *MsgUpdatePools) XXX_Merge(src proto.Message)
func (*MsgUpdatePools) XXX_Size ¶
func (m *MsgUpdatePools) XXX_Size() int
func (*MsgUpdatePools) XXX_Unmarshal ¶
func (m *MsgUpdatePools) XXX_Unmarshal(b []byte) error
type MsgUpdatePoolsResponse ¶
type MsgUpdatePoolsResponse struct { }
func (*MsgUpdatePoolsResponse) Descriptor ¶
func (*MsgUpdatePoolsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdatePoolsResponse) Marshal ¶
func (m *MsgUpdatePoolsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePoolsResponse) MarshalTo ¶
func (m *MsgUpdatePoolsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePoolsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdatePoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePoolsResponse) ProtoMessage ¶
func (*MsgUpdatePoolsResponse) ProtoMessage()
func (*MsgUpdatePoolsResponse) Reset ¶
func (m *MsgUpdatePoolsResponse) Reset()
func (*MsgUpdatePoolsResponse) Size ¶
func (m *MsgUpdatePoolsResponse) Size() (n int)
func (*MsgUpdatePoolsResponse) String ¶
func (m *MsgUpdatePoolsResponse) String() string
func (*MsgUpdatePoolsResponse) Unmarshal ¶
func (m *MsgUpdatePoolsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdatePoolsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdatePoolsResponse) XXX_DiscardUnknown()
func (*MsgUpdatePoolsResponse) XXX_Marshal ¶
func (m *MsgUpdatePoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePoolsResponse) XXX_Merge ¶
func (m *MsgUpdatePoolsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdatePoolsResponse) XXX_Size ¶
func (m *MsgUpdatePoolsResponse) XXX_Size() int
func (*MsgUpdatePoolsResponse) XXX_Unmarshal ¶
func (m *MsgUpdatePoolsResponse) XXX_Unmarshal(b []byte) error
type MsgWhitelist ¶
type MsgWhitelist struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` WhitelistedAddress string `protobuf:"bytes,2,opt,name=whitelisted_address,json=whitelistedAddress,proto3" json:"whitelisted_address,omitempty"` }
func (*MsgWhitelist) Descriptor ¶
func (*MsgWhitelist) Descriptor() ([]byte, []int)
func (*MsgWhitelist) GetSigner ¶
func (m *MsgWhitelist) GetSigner() string
func (*MsgWhitelist) GetWhitelistedAddress ¶
func (m *MsgWhitelist) GetWhitelistedAddress() string
func (*MsgWhitelist) Marshal ¶
func (m *MsgWhitelist) Marshal() (dAtA []byte, err error)
func (*MsgWhitelist) MarshalToSizedBuffer ¶
func (m *MsgWhitelist) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWhitelist) ProtoMessage ¶
func (*MsgWhitelist) ProtoMessage()
func (*MsgWhitelist) Reset ¶
func (m *MsgWhitelist) Reset()
func (*MsgWhitelist) Size ¶
func (m *MsgWhitelist) Size() (n int)
func (*MsgWhitelist) String ¶
func (m *MsgWhitelist) String() string
func (*MsgWhitelist) Unmarshal ¶
func (m *MsgWhitelist) Unmarshal(dAtA []byte) error
func (*MsgWhitelist) XXX_DiscardUnknown ¶
func (m *MsgWhitelist) XXX_DiscardUnknown()
func (*MsgWhitelist) XXX_Marshal ¶
func (m *MsgWhitelist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWhitelist) XXX_Merge ¶
func (m *MsgWhitelist) XXX_Merge(src proto.Message)
func (*MsgWhitelist) XXX_Size ¶
func (m *MsgWhitelist) XXX_Size() int
func (*MsgWhitelist) XXX_Unmarshal ¶
func (m *MsgWhitelist) XXX_Unmarshal(b []byte) error
type MsgWhitelistResponse ¶
type MsgWhitelistResponse struct { }
func (*MsgWhitelistResponse) Descriptor ¶
func (*MsgWhitelistResponse) Descriptor() ([]byte, []int)
func (*MsgWhitelistResponse) Marshal ¶
func (m *MsgWhitelistResponse) Marshal() (dAtA []byte, err error)
func (*MsgWhitelistResponse) MarshalTo ¶
func (m *MsgWhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWhitelistResponse) MarshalToSizedBuffer ¶
func (m *MsgWhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWhitelistResponse) ProtoMessage ¶
func (*MsgWhitelistResponse) ProtoMessage()
func (*MsgWhitelistResponse) Reset ¶
func (m *MsgWhitelistResponse) Reset()
func (*MsgWhitelistResponse) Size ¶
func (m *MsgWhitelistResponse) Size() (n int)
func (*MsgWhitelistResponse) String ¶
func (m *MsgWhitelistResponse) String() string
func (*MsgWhitelistResponse) Unmarshal ¶
func (m *MsgWhitelistResponse) Unmarshal(dAtA []byte) error
func (*MsgWhitelistResponse) XXX_DiscardUnknown ¶
func (m *MsgWhitelistResponse) XXX_DiscardUnknown()
func (*MsgWhitelistResponse) XXX_Marshal ¶
func (m *MsgWhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWhitelistResponse) XXX_Merge ¶
func (m *MsgWhitelistResponse) XXX_Merge(src proto.Message)
func (*MsgWhitelistResponse) XXX_Size ¶
func (m *MsgWhitelistResponse) XXX_Size() int
func (*MsgWhitelistResponse) XXX_Unmarshal ¶
func (m *MsgWhitelistResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { LeverageMax github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */ InterestRateMax github_com_cosmos_cosmos_sdk_types.Dec `` /* 148-byte string literal not displayed */ InterestRateMin github_com_cosmos_cosmos_sdk_types.Dec `` /* 148-byte string literal not displayed */ InterestRateIncrease github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */ InterestRateDecrease github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */ HealthGainFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 151-byte string literal not displayed */ EpochLength int64 `protobuf:"varint,7,opt,name=epoch_length,json=epochLength,proto3" json:"epoch_length,omitempty"` Pools []string `protobuf:"bytes,8,rep,name=pools,proto3" json:"pools,omitempty"` ForceCloseThreshold github_com_cosmos_cosmos_sdk_types.Dec `` /* 160-byte string literal not displayed */ RemovalQueueThreshold github_com_cosmos_cosmos_sdk_types.Dec `` /* 167-byte string literal not displayed */ MaxOpenPositions uint64 `protobuf:"varint,11,opt,name=max_open_positions,json=maxOpenPositions,proto3" json:"max_open_positions,omitempty"` PoolOpenThreshold github_com_cosmos_cosmos_sdk_types.Dec `` /* 155-byte string literal not displayed */ ForceCloseFundPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 178-byte string literal not displayed */ ForceCloseInsuranceFundAddress string `` /* 158-byte string literal not displayed */ IncrementalInterestPaymentFundPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 228-byte string literal not displayed */ IncrementalInterestPaymentInsuranceFundAddress string `` /* 208-byte string literal not displayed */ SqModifier github_com_cosmos_cosmos_sdk_types.Dec `` /* 132-byte string literal not displayed */ SafetyFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 138-byte string literal not displayed */ ClosedPools []string `protobuf:"bytes,19,rep,name=closed_pools,json=closedPools,proto3" json:"closed_pools,omitempty"` IncrementalInterestPaymentEnabled bool `` /* 166-byte string literal not displayed */ WhitelistingEnabled bool `protobuf:"varint,21,opt,name=whitelisting_enabled,json=whitelistingEnabled,proto3" json:"whitelisting_enabled,omitempty"` }
func (*Params) Descriptor ¶
func (*Params) GetClosedPools ¶
func (*Params) GetEpochLength ¶
func (*Params) GetForceCloseInsuranceFundAddress ¶
func (*Params) GetIncrementalInterestPaymentEnabled ¶
func (*Params) GetIncrementalInterestPaymentInsuranceFundAddress ¶
func (*Params) GetMaxOpenPositions ¶
func (*Params) GetWhitelistingEnabled ¶ added in v0.16.0
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ParamsRequest ¶
type ParamsRequest struct { }
func (*ParamsRequest) Descriptor ¶
func (*ParamsRequest) Descriptor() ([]byte, []int)
func (*ParamsRequest) Marshal ¶
func (m *ParamsRequest) Marshal() (dAtA []byte, err error)
func (*ParamsRequest) MarshalToSizedBuffer ¶
func (m *ParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsRequest) ProtoMessage ¶
func (*ParamsRequest) ProtoMessage()
func (*ParamsRequest) Reset ¶
func (m *ParamsRequest) Reset()
func (*ParamsRequest) Size ¶
func (m *ParamsRequest) Size() (n int)
func (*ParamsRequest) String ¶
func (m *ParamsRequest) String() string
func (*ParamsRequest) Unmarshal ¶
func (m *ParamsRequest) Unmarshal(dAtA []byte) error
func (*ParamsRequest) XXX_DiscardUnknown ¶
func (m *ParamsRequest) XXX_DiscardUnknown()
func (*ParamsRequest) XXX_Marshal ¶
func (m *ParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsRequest) XXX_Merge ¶
func (m *ParamsRequest) XXX_Merge(src proto.Message)
func (*ParamsRequest) XXX_Size ¶
func (m *ParamsRequest) XXX_Size() int
func (*ParamsRequest) XXX_Unmarshal ¶
func (m *ParamsRequest) XXX_Unmarshal(b []byte) error
type ParamsResponse ¶
type ParamsResponse struct {
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
func (*ParamsResponse) Descriptor ¶
func (*ParamsResponse) Descriptor() ([]byte, []int)
func (*ParamsResponse) GetParams ¶
func (m *ParamsResponse) GetParams() *Params
func (*ParamsResponse) Marshal ¶
func (m *ParamsResponse) Marshal() (dAtA []byte, err error)
func (*ParamsResponse) MarshalToSizedBuffer ¶
func (m *ParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParamsResponse) ProtoMessage ¶
func (*ParamsResponse) ProtoMessage()
func (*ParamsResponse) Reset ¶
func (m *ParamsResponse) Reset()
func (*ParamsResponse) Size ¶
func (m *ParamsResponse) Size() (n int)
func (*ParamsResponse) String ¶
func (m *ParamsResponse) String() string
func (*ParamsResponse) Unmarshal ¶
func (m *ParamsResponse) Unmarshal(dAtA []byte) error
func (*ParamsResponse) XXX_DiscardUnknown ¶
func (m *ParamsResponse) XXX_DiscardUnknown()
func (*ParamsResponse) XXX_Marshal ¶
func (m *ParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParamsResponse) XXX_Merge ¶
func (m *ParamsResponse) XXX_Merge(src proto.Message)
func (*ParamsResponse) XXX_Size ¶
func (m *ParamsResponse) XXX_Size() int
func (*ParamsResponse) XXX_Unmarshal ¶
func (m *ParamsResponse) XXX_Unmarshal(b []byte) error
type PositionsByPoolRequest ¶
type PositionsByPoolRequest struct { Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*PositionsByPoolRequest) Descriptor ¶
func (*PositionsByPoolRequest) Descriptor() ([]byte, []int)
func (*PositionsByPoolRequest) GetAsset ¶
func (m *PositionsByPoolRequest) GetAsset() string
func (*PositionsByPoolRequest) GetPagination ¶
func (m *PositionsByPoolRequest) GetPagination() *query.PageRequest
func (*PositionsByPoolRequest) Marshal ¶
func (m *PositionsByPoolRequest) Marshal() (dAtA []byte, err error)
func (*PositionsByPoolRequest) MarshalTo ¶
func (m *PositionsByPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*PositionsByPoolRequest) MarshalToSizedBuffer ¶
func (m *PositionsByPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsByPoolRequest) ProtoMessage ¶
func (*PositionsByPoolRequest) ProtoMessage()
func (*PositionsByPoolRequest) Reset ¶
func (m *PositionsByPoolRequest) Reset()
func (*PositionsByPoolRequest) Size ¶
func (m *PositionsByPoolRequest) Size() (n int)
func (*PositionsByPoolRequest) String ¶
func (m *PositionsByPoolRequest) String() string
func (*PositionsByPoolRequest) Unmarshal ¶
func (m *PositionsByPoolRequest) Unmarshal(dAtA []byte) error
func (*PositionsByPoolRequest) XXX_DiscardUnknown ¶
func (m *PositionsByPoolRequest) XXX_DiscardUnknown()
func (*PositionsByPoolRequest) XXX_Marshal ¶
func (m *PositionsByPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsByPoolRequest) XXX_Merge ¶
func (m *PositionsByPoolRequest) XXX_Merge(src proto.Message)
func (*PositionsByPoolRequest) XXX_Size ¶
func (m *PositionsByPoolRequest) XXX_Size() int
func (*PositionsByPoolRequest) XXX_Unmarshal ¶
func (m *PositionsByPoolRequest) XXX_Unmarshal(b []byte) error
type PositionsByPoolResponse ¶
type PositionsByPoolResponse struct { Mtps []*MTP `protobuf:"bytes,1,rep,name=mtps,proto3" json:"mtps,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*PositionsByPoolResponse) Descriptor ¶
func (*PositionsByPoolResponse) Descriptor() ([]byte, []int)
func (*PositionsByPoolResponse) GetMtps ¶
func (m *PositionsByPoolResponse) GetMtps() []*MTP
func (*PositionsByPoolResponse) GetPagination ¶
func (m *PositionsByPoolResponse) GetPagination() *query.PageResponse
func (*PositionsByPoolResponse) Marshal ¶
func (m *PositionsByPoolResponse) Marshal() (dAtA []byte, err error)
func (*PositionsByPoolResponse) MarshalTo ¶
func (m *PositionsByPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*PositionsByPoolResponse) MarshalToSizedBuffer ¶
func (m *PositionsByPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsByPoolResponse) ProtoMessage ¶
func (*PositionsByPoolResponse) ProtoMessage()
func (*PositionsByPoolResponse) Reset ¶
func (m *PositionsByPoolResponse) Reset()
func (*PositionsByPoolResponse) Size ¶
func (m *PositionsByPoolResponse) Size() (n int)
func (*PositionsByPoolResponse) String ¶
func (m *PositionsByPoolResponse) String() string
func (*PositionsByPoolResponse) Unmarshal ¶
func (m *PositionsByPoolResponse) Unmarshal(dAtA []byte) error
func (*PositionsByPoolResponse) XXX_DiscardUnknown ¶
func (m *PositionsByPoolResponse) XXX_DiscardUnknown()
func (*PositionsByPoolResponse) XXX_Marshal ¶
func (m *PositionsByPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsByPoolResponse) XXX_Merge ¶
func (m *PositionsByPoolResponse) XXX_Merge(src proto.Message)
func (*PositionsByPoolResponse) XXX_Size ¶
func (m *PositionsByPoolResponse) XXX_Size() int
func (*PositionsByPoolResponse) XXX_Unmarshal ¶
func (m *PositionsByPoolResponse) XXX_Unmarshal(b []byte) error
type PositionsForAddressRequest ¶
type PositionsForAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*PositionsForAddressRequest) Descriptor ¶
func (*PositionsForAddressRequest) Descriptor() ([]byte, []int)
func (*PositionsForAddressRequest) GetAddress ¶
func (m *PositionsForAddressRequest) GetAddress() string
func (*PositionsForAddressRequest) GetPagination ¶
func (m *PositionsForAddressRequest) GetPagination() *query.PageRequest
func (*PositionsForAddressRequest) Marshal ¶
func (m *PositionsForAddressRequest) Marshal() (dAtA []byte, err error)
func (*PositionsForAddressRequest) MarshalTo ¶
func (m *PositionsForAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*PositionsForAddressRequest) MarshalToSizedBuffer ¶
func (m *PositionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsForAddressRequest) ProtoMessage ¶
func (*PositionsForAddressRequest) ProtoMessage()
func (*PositionsForAddressRequest) Reset ¶
func (m *PositionsForAddressRequest) Reset()
func (*PositionsForAddressRequest) Size ¶
func (m *PositionsForAddressRequest) Size() (n int)
func (*PositionsForAddressRequest) String ¶
func (m *PositionsForAddressRequest) String() string
func (*PositionsForAddressRequest) Unmarshal ¶
func (m *PositionsForAddressRequest) Unmarshal(dAtA []byte) error
func (*PositionsForAddressRequest) XXX_DiscardUnknown ¶
func (m *PositionsForAddressRequest) XXX_DiscardUnknown()
func (*PositionsForAddressRequest) XXX_Marshal ¶
func (m *PositionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsForAddressRequest) XXX_Merge ¶
func (m *PositionsForAddressRequest) XXX_Merge(src proto.Message)
func (*PositionsForAddressRequest) XXX_Size ¶
func (m *PositionsForAddressRequest) XXX_Size() int
func (*PositionsForAddressRequest) XXX_Unmarshal ¶
func (m *PositionsForAddressRequest) XXX_Unmarshal(b []byte) error
type PositionsForAddressResponse ¶
type PositionsForAddressResponse struct { Mtps []*MTP `protobuf:"bytes,1,rep,name=mtps,proto3" json:"mtps,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*PositionsForAddressResponse) Descriptor ¶
func (*PositionsForAddressResponse) Descriptor() ([]byte, []int)
func (*PositionsForAddressResponse) GetMtps ¶
func (m *PositionsForAddressResponse) GetMtps() []*MTP
func (*PositionsForAddressResponse) GetPagination ¶
func (m *PositionsForAddressResponse) GetPagination() *query.PageResponse
func (*PositionsForAddressResponse) Marshal ¶
func (m *PositionsForAddressResponse) Marshal() (dAtA []byte, err error)
func (*PositionsForAddressResponse) MarshalTo ¶
func (m *PositionsForAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*PositionsForAddressResponse) MarshalToSizedBuffer ¶
func (m *PositionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsForAddressResponse) ProtoMessage ¶
func (*PositionsForAddressResponse) ProtoMessage()
func (*PositionsForAddressResponse) Reset ¶
func (m *PositionsForAddressResponse) Reset()
func (*PositionsForAddressResponse) Size ¶
func (m *PositionsForAddressResponse) Size() (n int)
func (*PositionsForAddressResponse) String ¶
func (m *PositionsForAddressResponse) String() string
func (*PositionsForAddressResponse) Unmarshal ¶
func (m *PositionsForAddressResponse) Unmarshal(dAtA []byte) error
func (*PositionsForAddressResponse) XXX_DiscardUnknown ¶
func (m *PositionsForAddressResponse) XXX_DiscardUnknown()
func (*PositionsForAddressResponse) XXX_Marshal ¶
func (m *PositionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsForAddressResponse) XXX_Merge ¶
func (m *PositionsForAddressResponse) XXX_Merge(src proto.Message)
func (*PositionsForAddressResponse) XXX_Size ¶
func (m *PositionsForAddressResponse) XXX_Size() int
func (*PositionsForAddressResponse) XXX_Unmarshal ¶
func (m *PositionsForAddressResponse) XXX_Unmarshal(b []byte) error
type PositionsRequest ¶
type PositionsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*PositionsRequest) Descriptor ¶
func (*PositionsRequest) Descriptor() ([]byte, []int)
func (*PositionsRequest) GetPagination ¶
func (m *PositionsRequest) GetPagination() *query.PageRequest
func (*PositionsRequest) Marshal ¶
func (m *PositionsRequest) Marshal() (dAtA []byte, err error)
func (*PositionsRequest) MarshalToSizedBuffer ¶
func (m *PositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsRequest) ProtoMessage ¶
func (*PositionsRequest) ProtoMessage()
func (*PositionsRequest) Reset ¶
func (m *PositionsRequest) Reset()
func (*PositionsRequest) Size ¶
func (m *PositionsRequest) Size() (n int)
func (*PositionsRequest) String ¶
func (m *PositionsRequest) String() string
func (*PositionsRequest) Unmarshal ¶
func (m *PositionsRequest) Unmarshal(dAtA []byte) error
func (*PositionsRequest) XXX_DiscardUnknown ¶
func (m *PositionsRequest) XXX_DiscardUnknown()
func (*PositionsRequest) XXX_Marshal ¶
func (m *PositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsRequest) XXX_Merge ¶
func (m *PositionsRequest) XXX_Merge(src proto.Message)
func (*PositionsRequest) XXX_Size ¶
func (m *PositionsRequest) XXX_Size() int
func (*PositionsRequest) XXX_Unmarshal ¶
func (m *PositionsRequest) XXX_Unmarshal(b []byte) error
type PositionsResponse ¶
type PositionsResponse struct { Mtps []*MTP `protobuf:"bytes,1,rep,name=mtps,proto3" json:"mtps,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*PositionsResponse) Descriptor ¶
func (*PositionsResponse) Descriptor() ([]byte, []int)
func (*PositionsResponse) GetMtps ¶
func (m *PositionsResponse) GetMtps() []*MTP
func (*PositionsResponse) GetPagination ¶
func (m *PositionsResponse) GetPagination() *query.PageResponse
func (*PositionsResponse) Marshal ¶
func (m *PositionsResponse) Marshal() (dAtA []byte, err error)
func (*PositionsResponse) MarshalTo ¶
func (m *PositionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*PositionsResponse) MarshalToSizedBuffer ¶
func (m *PositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PositionsResponse) ProtoMessage ¶
func (*PositionsResponse) ProtoMessage()
func (*PositionsResponse) Reset ¶
func (m *PositionsResponse) Reset()
func (*PositionsResponse) Size ¶
func (m *PositionsResponse) Size() (n int)
func (*PositionsResponse) String ¶
func (m *PositionsResponse) String() string
func (*PositionsResponse) Unmarshal ¶
func (m *PositionsResponse) Unmarshal(dAtA []byte) error
func (*PositionsResponse) XXX_DiscardUnknown ¶
func (m *PositionsResponse) XXX_DiscardUnknown()
func (*PositionsResponse) XXX_Marshal ¶
func (m *PositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PositionsResponse) XXX_Merge ¶
func (m *PositionsResponse) XXX_Merge(src proto.Message)
func (*PositionsResponse) XXX_Size ¶
func (m *PositionsResponse) XXX_Size() int
func (*PositionsResponse) XXX_Unmarshal ¶
func (m *PositionsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { GetMTP(ctx context.Context, in *MTPRequest, opts ...grpc.CallOption) (*MTPResponse, error) GetPositions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error) GetPositionsForAddress(ctx context.Context, in *PositionsForAddressRequest, opts ...grpc.CallOption) (*PositionsForAddressResponse, error) GetPositionsByPool(ctx context.Context, in *PositionsByPoolRequest, opts ...grpc.CallOption) (*PositionsByPoolResponse, error) GetParams(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) GetStatus(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) GetSQParams(ctx context.Context, in *GetSQParamsRequest, opts ...grpc.CallOption) (*GetSQParamsResponse, error) GetWhitelist(ctx context.Context, in *WhitelistRequest, opts ...grpc.CallOption) (*WhitelistResponse, error) IsWhitelisted(ctx context.Context, in *IsWhitelistedRequest, opts ...grpc.CallOption) (*IsWhitelistedResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryServer ¶
type QueryServer interface { GetMTP(context.Context, *MTPRequest) (*MTPResponse, error) GetPositions(context.Context, *PositionsRequest) (*PositionsResponse, error) GetPositionsForAddress(context.Context, *PositionsForAddressRequest) (*PositionsForAddressResponse, error) GetPositionsByPool(context.Context, *PositionsByPoolRequest) (*PositionsByPoolResponse, error) GetParams(context.Context, *ParamsRequest) (*ParamsResponse, error) GetStatus(context.Context, *StatusRequest) (*StatusResponse, error) GetSQParams(context.Context, *GetSQParamsRequest) (*GetSQParamsResponse, error) GetWhitelist(context.Context, *WhitelistRequest) (*WhitelistResponse, error) IsWhitelisted(context.Context, *IsWhitelistedRequest) (*IsWhitelistedResponse, error) }
QueryServer is the server API for Query service.
type StatusRequest ¶
type StatusRequest struct { }
func (*StatusRequest) Descriptor ¶
func (*StatusRequest) Descriptor() ([]byte, []int)
func (*StatusRequest) Marshal ¶
func (m *StatusRequest) Marshal() (dAtA []byte, err error)
func (*StatusRequest) MarshalToSizedBuffer ¶
func (m *StatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) Reset ¶
func (m *StatusRequest) Reset()
func (*StatusRequest) Size ¶
func (m *StatusRequest) Size() (n int)
func (*StatusRequest) String ¶
func (m *StatusRequest) String() string
func (*StatusRequest) Unmarshal ¶
func (m *StatusRequest) Unmarshal(dAtA []byte) error
func (*StatusRequest) XXX_DiscardUnknown ¶
func (m *StatusRequest) XXX_DiscardUnknown()
func (*StatusRequest) XXX_Marshal ¶
func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusRequest) XXX_Merge ¶
func (m *StatusRequest) XXX_Merge(src proto.Message)
func (*StatusRequest) XXX_Size ¶
func (m *StatusRequest) XXX_Size() int
func (*StatusRequest) XXX_Unmarshal ¶
func (m *StatusRequest) XXX_Unmarshal(b []byte) error
type StatusResponse ¶
type StatusResponse struct { OpenMtpCount uint64 `protobuf:"varint,1,opt,name=open_mtp_count,json=openMtpCount,proto3" json:"open_mtp_count,omitempty"` LifetimeMtpCount uint64 `protobuf:"varint,2,opt,name=lifetime_mtp_count,json=lifetimeMtpCount,proto3" json:"lifetime_mtp_count,omitempty"` }
func (*StatusResponse) Descriptor ¶
func (*StatusResponse) Descriptor() ([]byte, []int)
func (*StatusResponse) GetLifetimeMtpCount ¶
func (m *StatusResponse) GetLifetimeMtpCount() uint64
func (*StatusResponse) GetOpenMtpCount ¶
func (m *StatusResponse) GetOpenMtpCount() uint64
func (*StatusResponse) Marshal ¶
func (m *StatusResponse) Marshal() (dAtA []byte, err error)
func (*StatusResponse) MarshalToSizedBuffer ¶
func (m *StatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StatusResponse) ProtoMessage ¶
func (*StatusResponse) ProtoMessage()
func (*StatusResponse) Reset ¶
func (m *StatusResponse) Reset()
func (*StatusResponse) Size ¶
func (m *StatusResponse) Size() (n int)
func (*StatusResponse) String ¶
func (m *StatusResponse) String() string
func (*StatusResponse) Unmarshal ¶
func (m *StatusResponse) Unmarshal(dAtA []byte) error
func (*StatusResponse) XXX_DiscardUnknown ¶
func (m *StatusResponse) XXX_DiscardUnknown()
func (*StatusResponse) XXX_Marshal ¶
func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatusResponse) XXX_Merge ¶
func (m *StatusResponse) XXX_Merge(src proto.Message)
func (*StatusResponse) XXX_Size ¶
func (m *StatusResponse) XXX_Size() int
func (*StatusResponse) XXX_Unmarshal ¶
func (m *StatusResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Close ¶
func (*UnimplementedMsgServer) Close(ctx context.Context, req *MsgClose) (*MsgCloseResponse, error)
func (*UnimplementedMsgServer) Dewhitelist ¶
func (*UnimplementedMsgServer) Dewhitelist(ctx context.Context, req *MsgDewhitelist) (*MsgDewhitelistResponse, error)
func (*UnimplementedMsgServer) ForceClose ¶
func (*UnimplementedMsgServer) ForceClose(ctx context.Context, req *MsgForceClose) (*MsgForceCloseResponse, error)
func (*UnimplementedMsgServer) Open ¶
func (*UnimplementedMsgServer) Open(ctx context.Context, req *MsgOpen) (*MsgOpenResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) UpdatePools ¶
func (*UnimplementedMsgServer) UpdatePools(ctx context.Context, req *MsgUpdatePools) (*MsgUpdatePoolsResponse, error)
func (*UnimplementedMsgServer) Whitelist ¶
func (*UnimplementedMsgServer) Whitelist(ctx context.Context, req *MsgWhitelist) (*MsgWhitelistResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetMTP ¶
func (*UnimplementedQueryServer) GetMTP(ctx context.Context, req *MTPRequest) (*MTPResponse, error)
func (*UnimplementedQueryServer) GetParams ¶
func (*UnimplementedQueryServer) GetParams(ctx context.Context, req *ParamsRequest) (*ParamsResponse, error)
func (*UnimplementedQueryServer) GetPositions ¶
func (*UnimplementedQueryServer) GetPositions(ctx context.Context, req *PositionsRequest) (*PositionsResponse, error)
func (*UnimplementedQueryServer) GetPositionsByPool ¶
func (*UnimplementedQueryServer) GetPositionsByPool(ctx context.Context, req *PositionsByPoolRequest) (*PositionsByPoolResponse, error)
func (*UnimplementedQueryServer) GetPositionsForAddress ¶
func (*UnimplementedQueryServer) GetPositionsForAddress(ctx context.Context, req *PositionsForAddressRequest) (*PositionsForAddressResponse, error)
func (*UnimplementedQueryServer) GetSQParams ¶
func (*UnimplementedQueryServer) GetSQParams(ctx context.Context, req *GetSQParamsRequest) (*GetSQParamsResponse, error)
func (*UnimplementedQueryServer) GetStatus ¶
func (*UnimplementedQueryServer) GetStatus(ctx context.Context, req *StatusRequest) (*StatusResponse, error)
func (*UnimplementedQueryServer) GetWhitelist ¶
func (*UnimplementedQueryServer) GetWhitelist(ctx context.Context, req *WhitelistRequest) (*WhitelistResponse, error)
func (*UnimplementedQueryServer) IsWhitelisted ¶ added in v0.16.0
func (*UnimplementedQueryServer) IsWhitelisted(ctx context.Context, req *IsWhitelistedRequest) (*IsWhitelistedResponse, error)
type WhitelistRequest ¶
type WhitelistRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*WhitelistRequest) Descriptor ¶
func (*WhitelistRequest) Descriptor() ([]byte, []int)
func (*WhitelistRequest) GetPagination ¶
func (m *WhitelistRequest) GetPagination() *query.PageRequest
func (*WhitelistRequest) Marshal ¶
func (m *WhitelistRequest) Marshal() (dAtA []byte, err error)
func (*WhitelistRequest) MarshalToSizedBuffer ¶
func (m *WhitelistRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhitelistRequest) ProtoMessage ¶
func (*WhitelistRequest) ProtoMessage()
func (*WhitelistRequest) Reset ¶
func (m *WhitelistRequest) Reset()
func (*WhitelistRequest) Size ¶
func (m *WhitelistRequest) Size() (n int)
func (*WhitelistRequest) String ¶
func (m *WhitelistRequest) String() string
func (*WhitelistRequest) Unmarshal ¶
func (m *WhitelistRequest) Unmarshal(dAtA []byte) error
func (*WhitelistRequest) XXX_DiscardUnknown ¶
func (m *WhitelistRequest) XXX_DiscardUnknown()
func (*WhitelistRequest) XXX_Marshal ¶
func (m *WhitelistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhitelistRequest) XXX_Merge ¶
func (m *WhitelistRequest) XXX_Merge(src proto.Message)
func (*WhitelistRequest) XXX_Size ¶
func (m *WhitelistRequest) XXX_Size() int
func (*WhitelistRequest) XXX_Unmarshal ¶
func (m *WhitelistRequest) XXX_Unmarshal(b []byte) error
type WhitelistResponse ¶
type WhitelistResponse struct { Whitelist []string `protobuf:"bytes,1,rep,name=whitelist,proto3" json:"whitelist,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*WhitelistResponse) Descriptor ¶
func (*WhitelistResponse) Descriptor() ([]byte, []int)
func (*WhitelistResponse) GetPagination ¶
func (m *WhitelistResponse) GetPagination() *query.PageResponse
func (*WhitelistResponse) GetWhitelist ¶
func (m *WhitelistResponse) GetWhitelist() []string
func (*WhitelistResponse) Marshal ¶
func (m *WhitelistResponse) Marshal() (dAtA []byte, err error)
func (*WhitelistResponse) MarshalTo ¶
func (m *WhitelistResponse) MarshalTo(dAtA []byte) (int, error)
func (*WhitelistResponse) MarshalToSizedBuffer ¶
func (m *WhitelistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhitelistResponse) ProtoMessage ¶
func (*WhitelistResponse) ProtoMessage()
func (*WhitelistResponse) Reset ¶
func (m *WhitelistResponse) Reset()
func (*WhitelistResponse) Size ¶
func (m *WhitelistResponse) Size() (n int)
func (*WhitelistResponse) String ¶
func (m *WhitelistResponse) String() string
func (*WhitelistResponse) Unmarshal ¶
func (m *WhitelistResponse) Unmarshal(dAtA []byte) error
func (*WhitelistResponse) XXX_DiscardUnknown ¶
func (m *WhitelistResponse) XXX_DiscardUnknown()
func (*WhitelistResponse) XXX_Marshal ¶
func (m *WhitelistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhitelistResponse) XXX_Merge ¶
func (m *WhitelistResponse) XXX_Merge(src proto.Message)
func (*WhitelistResponse) XXX_Size ¶
func (m *WhitelistResponse) XXX_Size() int
func (*WhitelistResponse) XXX_Unmarshal ¶
func (m *WhitelistResponse) XXX_Unmarshal(b []byte) error