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 staking wasm msg parser
func (MsgParser) Parse ¶ added in v1.2.0
func (parser MsgParser) Parse(contractAddr sdk.AccAddress, wasmMsg wasmvmtypes.CosmosMsg) (msgs sdk.Msg, err error)
Parse implements wasm staking msg parser
func (MsgParser) ParseCustom ¶ added in v1.2.0
func (parser MsgParser) ParseCustom(contractAddr sdk.AccAddress, data 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 ¶
func NewWasmQuerier(stakingKeeper stakingkeeper.Keeper, distrKeeper distrkeeper.Keeper) Querier
NewWasmQuerier returns staking wasm querier
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.