Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetPortfolioByDateIteratorKey(date string) []byte
- func GetPortfolioKey(date string, addr sdk.AccAddress) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func PortfolioKey(asset string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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 AccountKeeper
- type AmmKeeper
- type AssetProfileKeeper
- type BankKeeper
- type CommitmentKeeper
- type EstakingKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPortfolioList() []Portfolio
- 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 (gs GenesisState) Validate() 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 LegacyPortfolio
- func (*LegacyPortfolio) Descriptor() ([]byte, []int)
- func (m *LegacyPortfolio) GetCreator() string
- func (m *LegacyPortfolio) Marshal() (dAtA []byte, err error)
- func (m *LegacyPortfolio) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyPortfolio) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyPortfolio) ProtoMessage()
- func (m *LegacyPortfolio) Reset()
- func (m *LegacyPortfolio) Size() (n int)
- func (m *LegacyPortfolio) String() string
- func (m *LegacyPortfolio) Unmarshal(dAtA []byte) error
- func (m *LegacyPortfolio) XXX_DiscardUnknown()
- func (m *LegacyPortfolio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyPortfolio) XXX_Merge(src proto.Message)
- func (m *LegacyPortfolio) XXX_Size() int
- func (m *LegacyPortfolio) XXX_Unmarshal(b []byte) error
- type LeverageLpKeeper
- type MasterchefKeeper
- type MsgClient
- type MsgServer
- type MsgSetPortfolio
- func (*MsgSetPortfolio) Descriptor() ([]byte, []int)
- func (m *MsgSetPortfolio) GetCreator() string
- func (msg *MsgSetPortfolio) GetSignBytes() []byte
- func (msg *MsgSetPortfolio) GetSigners() []sdk.AccAddress
- func (m *MsgSetPortfolio) GetUser() string
- func (m *MsgSetPortfolio) Marshal() (dAtA []byte, err error)
- func (m *MsgSetPortfolio) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetPortfolio) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetPortfolio) ProtoMessage()
- func (m *MsgSetPortfolio) Reset()
- func (msg *MsgSetPortfolio) Route() string
- func (m *MsgSetPortfolio) Size() (n int)
- func (m *MsgSetPortfolio) String() string
- func (msg *MsgSetPortfolio) Type() string
- func (m *MsgSetPortfolio) Unmarshal(dAtA []byte) error
- func (msg *MsgSetPortfolio) ValidateBasic() error
- func (m *MsgSetPortfolio) XXX_DiscardUnknown()
- func (m *MsgSetPortfolio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetPortfolio) XXX_Merge(src proto.Message)
- func (m *MsgSetPortfolio) XXX_Size() int
- func (m *MsgSetPortfolio) XXX_Unmarshal(b []byte) error
- type MsgSetPortfolioResponse
- func (*MsgSetPortfolioResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetPortfolioResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetPortfolioResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetPortfolioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetPortfolioResponse) ProtoMessage()
- func (m *MsgSetPortfolioResponse) Reset()
- func (m *MsgSetPortfolioResponse) Size() (n int)
- func (m *MsgSetPortfolioResponse) String() string
- func (m *MsgSetPortfolioResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetPortfolioResponse) XXX_DiscardUnknown()
- func (m *MsgSetPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetPortfolioResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetPortfolioResponse) XXX_Size() int
- func (m *MsgSetPortfolioResponse) XXX_Unmarshal(b []byte) error
- type OracleKeeper
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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 PerpetualKeeper
- type Portfolio
- func (*Portfolio) Descriptor() ([]byte, []int)
- func (m *Portfolio) GetCreator() string
- func (p Portfolio) GetCreatorAddress() sdk.AccAddress
- func (m *Portfolio) GetDate() string
- func (m *Portfolio) Marshal() (dAtA []byte, err error)
- func (m *Portfolio) MarshalTo(dAtA []byte) (int, error)
- func (m *Portfolio) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Portfolio) ProtoMessage()
- func (m *Portfolio) Reset()
- func (m *Portfolio) Size() (n int)
- func (m *Portfolio) String() string
- func (m *Portfolio) Unmarshal(dAtA []byte) error
- func (m *Portfolio) XXX_DiscardUnknown()
- func (m *Portfolio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Portfolio) XXX_Merge(src proto.Message)
- func (m *Portfolio) XXX_Size() int
- func (m *Portfolio) XXX_Unmarshal(b []byte) error
- type QueryAllPortfolioRequest
- func (*QueryAllPortfolioRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllPortfolioRequest) GetPagination() *query.PageRequest
- func (m *QueryAllPortfolioRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPortfolioRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPortfolioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPortfolioRequest) ProtoMessage()
- func (m *QueryAllPortfolioRequest) Reset()
- func (m *QueryAllPortfolioRequest) Size() (n int)
- func (m *QueryAllPortfolioRequest) String() string
- func (m *QueryAllPortfolioRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllPortfolioRequest) XXX_DiscardUnknown()
- func (m *QueryAllPortfolioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPortfolioRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllPortfolioRequest) XXX_Size() int
- func (m *QueryAllPortfolioRequest) XXX_Unmarshal(b []byte) error
- type QueryAllPortfolioResponse
- func (*QueryAllPortfolioResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllPortfolioResponse) GetPagination() *query.PageResponse
- func (m *QueryAllPortfolioResponse) GetPortfolio() []Portfolio
- func (m *QueryAllPortfolioResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllPortfolioResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllPortfolioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllPortfolioResponse) ProtoMessage()
- func (m *QueryAllPortfolioResponse) Reset()
- func (m *QueryAllPortfolioResponse) Size() (n int)
- func (m *QueryAllPortfolioResponse) String() string
- func (m *QueryAllPortfolioResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllPortfolioResponse) XXX_DiscardUnknown()
- func (m *QueryAllPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllPortfolioResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllPortfolioResponse) XXX_Size() int
- func (m *QueryAllPortfolioResponse) XXX_Unmarshal(b []byte) error
- type QueryCalculateDiscountRequest
- func (*QueryCalculateDiscountRequest) Descriptor() ([]byte, []int)
- func (m *QueryCalculateDiscountRequest) GetUser() string
- func (m *QueryCalculateDiscountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCalculateDiscountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCalculateDiscountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCalculateDiscountRequest) ProtoMessage()
- func (m *QueryCalculateDiscountRequest) Reset()
- func (m *QueryCalculateDiscountRequest) Size() (n int)
- func (m *QueryCalculateDiscountRequest) String() string
- func (m *QueryCalculateDiscountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCalculateDiscountRequest) XXX_DiscardUnknown()
- func (m *QueryCalculateDiscountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCalculateDiscountRequest) XXX_Merge(src proto.Message)
- func (m *QueryCalculateDiscountRequest) XXX_Size() int
- func (m *QueryCalculateDiscountRequest) XXX_Unmarshal(b []byte) error
- type QueryCalculateDiscountResponse
- func (*QueryCalculateDiscountResponse) Descriptor() ([]byte, []int)
- func (m *QueryCalculateDiscountResponse) GetDiscount() string
- func (m *QueryCalculateDiscountResponse) GetPortfolio() string
- func (m *QueryCalculateDiscountResponse) GetTier() string
- func (m *QueryCalculateDiscountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCalculateDiscountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCalculateDiscountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCalculateDiscountResponse) ProtoMessage()
- func (m *QueryCalculateDiscountResponse) Reset()
- func (m *QueryCalculateDiscountResponse) Size() (n int)
- func (m *QueryCalculateDiscountResponse) String() string
- func (m *QueryCalculateDiscountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCalculateDiscountResponse) XXX_DiscardUnknown()
- func (m *QueryCalculateDiscountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCalculateDiscountResponse) XXX_Merge(src proto.Message)
- func (m *QueryCalculateDiscountResponse) XXX_Size() int
- func (m *QueryCalculateDiscountResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetAmmPriceRequest
- func (*QueryGetAmmPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAmmPriceRequest) GetDecimal() int32
- func (m *QueryGetAmmPriceRequest) GetDenom() string
- func (m *QueryGetAmmPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAmmPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAmmPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAmmPriceRequest) ProtoMessage()
- func (m *QueryGetAmmPriceRequest) Reset()
- func (m *QueryGetAmmPriceRequest) Size() (n int)
- func (m *QueryGetAmmPriceRequest) String() string
- func (m *QueryGetAmmPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAmmPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetAmmPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAmmPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAmmPriceRequest) XXX_Size() int
- func (m *QueryGetAmmPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAmmPriceResponse
- func (*QueryGetAmmPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAmmPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAmmPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAmmPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAmmPriceResponse) ProtoMessage()
- func (m *QueryGetAmmPriceResponse) Reset()
- func (m *QueryGetAmmPriceResponse) Size() (n int)
- func (m *QueryGetAmmPriceResponse) String() string
- func (m *QueryGetAmmPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAmmPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetAmmPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAmmPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAmmPriceResponse) XXX_Size() int
- func (m *QueryGetAmmPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetConsolidatedPriceRequest
- func (*QueryGetConsolidatedPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetConsolidatedPriceRequest) GetDenom() string
- func (m *QueryGetConsolidatedPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetConsolidatedPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetConsolidatedPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetConsolidatedPriceRequest) ProtoMessage()
- func (m *QueryGetConsolidatedPriceRequest) Reset()
- func (m *QueryGetConsolidatedPriceRequest) Size() (n int)
- func (m *QueryGetConsolidatedPriceRequest) String() string
- func (m *QueryGetConsolidatedPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetConsolidatedPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetConsolidatedPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetConsolidatedPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetConsolidatedPriceRequest) XXX_Size() int
- func (m *QueryGetConsolidatedPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetConsolidatedPriceResponse
- func (*QueryGetConsolidatedPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetConsolidatedPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetConsolidatedPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetConsolidatedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetConsolidatedPriceResponse) ProtoMessage()
- func (m *QueryGetConsolidatedPriceResponse) Reset()
- func (m *QueryGetConsolidatedPriceResponse) Size() (n int)
- func (m *QueryGetConsolidatedPriceResponse) String() string
- func (m *QueryGetConsolidatedPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetConsolidatedPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetConsolidatedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetConsolidatedPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetConsolidatedPriceResponse) XXX_Size() int
- func (m *QueryGetConsolidatedPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPortfolioRequest
- func (*QueryGetPortfolioRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPortfolioRequest) GetUser() string
- func (m *QueryGetPortfolioRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPortfolioRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPortfolioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPortfolioRequest) ProtoMessage()
- func (m *QueryGetPortfolioRequest) Reset()
- func (m *QueryGetPortfolioRequest) Size() (n int)
- func (m *QueryGetPortfolioRequest) String() string
- func (m *QueryGetPortfolioRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPortfolioRequest) XXX_DiscardUnknown()
- func (m *QueryGetPortfolioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPortfolioRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPortfolioRequest) XXX_Size() int
- func (m *QueryGetPortfolioRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPortfolioResponse
- func (*QueryGetPortfolioResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPortfolioResponse) GetTotalPortfolio() string
- func (m *QueryGetPortfolioResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPortfolioResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPortfolioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPortfolioResponse) ProtoMessage()
- func (m *QueryGetPortfolioResponse) Reset()
- func (m *QueryGetPortfolioResponse) Size() (n int)
- func (m *QueryGetPortfolioResponse) String() string
- func (m *QueryGetPortfolioResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPortfolioResponse) XXX_DiscardUnknown()
- func (m *QueryGetPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPortfolioResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPortfolioResponse) XXX_Size() int
- func (m *QueryGetPortfolioResponse) XXX_Unmarshal(b []byte) error
- type QueryLeverageLpTotalRequest
- func (*QueryLeverageLpTotalRequest) Descriptor() ([]byte, []int)
- func (m *QueryLeverageLpTotalRequest) GetUser() string
- func (m *QueryLeverageLpTotalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLeverageLpTotalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLeverageLpTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLeverageLpTotalRequest) ProtoMessage()
- func (m *QueryLeverageLpTotalRequest) Reset()
- func (m *QueryLeverageLpTotalRequest) Size() (n int)
- func (m *QueryLeverageLpTotalRequest) String() string
- func (m *QueryLeverageLpTotalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLeverageLpTotalRequest) XXX_DiscardUnknown()
- func (m *QueryLeverageLpTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLeverageLpTotalRequest) XXX_Merge(src proto.Message)
- func (m *QueryLeverageLpTotalRequest) XXX_Size() int
- func (m *QueryLeverageLpTotalRequest) XXX_Unmarshal(b []byte) error
- type QueryLeverageLpTotalResponse
- func (*QueryLeverageLpTotalResponse) Descriptor() ([]byte, []int)
- func (m *QueryLeverageLpTotalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLeverageLpTotalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLeverageLpTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLeverageLpTotalResponse) ProtoMessage()
- func (m *QueryLeverageLpTotalResponse) Reset()
- func (m *QueryLeverageLpTotalResponse) Size() (n int)
- func (m *QueryLeverageLpTotalResponse) String() string
- func (m *QueryLeverageLpTotalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLeverageLpTotalResponse) XXX_DiscardUnknown()
- func (m *QueryLeverageLpTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLeverageLpTotalResponse) XXX_Merge(src proto.Message)
- func (m *QueryLeverageLpTotalResponse) XXX_Size() int
- func (m *QueryLeverageLpTotalResponse) XXX_Unmarshal(b []byte) error
- type QueryLiquidTotalRequest
- func (*QueryLiquidTotalRequest) Descriptor() ([]byte, []int)
- func (m *QueryLiquidTotalRequest) GetUser() string
- func (m *QueryLiquidTotalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidTotalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidTotalRequest) ProtoMessage()
- func (m *QueryLiquidTotalRequest) Reset()
- func (m *QueryLiquidTotalRequest) Size() (n int)
- func (m *QueryLiquidTotalRequest) String() string
- func (m *QueryLiquidTotalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidTotalRequest) XXX_DiscardUnknown()
- func (m *QueryLiquidTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidTotalRequest) XXX_Merge(src proto.Message)
- func (m *QueryLiquidTotalRequest) XXX_Size() int
- func (m *QueryLiquidTotalRequest) XXX_Unmarshal(b []byte) error
- type QueryLiquidTotalResponse
- func (*QueryLiquidTotalResponse) Descriptor() ([]byte, []int)
- func (m *QueryLiquidTotalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLiquidTotalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLiquidTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLiquidTotalResponse) ProtoMessage()
- func (m *QueryLiquidTotalResponse) Reset()
- func (m *QueryLiquidTotalResponse) Size() (n int)
- func (m *QueryLiquidTotalResponse) String() string
- func (m *QueryLiquidTotalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLiquidTotalResponse) XXX_DiscardUnknown()
- func (m *QueryLiquidTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLiquidTotalResponse) XXX_Merge(src proto.Message)
- func (m *QueryLiquidTotalResponse) XXX_Size() int
- func (m *QueryLiquidTotalResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryPerpetualRequest
- func (*QueryPerpetualRequest) Descriptor() ([]byte, []int)
- func (m *QueryPerpetualRequest) GetUser() string
- func (m *QueryPerpetualRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPerpetualRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPerpetualRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPerpetualRequest) ProtoMessage()
- func (m *QueryPerpetualRequest) Reset()
- func (m *QueryPerpetualRequest) Size() (n int)
- func (m *QueryPerpetualRequest) String() string
- func (m *QueryPerpetualRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPerpetualRequest) XXX_DiscardUnknown()
- func (m *QueryPerpetualRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPerpetualRequest) XXX_Merge(src proto.Message)
- func (m *QueryPerpetualRequest) XXX_Size() int
- func (m *QueryPerpetualRequest) XXX_Unmarshal(b []byte) error
- type QueryPerpetualResponse
- func (*QueryPerpetualResponse) Descriptor() ([]byte, []int)
- func (m *QueryPerpetualResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPerpetualResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPerpetualResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPerpetualResponse) ProtoMessage()
- func (m *QueryPerpetualResponse) Reset()
- func (m *QueryPerpetualResponse) Size() (n int)
- func (m *QueryPerpetualResponse) String() string
- func (m *QueryPerpetualResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPerpetualResponse) XXX_DiscardUnknown()
- func (m *QueryPerpetualResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPerpetualResponse) XXX_Merge(src proto.Message)
- func (m *QueryPerpetualResponse) XXX_Size() int
- func (m *QueryPerpetualResponse) XXX_Unmarshal(b []byte) error
- type QueryRewardsTotalRequest
- func (*QueryRewardsTotalRequest) Descriptor() ([]byte, []int)
- func (m *QueryRewardsTotalRequest) GetUser() string
- func (m *QueryRewardsTotalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardsTotalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardsTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardsTotalRequest) ProtoMessage()
- func (m *QueryRewardsTotalRequest) Reset()
- func (m *QueryRewardsTotalRequest) Size() (n int)
- func (m *QueryRewardsTotalRequest) String() string
- func (m *QueryRewardsTotalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRewardsTotalRequest) XXX_DiscardUnknown()
- func (m *QueryRewardsTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardsTotalRequest) XXX_Merge(src proto.Message)
- func (m *QueryRewardsTotalRequest) XXX_Size() int
- func (m *QueryRewardsTotalRequest) XXX_Unmarshal(b []byte) error
- type QueryRewardsTotalResponse
- func (*QueryRewardsTotalResponse) Descriptor() ([]byte, []int)
- func (m *QueryRewardsTotalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardsTotalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardsTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardsTotalResponse) ProtoMessage()
- func (m *QueryRewardsTotalResponse) Reset()
- func (m *QueryRewardsTotalResponse) Size() (n int)
- func (m *QueryRewardsTotalResponse) String() string
- func (m *QueryRewardsTotalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRewardsTotalResponse) XXX_DiscardUnknown()
- func (m *QueryRewardsTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardsTotalResponse) XXX_Merge(src proto.Message)
- func (m *QueryRewardsTotalResponse) XXX_Size() int
- func (m *QueryRewardsTotalResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStakedPoolRequest
- func (*QueryStakedPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakedPoolRequest) GetUser() string
- func (m *QueryStakedPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakedPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakedPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakedPoolRequest) ProtoMessage()
- func (m *QueryStakedPoolRequest) Reset()
- func (m *QueryStakedPoolRequest) Size() (n int)
- func (m *QueryStakedPoolRequest) String() string
- func (m *QueryStakedPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakedPoolRequest) XXX_DiscardUnknown()
- func (m *QueryStakedPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakedPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakedPoolRequest) XXX_Size() int
- func (m *QueryStakedPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryStakedPoolResponse
- func (*QueryStakedPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakedPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakedPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakedPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakedPoolResponse) ProtoMessage()
- func (m *QueryStakedPoolResponse) Reset()
- func (m *QueryStakedPoolResponse) Size() (n int)
- func (m *QueryStakedPoolResponse) String() string
- func (m *QueryStakedPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakedPoolResponse) XXX_DiscardUnknown()
- func (m *QueryStakedPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakedPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakedPoolResponse) XXX_Size() int
- func (m *QueryStakedPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryStakedRequest
- func (*QueryStakedRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakedRequest) GetUser() string
- func (m *QueryStakedRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakedRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakedRequest) ProtoMessage()
- func (m *QueryStakedRequest) Reset()
- func (m *QueryStakedRequest) Size() (n int)
- func (m *QueryStakedRequest) String() string
- func (m *QueryStakedRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakedRequest) XXX_DiscardUnknown()
- func (m *QueryStakedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakedRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakedRequest) XXX_Size() int
- func (m *QueryStakedRequest) XXX_Unmarshal(b []byte) error
- type QueryStakedResponse
- func (*QueryStakedResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakedResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakedResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakedResponse) ProtoMessage()
- func (m *QueryStakedResponse) Reset()
- func (m *QueryStakedResponse) Size() (n int)
- func (m *QueryStakedResponse) String() string
- func (m *QueryStakedResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakedResponse) XXX_DiscardUnknown()
- func (m *QueryStakedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakedResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakedResponse) XXX_Size() int
- func (m *QueryStakedResponse) XXX_Unmarshal(b []byte) error
- type StablestakeKeeper
- type StakingKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) CalculateDiscount(ctx context.Context, req *QueryCalculateDiscountRequest) (*QueryCalculateDiscountResponse, error)
- func (*UnimplementedQueryServer) GetAmmPrice(ctx context.Context, req *QueryGetAmmPriceRequest) (*QueryGetAmmPriceResponse, error)
- func (*UnimplementedQueryServer) GetConsolidatedPrice(ctx context.Context, req *QueryGetConsolidatedPriceRequest) (*QueryGetConsolidatedPriceResponse, error)
- func (*UnimplementedQueryServer) LeverageLpTotal(ctx context.Context, req *QueryLeverageLpTotalRequest) (*QueryLeverageLpTotalResponse, error)
- func (*UnimplementedQueryServer) LiquidTotal(ctx context.Context, req *QueryLiquidTotalRequest) (*QueryLiquidTotalResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Perpetual(ctx context.Context, req *QueryPerpetualRequest) (*QueryPerpetualResponse, error)
- func (*UnimplementedQueryServer) Portfolio(ctx context.Context, req *QueryGetPortfolioRequest) (*QueryGetPortfolioResponse, error)
- func (*UnimplementedQueryServer) PortfolioAll(ctx context.Context, req *QueryAllPortfolioRequest) (*QueryAllPortfolioResponse, error)
- func (*UnimplementedQueryServer) RewardsTotal(ctx context.Context, req *QueryRewardsTotalRequest) (*QueryRewardsTotalResponse, error)
- func (*UnimplementedQueryServer) Staked(ctx context.Context, req *QueryStakedRequest) (*QueryStakedResponse, error)
- func (*UnimplementedQueryServer) StakedPool(ctx context.Context, req *QueryStakedPoolRequest) (*QueryStakedPoolResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "tier" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_tier" )
const DateFormat = "2006-01-02"
const DefaultIndex uint64 = 1
DefaultIndex is the default global index
const TypeMsgSetPortfolio = "set_portfolio"
Variables ¶
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") ErrNotFound = sdkerrors.Register(ModuleName, 1101, "asset not found in asset profiler") )
x/tier module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( PortfolioKeyPrefix = []byte{0x01} ParamKeyPrefix = []byte{0x02} )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPortfolio = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPortfolio = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPortfolio = fmt.Errorf("proto: unexpected end of group") )
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 (
ModuleCdc = codec.NewAminoCodec(amino)
)
Functions ¶
func GetPortfolioByDateIteratorKey ¶ added in v0.45.0
func GetPortfolioKey ¶ added in v0.45.0
func GetPortfolioKey(date string, addr sdk.AccAddress) []byte
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func PortfolioKey ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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 AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type AmmKeeper ¶
type AmmKeeper interface { // GetPool returns a pool from its index GetPool(sdk.Context, uint64) (ammtypes.Pool, bool) // Get all pools GetAllPool(sdk.Context) []ammtypes.Pool // IterateCommitments iterates over all Commitments and performs a callback. IterateLiquidityPools(sdk.Context, func(ammtypes.Pool) bool) PoolExtraInfo(ctx sdk.Context, pool ammtypes.Pool) ammtypes.PoolExtraInfo InRouteByDenom(goCtx context.Context, req *ammtypes.QueryInRouteByDenomRequest) (*ammtypes.QueryInRouteByDenomResponse, error) CalcInRouteSpotPrice(ctx sdk.Context, tokenIn sdk.Coin, routes []*ammtypes.SwapAmountInRoute, discount sdk.Dec, overrideSwapFee sdk.Dec, ) (sdk.Dec, sdk.Dec, sdk.Coin, sdk.Dec, sdk.Dec, sdk.Coin, sdk.Dec, sdk.Dec, error) Balance(goCtx context.Context, req *ammtypes.QueryBalanceRequest) (*ammtypes.QueryBalanceResponse, error) GetEdenDenomPrice(ctx sdk.Context, baseCurrency string) math.LegacyDec }
type AssetProfileKeeper ¶
type AssetProfileKeeper interface { GetEntry(ctx sdk.Context, baseDenom string) (val assetprofiletypes.Entry, found bool) // GetUsdcDenom returns USDC denom GetUsdcDenom(ctx sdk.Context) (string, bool) // GetEntryByDenom returns a entry from its denom value GetEntryByDenom(ctx sdk.Context, denom string) (val assetprofiletypes.Entry, found bool) }
AssetProfileKeeper defines the expected interface needed to retrieve denom info
type BankKeeper ¶
type BankKeeper interface { GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected interface needed to retrieve account balances.
type CommitmentKeeper ¶
type CommitmentKeeper interface { GetCommitments(ctx sdk.Context, creator sdk.AccAddress) commitmenttypes.Commitments CommitmentVestingInfo(goCtx context.Context, req *commitmenttypes.QueryCommitmentVestingInfoRequest) (*commitmenttypes.QueryCommitmentVestingInfoResponse, error) }
type EstakingKeeper ¶
type EstakingKeeper interface {
Rewards(goCtx context.Context, req *estakingtypes.QueryRewardsRequest) (*estakingtypes.QueryRewardsResponse, error)
}
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PortfolioList []Portfolio `protobuf:"bytes,2,rep,name=portfolioList,proto3" json:"portfolioList"` }
GenesisState defines the tier module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPortfolioList ¶
func (m *GenesisState) GetPortfolioList() []Portfolio
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure. No data at genesis
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 LegacyPortfolio ¶ added in v0.45.0
type LegacyPortfolio struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Portfolio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=portfolio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"portfolio"` }
func (*LegacyPortfolio) Descriptor ¶ added in v0.45.0
func (*LegacyPortfolio) Descriptor() ([]byte, []int)
func (*LegacyPortfolio) GetCreator ¶ added in v0.45.0
func (m *LegacyPortfolio) GetCreator() string
func (*LegacyPortfolio) Marshal ¶ added in v0.45.0
func (m *LegacyPortfolio) Marshal() (dAtA []byte, err error)
func (*LegacyPortfolio) MarshalTo ¶ added in v0.45.0
func (m *LegacyPortfolio) MarshalTo(dAtA []byte) (int, error)
func (*LegacyPortfolio) MarshalToSizedBuffer ¶ added in v0.45.0
func (m *LegacyPortfolio) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyPortfolio) ProtoMessage ¶ added in v0.45.0
func (*LegacyPortfolio) ProtoMessage()
func (*LegacyPortfolio) Reset ¶ added in v0.45.0
func (m *LegacyPortfolio) Reset()
func (*LegacyPortfolio) Size ¶ added in v0.45.0
func (m *LegacyPortfolio) Size() (n int)
func (*LegacyPortfolio) String ¶ added in v0.45.0
func (m *LegacyPortfolio) String() string
func (*LegacyPortfolio) Unmarshal ¶ added in v0.45.0
func (m *LegacyPortfolio) Unmarshal(dAtA []byte) error
func (*LegacyPortfolio) XXX_DiscardUnknown ¶ added in v0.45.0
func (m *LegacyPortfolio) XXX_DiscardUnknown()
func (*LegacyPortfolio) XXX_Marshal ¶ added in v0.45.0
func (m *LegacyPortfolio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyPortfolio) XXX_Merge ¶ added in v0.45.0
func (m *LegacyPortfolio) XXX_Merge(src proto.Message)
func (*LegacyPortfolio) XXX_Size ¶ added in v0.45.0
func (m *LegacyPortfolio) XXX_Size() int
func (*LegacyPortfolio) XXX_Unmarshal ¶ added in v0.45.0
func (m *LegacyPortfolio) XXX_Unmarshal(b []byte) error
type LeverageLpKeeper ¶ added in v0.34.0
type LeverageLpKeeper interface {
GetPositionsForAddress(ctx sdk.Context, positionAddress sdk.AccAddress, pagination *query.PageRequest) ([]*leveragelptypes.Position, *query.PageResponse, error)
}
type MasterchefKeeper ¶
type MasterchefKeeper interface {
UserPendingReward(goCtx context.Context, req *mastercheftypes.QueryUserPendingRewardRequest) (*mastercheftypes.QueryUserPendingRewardResponse, error)
}
type MsgClient ¶
type MsgClient interface {
SetPortfolio(ctx context.Context, in *MsgSetPortfolio, opts ...grpc.CallOption) (*MsgSetPortfolioResponse, 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 MsgServer ¶
type MsgServer interface {
SetPortfolio(context.Context, *MsgSetPortfolio) (*MsgSetPortfolioResponse, error)
}
MsgServer is the server API for Msg service.
type MsgSetPortfolio ¶
type MsgSetPortfolio struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` }
func NewMsgSetPortfolio ¶
func NewMsgSetPortfolio(creator string, user string) *MsgSetPortfolio
func (*MsgSetPortfolio) Descriptor ¶
func (*MsgSetPortfolio) Descriptor() ([]byte, []int)
func (*MsgSetPortfolio) GetCreator ¶
func (m *MsgSetPortfolio) GetCreator() string
func (*MsgSetPortfolio) GetSignBytes ¶
func (msg *MsgSetPortfolio) GetSignBytes() []byte
func (*MsgSetPortfolio) GetSigners ¶
func (msg *MsgSetPortfolio) GetSigners() []sdk.AccAddress
func (*MsgSetPortfolio) GetUser ¶
func (m *MsgSetPortfolio) GetUser() string
func (*MsgSetPortfolio) Marshal ¶
func (m *MsgSetPortfolio) Marshal() (dAtA []byte, err error)
func (*MsgSetPortfolio) MarshalToSizedBuffer ¶
func (m *MsgSetPortfolio) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetPortfolio) ProtoMessage ¶
func (*MsgSetPortfolio) ProtoMessage()
func (*MsgSetPortfolio) Reset ¶
func (m *MsgSetPortfolio) Reset()
func (*MsgSetPortfolio) Route ¶
func (msg *MsgSetPortfolio) Route() string
func (*MsgSetPortfolio) Size ¶
func (m *MsgSetPortfolio) Size() (n int)
func (*MsgSetPortfolio) String ¶
func (m *MsgSetPortfolio) String() string
func (*MsgSetPortfolio) Type ¶
func (msg *MsgSetPortfolio) Type() string
func (*MsgSetPortfolio) Unmarshal ¶
func (m *MsgSetPortfolio) Unmarshal(dAtA []byte) error
func (*MsgSetPortfolio) ValidateBasic ¶
func (msg *MsgSetPortfolio) ValidateBasic() error
func (*MsgSetPortfolio) XXX_DiscardUnknown ¶
func (m *MsgSetPortfolio) XXX_DiscardUnknown()
func (*MsgSetPortfolio) XXX_Marshal ¶
func (m *MsgSetPortfolio) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetPortfolio) XXX_Merge ¶
func (m *MsgSetPortfolio) XXX_Merge(src proto.Message)
func (*MsgSetPortfolio) XXX_Size ¶
func (m *MsgSetPortfolio) XXX_Size() int
func (*MsgSetPortfolio) XXX_Unmarshal ¶
func (m *MsgSetPortfolio) XXX_Unmarshal(b []byte) error
type MsgSetPortfolioResponse ¶
type MsgSetPortfolioResponse struct { }
func (*MsgSetPortfolioResponse) Descriptor ¶
func (*MsgSetPortfolioResponse) Descriptor() ([]byte, []int)
func (*MsgSetPortfolioResponse) Marshal ¶
func (m *MsgSetPortfolioResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetPortfolioResponse) MarshalTo ¶
func (m *MsgSetPortfolioResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetPortfolioResponse) MarshalToSizedBuffer ¶
func (m *MsgSetPortfolioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetPortfolioResponse) ProtoMessage ¶
func (*MsgSetPortfolioResponse) ProtoMessage()
func (*MsgSetPortfolioResponse) Reset ¶
func (m *MsgSetPortfolioResponse) Reset()
func (*MsgSetPortfolioResponse) Size ¶
func (m *MsgSetPortfolioResponse) Size() (n int)
func (*MsgSetPortfolioResponse) String ¶
func (m *MsgSetPortfolioResponse) String() string
func (*MsgSetPortfolioResponse) Unmarshal ¶
func (m *MsgSetPortfolioResponse) Unmarshal(dAtA []byte) error
func (*MsgSetPortfolioResponse) XXX_DiscardUnknown ¶
func (m *MsgSetPortfolioResponse) XXX_DiscardUnknown()
func (*MsgSetPortfolioResponse) XXX_Marshal ¶
func (m *MsgSetPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetPortfolioResponse) XXX_Merge ¶
func (m *MsgSetPortfolioResponse) XXX_Merge(src proto.Message)
func (*MsgSetPortfolioResponse) XXX_Size ¶
func (m *MsgSetPortfolioResponse) XXX_Size() int
func (*MsgSetPortfolioResponse) XXX_Unmarshal ¶
func (m *MsgSetPortfolioResponse) XXX_Unmarshal(b []byte) error
type OracleKeeper ¶
type OracleKeeper interface { GetAssetInfo(ctx sdk.Context, denom string) (val oracletypes.AssetInfo, found bool) GetAssetPrice(ctx sdk.Context, asset string) (oracletypes.Price, bool) GetAssetPriceFromDenom(ctx sdk.Context, denom string) sdk.Dec GetPriceFeeder(ctx sdk.Context, feeder sdk.AccAddress) (val oracletypes.PriceFeeder, found bool) }
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PerpetualKeeper ¶
type PerpetualKeeper interface {
GetAllMTPsForAddress(ctx sdk.Context, mtpAddress sdk.AccAddress) []*perpetualtypes.MTP
}
type Portfolio ¶
type Portfolio struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` Portfolio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=portfolio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"portfolio"` }
func NewPortfolioWithContextDate ¶ added in v0.45.0
func (*Portfolio) Descriptor ¶
func (*Portfolio) GetCreator ¶
func (Portfolio) GetCreatorAddress ¶ added in v0.45.0
func (p Portfolio) GetCreatorAddress() sdk.AccAddress
func (*Portfolio) MarshalToSizedBuffer ¶
func (*Portfolio) ProtoMessage ¶
func (*Portfolio) ProtoMessage()
func (*Portfolio) XXX_DiscardUnknown ¶
func (m *Portfolio) XXX_DiscardUnknown()
func (*Portfolio) XXX_Marshal ¶
func (*Portfolio) XXX_Unmarshal ¶
type QueryAllPortfolioRequest ¶
type QueryAllPortfolioRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllPortfolioRequest) Descriptor ¶
func (*QueryAllPortfolioRequest) Descriptor() ([]byte, []int)
func (*QueryAllPortfolioRequest) GetPagination ¶
func (m *QueryAllPortfolioRequest) GetPagination() *query.PageRequest
func (*QueryAllPortfolioRequest) Marshal ¶
func (m *QueryAllPortfolioRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllPortfolioRequest) MarshalTo ¶
func (m *QueryAllPortfolioRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPortfolioRequest) MarshalToSizedBuffer ¶
func (m *QueryAllPortfolioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPortfolioRequest) ProtoMessage ¶
func (*QueryAllPortfolioRequest) ProtoMessage()
func (*QueryAllPortfolioRequest) Reset ¶
func (m *QueryAllPortfolioRequest) Reset()
func (*QueryAllPortfolioRequest) Size ¶
func (m *QueryAllPortfolioRequest) Size() (n int)
func (*QueryAllPortfolioRequest) String ¶
func (m *QueryAllPortfolioRequest) String() string
func (*QueryAllPortfolioRequest) Unmarshal ¶
func (m *QueryAllPortfolioRequest) Unmarshal(dAtA []byte) error
func (*QueryAllPortfolioRequest) XXX_DiscardUnknown ¶
func (m *QueryAllPortfolioRequest) XXX_DiscardUnknown()
func (*QueryAllPortfolioRequest) XXX_Marshal ¶
func (m *QueryAllPortfolioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPortfolioRequest) XXX_Merge ¶
func (m *QueryAllPortfolioRequest) XXX_Merge(src proto.Message)
func (*QueryAllPortfolioRequest) XXX_Size ¶
func (m *QueryAllPortfolioRequest) XXX_Size() int
func (*QueryAllPortfolioRequest) XXX_Unmarshal ¶
func (m *QueryAllPortfolioRequest) XXX_Unmarshal(b []byte) error
type QueryAllPortfolioResponse ¶
type QueryAllPortfolioResponse struct { Portfolio []Portfolio `protobuf:"bytes,1,rep,name=portfolio,proto3" json:"portfolio"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllPortfolioResponse) Descriptor ¶
func (*QueryAllPortfolioResponse) Descriptor() ([]byte, []int)
func (*QueryAllPortfolioResponse) GetPagination ¶
func (m *QueryAllPortfolioResponse) GetPagination() *query.PageResponse
func (*QueryAllPortfolioResponse) GetPortfolio ¶
func (m *QueryAllPortfolioResponse) GetPortfolio() []Portfolio
func (*QueryAllPortfolioResponse) Marshal ¶
func (m *QueryAllPortfolioResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllPortfolioResponse) MarshalTo ¶
func (m *QueryAllPortfolioResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllPortfolioResponse) MarshalToSizedBuffer ¶
func (m *QueryAllPortfolioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllPortfolioResponse) ProtoMessage ¶
func (*QueryAllPortfolioResponse) ProtoMessage()
func (*QueryAllPortfolioResponse) Reset ¶
func (m *QueryAllPortfolioResponse) Reset()
func (*QueryAllPortfolioResponse) Size ¶
func (m *QueryAllPortfolioResponse) Size() (n int)
func (*QueryAllPortfolioResponse) String ¶
func (m *QueryAllPortfolioResponse) String() string
func (*QueryAllPortfolioResponse) Unmarshal ¶
func (m *QueryAllPortfolioResponse) Unmarshal(dAtA []byte) error
func (*QueryAllPortfolioResponse) XXX_DiscardUnknown ¶
func (m *QueryAllPortfolioResponse) XXX_DiscardUnknown()
func (*QueryAllPortfolioResponse) XXX_Marshal ¶
func (m *QueryAllPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllPortfolioResponse) XXX_Merge ¶
func (m *QueryAllPortfolioResponse) XXX_Merge(src proto.Message)
func (*QueryAllPortfolioResponse) XXX_Size ¶
func (m *QueryAllPortfolioResponse) XXX_Size() int
func (*QueryAllPortfolioResponse) XXX_Unmarshal ¶
func (m *QueryAllPortfolioResponse) XXX_Unmarshal(b []byte) error
type QueryCalculateDiscountRequest ¶
type QueryCalculateDiscountRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryCalculateDiscountRequest) Descriptor ¶
func (*QueryCalculateDiscountRequest) Descriptor() ([]byte, []int)
func (*QueryCalculateDiscountRequest) GetUser ¶
func (m *QueryCalculateDiscountRequest) GetUser() string
func (*QueryCalculateDiscountRequest) Marshal ¶
func (m *QueryCalculateDiscountRequest) Marshal() (dAtA []byte, err error)
func (*QueryCalculateDiscountRequest) MarshalTo ¶
func (m *QueryCalculateDiscountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCalculateDiscountRequest) MarshalToSizedBuffer ¶
func (m *QueryCalculateDiscountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCalculateDiscountRequest) ProtoMessage ¶
func (*QueryCalculateDiscountRequest) ProtoMessage()
func (*QueryCalculateDiscountRequest) Reset ¶
func (m *QueryCalculateDiscountRequest) Reset()
func (*QueryCalculateDiscountRequest) Size ¶
func (m *QueryCalculateDiscountRequest) Size() (n int)
func (*QueryCalculateDiscountRequest) String ¶
func (m *QueryCalculateDiscountRequest) String() string
func (*QueryCalculateDiscountRequest) Unmarshal ¶
func (m *QueryCalculateDiscountRequest) Unmarshal(dAtA []byte) error
func (*QueryCalculateDiscountRequest) XXX_DiscardUnknown ¶
func (m *QueryCalculateDiscountRequest) XXX_DiscardUnknown()
func (*QueryCalculateDiscountRequest) XXX_Marshal ¶
func (m *QueryCalculateDiscountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCalculateDiscountRequest) XXX_Merge ¶
func (m *QueryCalculateDiscountRequest) XXX_Merge(src proto.Message)
func (*QueryCalculateDiscountRequest) XXX_Size ¶
func (m *QueryCalculateDiscountRequest) XXX_Size() int
func (*QueryCalculateDiscountRequest) XXX_Unmarshal ¶
func (m *QueryCalculateDiscountRequest) XXX_Unmarshal(b []byte) error
type QueryCalculateDiscountResponse ¶
type QueryCalculateDiscountResponse struct { Discount string `protobuf:"bytes,1,opt,name=discount,proto3" json:"discount,omitempty"` Tier string `protobuf:"bytes,2,opt,name=tier,proto3" json:"tier,omitempty"` Portfolio string `protobuf:"bytes,3,opt,name=portfolio,proto3" json:"portfolio,omitempty"` }
func (*QueryCalculateDiscountResponse) Descriptor ¶
func (*QueryCalculateDiscountResponse) Descriptor() ([]byte, []int)
func (*QueryCalculateDiscountResponse) GetDiscount ¶
func (m *QueryCalculateDiscountResponse) GetDiscount() string
func (*QueryCalculateDiscountResponse) GetPortfolio ¶
func (m *QueryCalculateDiscountResponse) GetPortfolio() string
func (*QueryCalculateDiscountResponse) GetTier ¶
func (m *QueryCalculateDiscountResponse) GetTier() string
func (*QueryCalculateDiscountResponse) Marshal ¶
func (m *QueryCalculateDiscountResponse) Marshal() (dAtA []byte, err error)
func (*QueryCalculateDiscountResponse) MarshalTo ¶
func (m *QueryCalculateDiscountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCalculateDiscountResponse) MarshalToSizedBuffer ¶
func (m *QueryCalculateDiscountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCalculateDiscountResponse) ProtoMessage ¶
func (*QueryCalculateDiscountResponse) ProtoMessage()
func (*QueryCalculateDiscountResponse) Reset ¶
func (m *QueryCalculateDiscountResponse) Reset()
func (*QueryCalculateDiscountResponse) Size ¶
func (m *QueryCalculateDiscountResponse) Size() (n int)
func (*QueryCalculateDiscountResponse) String ¶
func (m *QueryCalculateDiscountResponse) String() string
func (*QueryCalculateDiscountResponse) Unmarshal ¶
func (m *QueryCalculateDiscountResponse) Unmarshal(dAtA []byte) error
func (*QueryCalculateDiscountResponse) XXX_DiscardUnknown ¶
func (m *QueryCalculateDiscountResponse) XXX_DiscardUnknown()
func (*QueryCalculateDiscountResponse) XXX_Marshal ¶
func (m *QueryCalculateDiscountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCalculateDiscountResponse) XXX_Merge ¶
func (m *QueryCalculateDiscountResponse) XXX_Merge(src proto.Message)
func (*QueryCalculateDiscountResponse) XXX_Size ¶
func (m *QueryCalculateDiscountResponse) XXX_Size() int
func (*QueryCalculateDiscountResponse) XXX_Unmarshal ¶
func (m *QueryCalculateDiscountResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of Portfolio items. Portfolio(ctx context.Context, in *QueryGetPortfolioRequest, opts ...grpc.CallOption) (*QueryGetPortfolioResponse, error) PortfolioAll(ctx context.Context, in *QueryAllPortfolioRequest, opts ...grpc.CallOption) (*QueryAllPortfolioResponse, error) // Queries a list of CalculateDiscount items. CalculateDiscount(ctx context.Context, in *QueryCalculateDiscountRequest, opts ...grpc.CallOption) (*QueryCalculateDiscountResponse, error) // Queries a list of LeverageLpTotal items. LeverageLpTotal(ctx context.Context, in *QueryLeverageLpTotalRequest, opts ...grpc.CallOption) (*QueryLeverageLpTotalResponse, error) // Queries a list of RewardsTotal items. RewardsTotal(ctx context.Context, in *QueryRewardsTotalRequest, opts ...grpc.CallOption) (*QueryRewardsTotalResponse, error) // Queries a list of StakedPool items. StakedPool(ctx context.Context, in *QueryStakedPoolRequest, opts ...grpc.CallOption) (*QueryStakedPoolResponse, error) // Queries a list of Perpetual items. Perpetual(ctx context.Context, in *QueryPerpetualRequest, opts ...grpc.CallOption) (*QueryPerpetualResponse, error) // Queries a list of LiquidTotal items. LiquidTotal(ctx context.Context, in *QueryLiquidTotalRequest, opts ...grpc.CallOption) (*QueryLiquidTotalResponse, error) // Queries a list of GetAmmPrice items. GetAmmPrice(ctx context.Context, in *QueryGetAmmPriceRequest, opts ...grpc.CallOption) (*QueryGetAmmPriceResponse, error) // Queries a list of GetConsolidatedPrice items. GetConsolidatedPrice(ctx context.Context, in *QueryGetConsolidatedPriceRequest, opts ...grpc.CallOption) (*QueryGetConsolidatedPriceResponse, error) // Queries a list of Staked items. Staked(ctx context.Context, in *QueryStakedRequest, opts ...grpc.CallOption) (*QueryStakedResponse, 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 QueryGetAmmPriceRequest ¶ added in v0.35.0
type QueryGetAmmPriceRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Decimal int32 `protobuf:"varint,2,opt,name=decimal,proto3" json:"decimal,omitempty"` }
func (*QueryGetAmmPriceRequest) Descriptor ¶ added in v0.35.0
func (*QueryGetAmmPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetAmmPriceRequest) GetDecimal ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) GetDecimal() int32
func (*QueryGetAmmPriceRequest) GetDenom ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) GetDenom() string
func (*QueryGetAmmPriceRequest) Marshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAmmPriceRequest) MarshalTo ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAmmPriceRequest) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAmmPriceRequest) ProtoMessage ¶ added in v0.35.0
func (*QueryGetAmmPriceRequest) ProtoMessage()
func (*QueryGetAmmPriceRequest) Reset ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) Reset()
func (*QueryGetAmmPriceRequest) Size ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) Size() (n int)
func (*QueryGetAmmPriceRequest) String ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) String() string
func (*QueryGetAmmPriceRequest) Unmarshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAmmPriceRequest) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) XXX_DiscardUnknown()
func (*QueryGetAmmPriceRequest) XXX_Marshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAmmPriceRequest) XXX_Merge ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetAmmPriceRequest) XXX_Size ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) XXX_Size() int
func (*QueryGetAmmPriceRequest) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetAmmPriceResponse ¶ added in v0.35.0
type QueryGetAmmPriceResponse struct {
Total github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=total,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total"`
}
func (*QueryGetAmmPriceResponse) Descriptor ¶ added in v0.35.0
func (*QueryGetAmmPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetAmmPriceResponse) Marshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAmmPriceResponse) MarshalTo ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAmmPriceResponse) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAmmPriceResponse) ProtoMessage ¶ added in v0.35.0
func (*QueryGetAmmPriceResponse) ProtoMessage()
func (*QueryGetAmmPriceResponse) Reset ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) Reset()
func (*QueryGetAmmPriceResponse) Size ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) Size() (n int)
func (*QueryGetAmmPriceResponse) String ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) String() string
func (*QueryGetAmmPriceResponse) Unmarshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAmmPriceResponse) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) XXX_DiscardUnknown()
func (*QueryGetAmmPriceResponse) XXX_Marshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAmmPriceResponse) XXX_Merge ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetAmmPriceResponse) XXX_Size ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) XXX_Size() int
func (*QueryGetAmmPriceResponse) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryGetAmmPriceResponse) XXX_Unmarshal(b []byte) error
type QueryGetConsolidatedPriceRequest ¶ added in v0.38.0
type QueryGetConsolidatedPriceRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryGetConsolidatedPriceRequest) Descriptor ¶ added in v0.38.0
func (*QueryGetConsolidatedPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetConsolidatedPriceRequest) GetDenom ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) GetDenom() string
func (*QueryGetConsolidatedPriceRequest) Marshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetConsolidatedPriceRequest) MarshalTo ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetConsolidatedPriceRequest) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetConsolidatedPriceRequest) ProtoMessage ¶ added in v0.38.0
func (*QueryGetConsolidatedPriceRequest) ProtoMessage()
func (*QueryGetConsolidatedPriceRequest) Reset ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) Reset()
func (*QueryGetConsolidatedPriceRequest) Size ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) Size() (n int)
func (*QueryGetConsolidatedPriceRequest) String ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) String() string
func (*QueryGetConsolidatedPriceRequest) Unmarshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetConsolidatedPriceRequest) XXX_DiscardUnknown ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) XXX_DiscardUnknown()
func (*QueryGetConsolidatedPriceRequest) XXX_Marshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetConsolidatedPriceRequest) XXX_Merge ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetConsolidatedPriceRequest) XXX_Size ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) XXX_Size() int
func (*QueryGetConsolidatedPriceRequest) XXX_Unmarshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetConsolidatedPriceResponse ¶ added in v0.38.0
type QueryGetConsolidatedPriceResponse struct { AmmPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=ammPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"ammPrice"` OraclePrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=oraclePrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"oraclePrice"` OraclePriceDec github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=oraclePriceDec,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"oraclePriceDec"` }
func (*QueryGetConsolidatedPriceResponse) Descriptor ¶ added in v0.38.0
func (*QueryGetConsolidatedPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetConsolidatedPriceResponse) Marshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetConsolidatedPriceResponse) MarshalTo ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetConsolidatedPriceResponse) MarshalToSizedBuffer ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetConsolidatedPriceResponse) ProtoMessage ¶ added in v0.38.0
func (*QueryGetConsolidatedPriceResponse) ProtoMessage()
func (*QueryGetConsolidatedPriceResponse) Reset ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) Reset()
func (*QueryGetConsolidatedPriceResponse) Size ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) Size() (n int)
func (*QueryGetConsolidatedPriceResponse) String ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) String() string
func (*QueryGetConsolidatedPriceResponse) Unmarshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetConsolidatedPriceResponse) XXX_DiscardUnknown ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) XXX_DiscardUnknown()
func (*QueryGetConsolidatedPriceResponse) XXX_Marshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetConsolidatedPriceResponse) XXX_Merge ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetConsolidatedPriceResponse) XXX_Size ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) XXX_Size() int
func (*QueryGetConsolidatedPriceResponse) XXX_Unmarshal ¶ added in v0.38.0
func (m *QueryGetConsolidatedPriceResponse) XXX_Unmarshal(b []byte) error
type QueryGetPortfolioRequest ¶
type QueryGetPortfolioRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryGetPortfolioRequest) Descriptor ¶
func (*QueryGetPortfolioRequest) Descriptor() ([]byte, []int)
func (*QueryGetPortfolioRequest) GetUser ¶
func (m *QueryGetPortfolioRequest) GetUser() string
func (*QueryGetPortfolioRequest) Marshal ¶
func (m *QueryGetPortfolioRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPortfolioRequest) MarshalTo ¶
func (m *QueryGetPortfolioRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPortfolioRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPortfolioRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPortfolioRequest) ProtoMessage ¶
func (*QueryGetPortfolioRequest) ProtoMessage()
func (*QueryGetPortfolioRequest) Reset ¶
func (m *QueryGetPortfolioRequest) Reset()
func (*QueryGetPortfolioRequest) Size ¶
func (m *QueryGetPortfolioRequest) Size() (n int)
func (*QueryGetPortfolioRequest) String ¶
func (m *QueryGetPortfolioRequest) String() string
func (*QueryGetPortfolioRequest) Unmarshal ¶
func (m *QueryGetPortfolioRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPortfolioRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPortfolioRequest) XXX_DiscardUnknown()
func (*QueryGetPortfolioRequest) XXX_Marshal ¶
func (m *QueryGetPortfolioRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPortfolioRequest) XXX_Merge ¶
func (m *QueryGetPortfolioRequest) XXX_Merge(src proto.Message)
func (*QueryGetPortfolioRequest) XXX_Size ¶
func (m *QueryGetPortfolioRequest) XXX_Size() int
func (*QueryGetPortfolioRequest) XXX_Unmarshal ¶
func (m *QueryGetPortfolioRequest) XXX_Unmarshal(b []byte) error
type QueryGetPortfolioResponse ¶
type QueryGetPortfolioResponse struct {
TotalPortfolio string `protobuf:"bytes,1,opt,name=total_portfolio,json=totalPortfolio,proto3" json:"total_portfolio,omitempty"`
}
func (*QueryGetPortfolioResponse) Descriptor ¶
func (*QueryGetPortfolioResponse) Descriptor() ([]byte, []int)
func (*QueryGetPortfolioResponse) GetTotalPortfolio ¶
func (m *QueryGetPortfolioResponse) GetTotalPortfolio() string
func (*QueryGetPortfolioResponse) Marshal ¶
func (m *QueryGetPortfolioResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPortfolioResponse) MarshalTo ¶
func (m *QueryGetPortfolioResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPortfolioResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPortfolioResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPortfolioResponse) ProtoMessage ¶
func (*QueryGetPortfolioResponse) ProtoMessage()
func (*QueryGetPortfolioResponse) Reset ¶
func (m *QueryGetPortfolioResponse) Reset()
func (*QueryGetPortfolioResponse) Size ¶
func (m *QueryGetPortfolioResponse) Size() (n int)
func (*QueryGetPortfolioResponse) String ¶
func (m *QueryGetPortfolioResponse) String() string
func (*QueryGetPortfolioResponse) Unmarshal ¶
func (m *QueryGetPortfolioResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPortfolioResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPortfolioResponse) XXX_DiscardUnknown()
func (*QueryGetPortfolioResponse) XXX_Marshal ¶
func (m *QueryGetPortfolioResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPortfolioResponse) XXX_Merge ¶
func (m *QueryGetPortfolioResponse) XXX_Merge(src proto.Message)
func (*QueryGetPortfolioResponse) XXX_Size ¶
func (m *QueryGetPortfolioResponse) XXX_Size() int
func (*QueryGetPortfolioResponse) XXX_Unmarshal ¶
func (m *QueryGetPortfolioResponse) XXX_Unmarshal(b []byte) error
type QueryLeverageLpTotalRequest ¶ added in v0.34.0
type QueryLeverageLpTotalRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryLeverageLpTotalRequest) Descriptor ¶ added in v0.34.0
func (*QueryLeverageLpTotalRequest) Descriptor() ([]byte, []int)
func (*QueryLeverageLpTotalRequest) GetUser ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) GetUser() string
func (*QueryLeverageLpTotalRequest) Marshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) Marshal() (dAtA []byte, err error)
func (*QueryLeverageLpTotalRequest) MarshalTo ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLeverageLpTotalRequest) MarshalToSizedBuffer ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLeverageLpTotalRequest) ProtoMessage ¶ added in v0.34.0
func (*QueryLeverageLpTotalRequest) ProtoMessage()
func (*QueryLeverageLpTotalRequest) Reset ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) Reset()
func (*QueryLeverageLpTotalRequest) Size ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) Size() (n int)
func (*QueryLeverageLpTotalRequest) String ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) String() string
func (*QueryLeverageLpTotalRequest) Unmarshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) Unmarshal(dAtA []byte) error
func (*QueryLeverageLpTotalRequest) XXX_DiscardUnknown ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) XXX_DiscardUnknown()
func (*QueryLeverageLpTotalRequest) XXX_Marshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLeverageLpTotalRequest) XXX_Merge ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) XXX_Merge(src proto.Message)
func (*QueryLeverageLpTotalRequest) XXX_Size ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) XXX_Size() int
func (*QueryLeverageLpTotalRequest) XXX_Unmarshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalRequest) XXX_Unmarshal(b []byte) error
type QueryLeverageLpTotalResponse ¶ added in v0.34.0
type QueryLeverageLpTotalResponse struct { TotalValue github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ TotalBorrows github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ }
func (*QueryLeverageLpTotalResponse) Descriptor ¶ added in v0.34.0
func (*QueryLeverageLpTotalResponse) Descriptor() ([]byte, []int)
func (*QueryLeverageLpTotalResponse) Marshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) Marshal() (dAtA []byte, err error)
func (*QueryLeverageLpTotalResponse) MarshalTo ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLeverageLpTotalResponse) MarshalToSizedBuffer ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLeverageLpTotalResponse) ProtoMessage ¶ added in v0.34.0
func (*QueryLeverageLpTotalResponse) ProtoMessage()
func (*QueryLeverageLpTotalResponse) Reset ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) Reset()
func (*QueryLeverageLpTotalResponse) Size ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) Size() (n int)
func (*QueryLeverageLpTotalResponse) String ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) String() string
func (*QueryLeverageLpTotalResponse) Unmarshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) Unmarshal(dAtA []byte) error
func (*QueryLeverageLpTotalResponse) XXX_DiscardUnknown ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) XXX_DiscardUnknown()
func (*QueryLeverageLpTotalResponse) XXX_Marshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLeverageLpTotalResponse) XXX_Merge ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) XXX_Merge(src proto.Message)
func (*QueryLeverageLpTotalResponse) XXX_Size ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) XXX_Size() int
func (*QueryLeverageLpTotalResponse) XXX_Unmarshal ¶ added in v0.34.0
func (m *QueryLeverageLpTotalResponse) XXX_Unmarshal(b []byte) error
type QueryLiquidTotalRequest ¶ added in v0.35.0
type QueryLiquidTotalRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryLiquidTotalRequest) Descriptor ¶ added in v0.35.0
func (*QueryLiquidTotalRequest) Descriptor() ([]byte, []int)
func (*QueryLiquidTotalRequest) GetUser ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) GetUser() string
func (*QueryLiquidTotalRequest) Marshal ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) Marshal() (dAtA []byte, err error)
func (*QueryLiquidTotalRequest) MarshalTo ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidTotalRequest) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidTotalRequest) ProtoMessage ¶ added in v0.35.0
func (*QueryLiquidTotalRequest) ProtoMessage()
func (*QueryLiquidTotalRequest) Reset ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) Reset()
func (*QueryLiquidTotalRequest) Size ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) Size() (n int)
func (*QueryLiquidTotalRequest) String ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) String() string
func (*QueryLiquidTotalRequest) Unmarshal ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) Unmarshal(dAtA []byte) error
func (*QueryLiquidTotalRequest) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) XXX_DiscardUnknown()
func (*QueryLiquidTotalRequest) XXX_Marshal ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidTotalRequest) XXX_Merge ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) XXX_Merge(src proto.Message)
func (*QueryLiquidTotalRequest) XXX_Size ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) XXX_Size() int
func (*QueryLiquidTotalRequest) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryLiquidTotalRequest) XXX_Unmarshal(b []byte) error
type QueryLiquidTotalResponse ¶ added in v0.35.0
type QueryLiquidTotalResponse struct {
Total github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=total,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total"`
}
func (*QueryLiquidTotalResponse) Descriptor ¶ added in v0.35.0
func (*QueryLiquidTotalResponse) Descriptor() ([]byte, []int)
func (*QueryLiquidTotalResponse) Marshal ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) Marshal() (dAtA []byte, err error)
func (*QueryLiquidTotalResponse) MarshalTo ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryLiquidTotalResponse) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryLiquidTotalResponse) ProtoMessage ¶ added in v0.35.0
func (*QueryLiquidTotalResponse) ProtoMessage()
func (*QueryLiquidTotalResponse) Reset ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) Reset()
func (*QueryLiquidTotalResponse) Size ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) Size() (n int)
func (*QueryLiquidTotalResponse) String ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) String() string
func (*QueryLiquidTotalResponse) Unmarshal ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) Unmarshal(dAtA []byte) error
func (*QueryLiquidTotalResponse) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) XXX_DiscardUnknown()
func (*QueryLiquidTotalResponse) XXX_Marshal ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryLiquidTotalResponse) XXX_Merge ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) XXX_Merge(src proto.Message)
func (*QueryLiquidTotalResponse) XXX_Size ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) XXX_Size() int
func (*QueryLiquidTotalResponse) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryLiquidTotalResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryPerpetualRequest ¶ added in v0.35.0
type QueryPerpetualRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryPerpetualRequest) Descriptor ¶ added in v0.35.0
func (*QueryPerpetualRequest) Descriptor() ([]byte, []int)
func (*QueryPerpetualRequest) GetUser ¶ added in v0.35.0
func (m *QueryPerpetualRequest) GetUser() string
func (*QueryPerpetualRequest) Marshal ¶ added in v0.35.0
func (m *QueryPerpetualRequest) Marshal() (dAtA []byte, err error)
func (*QueryPerpetualRequest) MarshalTo ¶ added in v0.35.0
func (m *QueryPerpetualRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPerpetualRequest) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryPerpetualRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPerpetualRequest) ProtoMessage ¶ added in v0.35.0
func (*QueryPerpetualRequest) ProtoMessage()
func (*QueryPerpetualRequest) Reset ¶ added in v0.35.0
func (m *QueryPerpetualRequest) Reset()
func (*QueryPerpetualRequest) Size ¶ added in v0.35.0
func (m *QueryPerpetualRequest) Size() (n int)
func (*QueryPerpetualRequest) String ¶ added in v0.35.0
func (m *QueryPerpetualRequest) String() string
func (*QueryPerpetualRequest) Unmarshal ¶ added in v0.35.0
func (m *QueryPerpetualRequest) Unmarshal(dAtA []byte) error
func (*QueryPerpetualRequest) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryPerpetualRequest) XXX_DiscardUnknown()
func (*QueryPerpetualRequest) XXX_Marshal ¶ added in v0.35.0
func (m *QueryPerpetualRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPerpetualRequest) XXX_Merge ¶ added in v0.35.0
func (m *QueryPerpetualRequest) XXX_Merge(src proto.Message)
func (*QueryPerpetualRequest) XXX_Size ¶ added in v0.35.0
func (m *QueryPerpetualRequest) XXX_Size() int
func (*QueryPerpetualRequest) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryPerpetualRequest) XXX_Unmarshal(b []byte) error
type QueryPerpetualResponse ¶ added in v0.35.0
type QueryPerpetualResponse struct { TotalValue github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ TotalBorrows github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ }
func (*QueryPerpetualResponse) Descriptor ¶ added in v0.35.0
func (*QueryPerpetualResponse) Descriptor() ([]byte, []int)
func (*QueryPerpetualResponse) Marshal ¶ added in v0.35.0
func (m *QueryPerpetualResponse) Marshal() (dAtA []byte, err error)
func (*QueryPerpetualResponse) MarshalTo ¶ added in v0.35.0
func (m *QueryPerpetualResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPerpetualResponse) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryPerpetualResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPerpetualResponse) ProtoMessage ¶ added in v0.35.0
func (*QueryPerpetualResponse) ProtoMessage()
func (*QueryPerpetualResponse) Reset ¶ added in v0.35.0
func (m *QueryPerpetualResponse) Reset()
func (*QueryPerpetualResponse) Size ¶ added in v0.35.0
func (m *QueryPerpetualResponse) Size() (n int)
func (*QueryPerpetualResponse) String ¶ added in v0.35.0
func (m *QueryPerpetualResponse) String() string
func (*QueryPerpetualResponse) Unmarshal ¶ added in v0.35.0
func (m *QueryPerpetualResponse) Unmarshal(dAtA []byte) error
func (*QueryPerpetualResponse) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryPerpetualResponse) XXX_DiscardUnknown()
func (*QueryPerpetualResponse) XXX_Marshal ¶ added in v0.35.0
func (m *QueryPerpetualResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPerpetualResponse) XXX_Merge ¶ added in v0.35.0
func (m *QueryPerpetualResponse) XXX_Merge(src proto.Message)
func (*QueryPerpetualResponse) XXX_Size ¶ added in v0.35.0
func (m *QueryPerpetualResponse) XXX_Size() int
func (*QueryPerpetualResponse) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryPerpetualResponse) XXX_Unmarshal(b []byte) error
type QueryRewardsTotalRequest ¶ added in v0.35.0
type QueryRewardsTotalRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryRewardsTotalRequest) Descriptor ¶ added in v0.35.0
func (*QueryRewardsTotalRequest) Descriptor() ([]byte, []int)
func (*QueryRewardsTotalRequest) GetUser ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) GetUser() string
func (*QueryRewardsTotalRequest) Marshal ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) Marshal() (dAtA []byte, err error)
func (*QueryRewardsTotalRequest) MarshalTo ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardsTotalRequest) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardsTotalRequest) ProtoMessage ¶ added in v0.35.0
func (*QueryRewardsTotalRequest) ProtoMessage()
func (*QueryRewardsTotalRequest) Reset ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) Reset()
func (*QueryRewardsTotalRequest) Size ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) Size() (n int)
func (*QueryRewardsTotalRequest) String ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) String() string
func (*QueryRewardsTotalRequest) Unmarshal ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) Unmarshal(dAtA []byte) error
func (*QueryRewardsTotalRequest) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) XXX_DiscardUnknown()
func (*QueryRewardsTotalRequest) XXX_Marshal ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardsTotalRequest) XXX_Merge ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) XXX_Merge(src proto.Message)
func (*QueryRewardsTotalRequest) XXX_Size ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) XXX_Size() int
func (*QueryRewardsTotalRequest) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryRewardsTotalRequest) XXX_Unmarshal(b []byte) error
type QueryRewardsTotalResponse ¶ added in v0.35.0
type QueryRewardsTotalResponse struct {
Total github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=total,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total"`
}
func (*QueryRewardsTotalResponse) Descriptor ¶ added in v0.35.0
func (*QueryRewardsTotalResponse) Descriptor() ([]byte, []int)
func (*QueryRewardsTotalResponse) Marshal ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) Marshal() (dAtA []byte, err error)
func (*QueryRewardsTotalResponse) MarshalTo ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardsTotalResponse) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardsTotalResponse) ProtoMessage ¶ added in v0.35.0
func (*QueryRewardsTotalResponse) ProtoMessage()
func (*QueryRewardsTotalResponse) Reset ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) Reset()
func (*QueryRewardsTotalResponse) Size ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) Size() (n int)
func (*QueryRewardsTotalResponse) String ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) String() string
func (*QueryRewardsTotalResponse) Unmarshal ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) Unmarshal(dAtA []byte) error
func (*QueryRewardsTotalResponse) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) XXX_DiscardUnknown()
func (*QueryRewardsTotalResponse) XXX_Marshal ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardsTotalResponse) XXX_Merge ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) XXX_Merge(src proto.Message)
func (*QueryRewardsTotalResponse) XXX_Size ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) XXX_Size() int
func (*QueryRewardsTotalResponse) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryRewardsTotalResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of Portfolio items. Portfolio(context.Context, *QueryGetPortfolioRequest) (*QueryGetPortfolioResponse, error) PortfolioAll(context.Context, *QueryAllPortfolioRequest) (*QueryAllPortfolioResponse, error) // Queries a list of CalculateDiscount items. CalculateDiscount(context.Context, *QueryCalculateDiscountRequest) (*QueryCalculateDiscountResponse, error) // Queries a list of LeverageLpTotal items. LeverageLpTotal(context.Context, *QueryLeverageLpTotalRequest) (*QueryLeverageLpTotalResponse, error) // Queries a list of RewardsTotal items. RewardsTotal(context.Context, *QueryRewardsTotalRequest) (*QueryRewardsTotalResponse, error) // Queries a list of StakedPool items. StakedPool(context.Context, *QueryStakedPoolRequest) (*QueryStakedPoolResponse, error) // Queries a list of Perpetual items. Perpetual(context.Context, *QueryPerpetualRequest) (*QueryPerpetualResponse, error) // Queries a list of LiquidTotal items. LiquidTotal(context.Context, *QueryLiquidTotalRequest) (*QueryLiquidTotalResponse, error) // Queries a list of GetAmmPrice items. GetAmmPrice(context.Context, *QueryGetAmmPriceRequest) (*QueryGetAmmPriceResponse, error) // Queries a list of GetConsolidatedPrice items. GetConsolidatedPrice(context.Context, *QueryGetConsolidatedPriceRequest) (*QueryGetConsolidatedPriceResponse, error) // Queries a list of Staked items. Staked(context.Context, *QueryStakedRequest) (*QueryStakedResponse, error) }
QueryServer is the server API for Query service.
type QueryStakedPoolRequest ¶ added in v0.35.0
type QueryStakedPoolRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryStakedPoolRequest) Descriptor ¶ added in v0.35.0
func (*QueryStakedPoolRequest) Descriptor() ([]byte, []int)
func (*QueryStakedPoolRequest) GetUser ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) GetUser() string
func (*QueryStakedPoolRequest) Marshal ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakedPoolRequest) MarshalTo ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakedPoolRequest) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakedPoolRequest) ProtoMessage ¶ added in v0.35.0
func (*QueryStakedPoolRequest) ProtoMessage()
func (*QueryStakedPoolRequest) Reset ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) Reset()
func (*QueryStakedPoolRequest) Size ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) Size() (n int)
func (*QueryStakedPoolRequest) String ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) String() string
func (*QueryStakedPoolRequest) Unmarshal ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryStakedPoolRequest) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) XXX_DiscardUnknown()
func (*QueryStakedPoolRequest) XXX_Marshal ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakedPoolRequest) XXX_Merge ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) XXX_Merge(src proto.Message)
func (*QueryStakedPoolRequest) XXX_Size ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) XXX_Size() int
func (*QueryStakedPoolRequest) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryStakedPoolRequest) XXX_Unmarshal(b []byte) error
type QueryStakedPoolResponse ¶ added in v0.35.0
type QueryStakedPoolResponse struct {
Total github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=total,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total"`
}
func (*QueryStakedPoolResponse) Descriptor ¶ added in v0.35.0
func (*QueryStakedPoolResponse) Descriptor() ([]byte, []int)
func (*QueryStakedPoolResponse) Marshal ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakedPoolResponse) MarshalTo ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakedPoolResponse) MarshalToSizedBuffer ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakedPoolResponse) ProtoMessage ¶ added in v0.35.0
func (*QueryStakedPoolResponse) ProtoMessage()
func (*QueryStakedPoolResponse) Reset ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) Reset()
func (*QueryStakedPoolResponse) Size ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) Size() (n int)
func (*QueryStakedPoolResponse) String ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) String() string
func (*QueryStakedPoolResponse) Unmarshal ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryStakedPoolResponse) XXX_DiscardUnknown ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) XXX_DiscardUnknown()
func (*QueryStakedPoolResponse) XXX_Marshal ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakedPoolResponse) XXX_Merge ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) XXX_Merge(src proto.Message)
func (*QueryStakedPoolResponse) XXX_Size ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) XXX_Size() int
func (*QueryStakedPoolResponse) XXX_Unmarshal ¶ added in v0.35.0
func (m *QueryStakedPoolResponse) XXX_Unmarshal(b []byte) error
type QueryStakedRequest ¶ added in v0.39.0
type QueryStakedRequest struct {
User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
}
func (*QueryStakedRequest) Descriptor ¶ added in v0.39.0
func (*QueryStakedRequest) Descriptor() ([]byte, []int)
func (*QueryStakedRequest) GetUser ¶ added in v0.39.0
func (m *QueryStakedRequest) GetUser() string
func (*QueryStakedRequest) Marshal ¶ added in v0.39.0
func (m *QueryStakedRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakedRequest) MarshalTo ¶ added in v0.39.0
func (m *QueryStakedRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakedRequest) MarshalToSizedBuffer ¶ added in v0.39.0
func (m *QueryStakedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakedRequest) ProtoMessage ¶ added in v0.39.0
func (*QueryStakedRequest) ProtoMessage()
func (*QueryStakedRequest) Reset ¶ added in v0.39.0
func (m *QueryStakedRequest) Reset()
func (*QueryStakedRequest) Size ¶ added in v0.39.0
func (m *QueryStakedRequest) Size() (n int)
func (*QueryStakedRequest) String ¶ added in v0.39.0
func (m *QueryStakedRequest) String() string
func (*QueryStakedRequest) Unmarshal ¶ added in v0.39.0
func (m *QueryStakedRequest) Unmarshal(dAtA []byte) error
func (*QueryStakedRequest) XXX_DiscardUnknown ¶ added in v0.39.0
func (m *QueryStakedRequest) XXX_DiscardUnknown()
func (*QueryStakedRequest) XXX_Marshal ¶ added in v0.39.0
func (m *QueryStakedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakedRequest) XXX_Merge ¶ added in v0.39.0
func (m *QueryStakedRequest) XXX_Merge(src proto.Message)
func (*QueryStakedRequest) XXX_Size ¶ added in v0.39.0
func (m *QueryStakedRequest) XXX_Size() int
func (*QueryStakedRequest) XXX_Unmarshal ¶ added in v0.39.0
func (m *QueryStakedRequest) XXX_Unmarshal(b []byte) error
type QueryStakedResponse ¶ added in v0.39.0
type QueryStakedResponse struct { Commitments github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=commitments,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"commitments"` Delegations github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=delegations,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"delegations"` Unbondings github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=unbondings,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"unbondings"` TotalVested github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=totalVested,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"totalVested"` }
func (*QueryStakedResponse) Descriptor ¶ added in v0.39.0
func (*QueryStakedResponse) Descriptor() ([]byte, []int)
func (*QueryStakedResponse) Marshal ¶ added in v0.39.0
func (m *QueryStakedResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakedResponse) MarshalTo ¶ added in v0.39.0
func (m *QueryStakedResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakedResponse) MarshalToSizedBuffer ¶ added in v0.39.0
func (m *QueryStakedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakedResponse) ProtoMessage ¶ added in v0.39.0
func (*QueryStakedResponse) ProtoMessage()
func (*QueryStakedResponse) Reset ¶ added in v0.39.0
func (m *QueryStakedResponse) Reset()
func (*QueryStakedResponse) Size ¶ added in v0.39.0
func (m *QueryStakedResponse) Size() (n int)
func (*QueryStakedResponse) String ¶ added in v0.39.0
func (m *QueryStakedResponse) String() string
func (*QueryStakedResponse) Unmarshal ¶ added in v0.39.0
func (m *QueryStakedResponse) Unmarshal(dAtA []byte) error
func (*QueryStakedResponse) XXX_DiscardUnknown ¶ added in v0.39.0
func (m *QueryStakedResponse) XXX_DiscardUnknown()
func (*QueryStakedResponse) XXX_Marshal ¶ added in v0.39.0
func (m *QueryStakedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakedResponse) XXX_Merge ¶ added in v0.39.0
func (m *QueryStakedResponse) XXX_Merge(src proto.Message)
func (*QueryStakedResponse) XXX_Size ¶ added in v0.39.0
func (m *QueryStakedResponse) XXX_Size() int
func (*QueryStakedResponse) XXX_Unmarshal ¶ added in v0.39.0
func (m *QueryStakedResponse) XXX_Unmarshal(b []byte) error
type StablestakeKeeper ¶ added in v0.39.0
type StablestakeKeeper interface { GetParams(ctx sdk.Context) (params stablestaketypes.Params) GetDebt(ctx sdk.Context, addr sdk.AccAddress) stablestaketypes.Debt UpdateInterestAndGetDebt(ctx sdk.Context, addr sdk.AccAddress) stablestaketypes.Debt }
type StakingKeeper ¶
type StakingKeeper interface { BondDenom(ctx sdk.Context) string GetUnbondingDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (unbondingDelegations []stakingtypes.UnbondingDelegation) GetDelegatorValidators( ctx sdk.Context, delegatorAddr sdk.AccAddress, maxRetrieve uint32, ) stakingtypes.Validators GetAllDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress) []stakingtypes.Delegation }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) SetPortfolio ¶
func (*UnimplementedMsgServer) SetPortfolio(ctx context.Context, req *MsgSetPortfolio) (*MsgSetPortfolioResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) CalculateDiscount ¶
func (*UnimplementedQueryServer) CalculateDiscount(ctx context.Context, req *QueryCalculateDiscountRequest) (*QueryCalculateDiscountResponse, error)
func (*UnimplementedQueryServer) GetAmmPrice ¶ added in v0.35.0
func (*UnimplementedQueryServer) GetAmmPrice(ctx context.Context, req *QueryGetAmmPriceRequest) (*QueryGetAmmPriceResponse, error)
func (*UnimplementedQueryServer) GetConsolidatedPrice ¶ added in v0.38.0
func (*UnimplementedQueryServer) GetConsolidatedPrice(ctx context.Context, req *QueryGetConsolidatedPriceRequest) (*QueryGetConsolidatedPriceResponse, error)
func (*UnimplementedQueryServer) LeverageLpTotal ¶ added in v0.34.0
func (*UnimplementedQueryServer) LeverageLpTotal(ctx context.Context, req *QueryLeverageLpTotalRequest) (*QueryLeverageLpTotalResponse, error)
func (*UnimplementedQueryServer) LiquidTotal ¶ added in v0.35.0
func (*UnimplementedQueryServer) LiquidTotal(ctx context.Context, req *QueryLiquidTotalRequest) (*QueryLiquidTotalResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Perpetual ¶ added in v0.35.0
func (*UnimplementedQueryServer) Perpetual(ctx context.Context, req *QueryPerpetualRequest) (*QueryPerpetualResponse, error)
func (*UnimplementedQueryServer) Portfolio ¶
func (*UnimplementedQueryServer) Portfolio(ctx context.Context, req *QueryGetPortfolioRequest) (*QueryGetPortfolioResponse, error)
func (*UnimplementedQueryServer) PortfolioAll ¶
func (*UnimplementedQueryServer) PortfolioAll(ctx context.Context, req *QueryAllPortfolioRequest) (*QueryAllPortfolioResponse, error)
func (*UnimplementedQueryServer) RewardsTotal ¶ added in v0.35.0
func (*UnimplementedQueryServer) RewardsTotal(ctx context.Context, req *QueryRewardsTotalRequest) (*QueryRewardsTotalResponse, error)
func (*UnimplementedQueryServer) Staked ¶ added in v0.39.0
func (*UnimplementedQueryServer) Staked(ctx context.Context, req *QueryStakedRequest) (*QueryStakedResponse, error)
func (*UnimplementedQueryServer) StakedPool ¶ added in v0.35.0
func (*UnimplementedQueryServer) StakedPool(ctx context.Context, req *QueryStakedPoolRequest) (*QueryStakedPoolResponse, error)