Documentation ¶
Index ¶
- func PerformMsgAddCollateral(f *leveragelpkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, ...) (*leveragelptypes.MsgAddCollateralResponse, error)
- func PerformMsgOpen(f *leveragelpkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, ...) (*leveragelptypes.MsgOpenResponse, error)
- func PerformMsgUpdateStopLoss(f *leveragelpkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, ...) (*leveragelptypes.MsgUpdateStopLossResponse, error)
- type Messenger
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PerformMsgAddCollateral ¶ added in v0.37.0
func PerformMsgAddCollateral(f *leveragelpkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, msgUpdateStopLoss *leveragelptypes.MsgAddCollateral) (*leveragelptypes.MsgAddCollateralResponse, error)
func PerformMsgOpen ¶
func PerformMsgOpen(f *leveragelpkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, msgOpen *leveragelptypes.MsgOpen) (*leveragelptypes.MsgOpenResponse, error)
func PerformMsgUpdateStopLoss ¶ added in v0.33.0
func PerformMsgUpdateStopLoss(f *leveragelpkeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, msgUpdateStopLoss *leveragelptypes.MsgUpdateStopLoss) (*leveragelptypes.MsgUpdateStopLossResponse, error)
Types ¶
type Messenger ¶
type Messenger struct {
// contains filtered or unexported fields
}
Messenger handles messages for the Leverage LP module.
func NewMessenger ¶
func NewMessenger( keeper *keeper.Keeper, parameterKeeper *parameterkeeper.Keeper, ) *Messenger
type Querier ¶
type Querier struct {
// contains filtered or unexported fields
}
Querier handles queries for the Leverage LP module.
func NewQuerier ¶
func (*Querier) HandleQuery ¶
Source Files ¶
- messenger.go
- msg_add_collateral.go
- msg_claim_rewards.go
- msg_close.go
- msg_open.go
- msg_update_stop_loss.go
- querier.go
- query_claim_rewards.go
- query_close_est.go
- query_get_status.go
- query_get_whitelist.go
- query_is_whitelisted.go
- query_open_est.go
- query_params.go
- query_pool.go
- query_pools.go
- query_position.go
- query_positions.go
- query_positions_by_pool.go
- query_positions_for_address.go
Click to show internal directories.
Click to hide internal directories.