Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerKeeper ¶
type ConsumerKeeper interface { HandleBondMsg(ctx sdk.Context, actor sdk.AccAddress, bondMsg *consumermsg.BondMsg) ([]sdk.Event, [][]byte, error) HandleUnbondMsg(ctx sdk.Context, actor sdk.AccAddress, unbondMsg *consumermsg.UnbondMsg) ([]sdk.Event, [][]byte, error) }
type CustomMessenger ¶
type CustomMessenger struct {
// contains filtered or unexported fields
}
func (CustomMessenger) DispatchMsg ¶
func (h CustomMessenger) DispatchMsg(ctx sdk.Context, contractAddr sdk.AccAddress, _ string, msg wasmvmtypes.CosmosMsg) ([]sdk.Event, [][]byte, error)
DispatchMsg executes on the contractMsg.
type CustomMsg ¶
type CustomMsg struct { Bond *consumermsg.BondMsg `json:"bond,omitempty"` Unbond *consumermsg.UnbondMsg `json:"unbond,omitempty"` }
Click to show internal directories.
Click to hide internal directories.