types

package
v0.15.0-rc.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Position_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "LONG",
	2: "SHORT",
}
View Source
var Position_value = map[string]int32{
	"UNSPECIFIED": 0,
	"LONG":        1,
	"SHORT":       2,
}

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 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) Descriptor() ([]byte, []int)

func (*MTP) GetAddress

func (m *MTP) GetAddress() string

func (*MTP) GetCollateralAsset

func (m *MTP) GetCollateralAsset() string

func (*MTP) GetCustodyAsset

func (m *MTP) GetCustodyAsset() string

func (*MTP) GetId

func (m *MTP) GetId() uint64

func (*MTP) GetPosition

func (m *MTP) GetPosition() Position

func (*MTP) Marshal

func (m *MTP) Marshal() (dAtA []byte, err error)

func (*MTP) MarshalTo

func (m *MTP) MarshalTo(dAtA []byte) (int, error)

func (*MTP) MarshalToSizedBuffer

func (m *MTP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MTP) ProtoMessage

func (*MTP) ProtoMessage()

func (*MTP) Reset

func (m *MTP) Reset()

func (*MTP) Size

func (m *MTP) Size() (n int)

func (*MTP) String

func (m *MTP) String() string

func (*MTP) Unmarshal

func (m *MTP) Unmarshal(dAtA []byte) error

func (*MTP) XXX_DiscardUnknown

func (m *MTP) XXX_DiscardUnknown()

func (*MTP) XXX_Marshal

func (m *MTP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MTP) XXX_Merge

func (m *MTP) XXX_Merge(src proto.Message)

func (*MTP) XXX_Size

func (m *MTP) XXX_Size() int

func (*MTP) XXX_Unmarshal

func (m *MTP) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *MTPRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MTPResponse) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*MsgClose) GetId

func (m *MsgClose) GetId() uint64

func (*MsgClose) GetSigner

func (m *MsgClose) GetSigner() string

func (*MsgClose) Marshal

func (m *MsgClose) Marshal() (dAtA []byte, err error)

func (*MsgClose) MarshalTo

func (m *MsgClose) MarshalTo(dAtA []byte) (int, error)

func (*MsgClose) MarshalToSizedBuffer

func (m *MsgClose) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClose) ProtoMessage

func (*MsgClose) ProtoMessage()

func (*MsgClose) Reset

func (m *MsgClose) Reset()

func (*MsgClose) Size

func (m *MsgClose) Size() (n int)

func (*MsgClose) String

func (m *MsgClose) String() string

func (*MsgClose) Unmarshal

func (m *MsgClose) Unmarshal(dAtA []byte) error

func (*MsgClose) XXX_DiscardUnknown

func (m *MsgClose) XXX_DiscardUnknown()

func (*MsgClose) XXX_Marshal

func (m *MsgClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClose) XXX_Merge

func (m *MsgClose) XXX_Merge(src proto.Message)

func (*MsgClose) XXX_Size

func (m *MsgClose) XXX_Size() int

func (*MsgClose) XXX_Unmarshal

func (m *MsgClose) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *MsgCloseResponse) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgDewhitelist) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgForceClose) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*MsgOpen) GetBorrowAsset

func (m *MsgOpen) GetBorrowAsset() string

func (*MsgOpen) GetCollateralAsset

func (m *MsgOpen) GetCollateralAsset() string

func (*MsgOpen) GetPosition

func (m *MsgOpen) GetPosition() Position

func (*MsgOpen) GetSigner

func (m *MsgOpen) GetSigner() string

func (*MsgOpen) Marshal

func (m *MsgOpen) Marshal() (dAtA []byte, err error)

func (*MsgOpen) MarshalTo

func (m *MsgOpen) MarshalTo(dAtA []byte) (int, error)

func (*MsgOpen) MarshalToSizedBuffer

func (m *MsgOpen) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgOpen) ProtoMessage

func (*MsgOpen) ProtoMessage()

func (*MsgOpen) Reset

func (m *MsgOpen) Reset()

func (*MsgOpen) Size

func (m *MsgOpen) Size() (n int)

func (*MsgOpen) String

func (m *MsgOpen) String() string

func (*MsgOpen) Unmarshal

func (m *MsgOpen) Unmarshal(dAtA []byte) error

func (*MsgOpen) XXX_DiscardUnknown

func (m *MsgOpen) XXX_DiscardUnknown()

func (*MsgOpen) XXX_Marshal

func (m *MsgOpen) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgOpen) XXX_Merge

func (m *MsgOpen) XXX_Merge(src proto.Message)

func (*MsgOpen) XXX_Size

func (m *MsgOpen) XXX_Size() int

func (*MsgOpen) XXX_Unmarshal

func (m *MsgOpen) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *MsgOpenResponse) MarshalTo(dAtA []byte) (int, 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 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) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgUpdatePools) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *MsgWhitelist) MarshalTo(dAtA []byte) (int, 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 */
}

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetClosedPools

func (m *Params) GetClosedPools() []string

func (*Params) GetEpochLength

func (m *Params) GetEpochLength() int64

func (*Params) GetForceCloseInsuranceFundAddress

func (m *Params) GetForceCloseInsuranceFundAddress() string

func (*Params) GetIncrementalInterestPaymentEnabled

func (m *Params) GetIncrementalInterestPaymentEnabled() bool

func (*Params) GetIncrementalInterestPaymentInsuranceFundAddress

func (m *Params) GetIncrementalInterestPaymentInsuranceFundAddress() string

func (*Params) GetMaxOpenPositions

func (m *Params) GetMaxOpenPositions() uint64

func (*Params) GetPools

func (m *Params) GetPools() []string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *ParamsRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *ParamsResponse) MarshalTo(dAtA []byte) (int, 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 Position

type Position int32
const (
	Position_UNSPECIFIED Position = 0
	Position_LONG        Position = 1
	Position_SHORT       Position = 2
)

func (Position) EnumDescriptor

func (Position) EnumDescriptor() ([]byte, []int)

func (Position) String

func (x Position) String() string

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) MarshalTo

func (m *PositionsRequest) MarshalTo(dAtA []byte) (int, 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)
}

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 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) MarshalTo

func (m *StatusRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *StatusResponse) MarshalTo(dAtA []byte) (int, 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) Dewhitelist

func (*UnimplementedMsgServer) ForceClose

func (*UnimplementedMsgServer) Open

func (*UnimplementedMsgServer) UpdateParams

func (*UnimplementedMsgServer) UpdatePools

func (*UnimplementedMsgServer) Whitelist

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetMTP

func (*UnimplementedQueryServer) GetParams

func (*UnimplementedQueryServer) GetPositions

func (*UnimplementedQueryServer) GetPositionsByPool

func (*UnimplementedQueryServer) GetPositionsForAddress

func (*UnimplementedQueryServer) GetSQParams

func (*UnimplementedQueryServer) GetStatus

func (*UnimplementedQueryServer) GetWhitelist

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) MarshalTo

func (m *WhitelistRequest) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL