Documentation ¶
Index ¶
- func CustomMessageDecorator(ictx *ictxkeeper.Keeper, icq *icqkeeper.Keeper, ...) func(messenger wasmkeeper.Messenger) wasmkeeper.Messenger
- func CustomQuerier(qp *QueryPlugin) func(ctx sdk.Context, request json.RawMessage) ([]byte, error)
- func RegisterCustomPlugins(ictxKeeper *interchaintransactionsmodulekeeper.Keeper, ...) []wasmkeeper.Option
- type CustomMessenger
- type QueryPlugin
- func (qp *QueryPlugin) GetFailures(ctx sdk.Context, address string, pagination *sdkquery.PageRequest) (*bindings.FailuresResponse, error)
- func (qp *QueryPlugin) GetInterchainAccountAddress(ctx sdk.Context, req *bindings.QueryInterchainAccountAddressRequest) (*bindings.QueryInterchainAccountAddressResponse, error)
- func (qp *QueryPlugin) GetInterchainQueryResult(ctx sdk.Context, queryID uint64) (*bindings.QueryRegisteredQueryResultResponse, error)
- func (qp *QueryPlugin) GetMinIbcFee(ctx sdk.Context, _ *bindings.QueryMinIbcFeeRequest) (*bindings.QueryMinIbcFeeResponse, error)
- func (qp *QueryPlugin) GetRegisteredInterchainQueries(ctx sdk.Context, query *bindings.QueryRegisteredQueriesRequest) (*bindings.QueryRegisteredQueriesResponse, error)
- func (qp *QueryPlugin) GetRegisteredInterchainQuery(ctx sdk.Context, req *bindings.QueryRegisteredQueryRequest) (*bindings.QueryRegisteredQueryResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomMessageDecorator ¶
func CustomMessageDecorator( ictx *ictxkeeper.Keeper, icq *icqkeeper.Keeper, transferKeeper transferwrapperkeeper.KeeperTransferWrapper, contractmanagerKeeper *contractmanagerkeeper.Keeper, ) func(messenger wasmkeeper.Messenger) wasmkeeper.Messenger
func CustomQuerier ¶
func CustomQuerier(qp *QueryPlugin) func(ctx sdk.Context, request json.RawMessage) ([]byte, error)
CustomQuerier returns a function that is an implementation of custom querier mechanism for specific messages.
func RegisterCustomPlugins ¶
func RegisterCustomPlugins( ictxKeeper *interchaintransactionsmodulekeeper.Keeper, icqKeeper *interchainqueriesmodulekeeper.Keeper, transfer transfer.KeeperTransferWrapper, feeRefunderKeeper *feerefunderkeeper.Keeper, contractmanagerKeeper *contractmanagerkeeper.Keeper, ) []wasmkeeper.Option
RegisterCustomPlugins returns wasmkeeper.Option that we can use to connect handlers for implemented custom queries and messages to the App.
Types ¶
type CustomMessenger ¶
type CustomMessenger struct { Keeper ictxkeeper.Keeper Wrapped wasmkeeper.Messenger Ictxmsgserver ictxtypes.MsgServer Icqmsgserver icqtypes.MsgServer ContractmanagerKeeper *contractmanagerkeeper.Keeper // contains filtered or unexported fields }
func (*CustomMessenger) DispatchMsg ¶
func (m *CustomMessenger) DispatchMsg(ctx sdk.Context, contractAddr sdk.AccAddress, contractIBCPortID string, msg wasmvmtypes.CosmosMsg) ([]sdk.Event, [][]byte, [][]*types.Any, error)
type QueryPlugin ¶
type QueryPlugin struct {
// contains filtered or unexported fields
}
func NewQueryPlugin ¶
func NewQueryPlugin( icaControllerKeeper *icacontrollerkeeper.Keeper, icqKeeper *icqkeeper.Keeper, feeRefunderKeeper *feerefunderkeeper.Keeper, contractmanagerKeeper *contractmanagerkeeper.Keeper, ) *QueryPlugin
NewQueryPlugin returns a reference to a new QueryPlugin.
func (*QueryPlugin) GetFailures ¶ added in v0.5.0
func (qp *QueryPlugin) GetFailures(ctx sdk.Context, address string, pagination *sdkquery.PageRequest) (*bindings.FailuresResponse, error)
func (*QueryPlugin) GetInterchainAccountAddress ¶
func (qp *QueryPlugin) GetInterchainAccountAddress(ctx sdk.Context, req *bindings.QueryInterchainAccountAddressRequest) (*bindings.QueryInterchainAccountAddressResponse, error)
func (*QueryPlugin) GetInterchainQueryResult ¶
func (qp *QueryPlugin) GetInterchainQueryResult(ctx sdk.Context, queryID uint64) (*bindings.QueryRegisteredQueryResultResponse, error)
func (*QueryPlugin) GetMinIbcFee ¶ added in v0.3.0
func (qp *QueryPlugin) GetMinIbcFee(ctx sdk.Context, _ *bindings.QueryMinIbcFeeRequest) (*bindings.QueryMinIbcFeeResponse, error)
func (*QueryPlugin) GetRegisteredInterchainQueries ¶
func (qp *QueryPlugin) GetRegisteredInterchainQueries(ctx sdk.Context, query *bindings.QueryRegisteredQueriesRequest) (*bindings.QueryRegisteredQueriesResponse, error)
func (*QueryPlugin) GetRegisteredInterchainQuery ¶
func (qp *QueryPlugin) GetRegisteredInterchainQuery(ctx sdk.Context, req *bindings.QueryRegisteredQueryRequest) (*bindings.QueryRegisteredQueryResponse, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.