wasm

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func (*Messenger) HandleMsg

func (m *Messenger) HandleMsg(ctx sdk.Context, contractAddr sdk.AccAddress, contractIBCPortID string, msg wasmbindingstypes.ElysMsg) ([]sdk.Event, [][]byte, error)

type Querier

type Querier struct {
	// contains filtered or unexported fields
}

Querier handles queries for the Leverage LP module.

func NewQuerier

func NewQuerier(keeper *keeper.Keeper) *Querier

func (*Querier) HandleQuery

func (oq *Querier) HandleQuery(ctx sdk.Context, query wasmbindingstypes.ElysQuery) ([]byte, error)

Jump to

Keyboard shortcuts

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