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