contract

package
v0.0.0-...-b507993 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 6 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

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