Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgParser ¶ added in v1.2.0
type MsgParser struct{}
MsgParser - wasm msg parser for staking msgs
func NewWasmMsgParser ¶
func NewWasmMsgParser() MsgParser
NewWasmMsgParser returns bank wasm msg parser
func (MsgParser) Parse ¶ added in v1.2.0
func (MsgParser) Parse(contractAddr sdk.AccAddress, wasmMsg wasmvmtypes.CosmosMsg) (sdk.Msg, error)
Parse implements wasm staking msg parser
func (MsgParser) ParseCustom ¶ added in v1.2.0
func (MsgParser) ParseCustom(_ sdk.AccAddress, _ json.RawMessage) (sdk.Msg, error)
ParseCustom implements custom parser
type Querier ¶ added in v1.2.0
type Querier struct {
// contains filtered or unexported fields
}
Querier - staking query interface for wasm contract
func NewWasmQuerier ¶
NewWasmQuerier return bank wasm query interface
func (Querier) Query ¶ added in v1.2.0
func (querier Querier) Query(ctx sdk.Context, request wasmvmtypes.QueryRequest) ([]byte, error)
Query - implement query function
func (Querier) QueryCustom ¶ added in v1.2.0
QueryCustom implements custom query interface
Click to show internal directories.
Click to hide internal directories.