Documentation ¶
Index ¶
- func CustomMessageDecorator(filetree *filetreekeeper.Keeper, storage *storagekeeper.Keeper) func(wasmkeeper.Messenger) wasmkeeper.Messenger
- func PerformPostFile(s *storagekeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, ...) error
- func RegisterCustomPlugins(filetree *filetreekeeper.Keeper, storage *storagekeeper.Keeper) []wasmkeeper.Option
- type CustomMessenger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomMessageDecorator ¶
func CustomMessageDecorator(filetree *filetreekeeper.Keeper, storage *storagekeeper.Keeper) func(wasmkeeper.Messenger) wasmkeeper.Messenger
CustomMessageDecorator returns decorator for custom CosmWasm bindings messages
func PerformPostFile ¶
func PerformPostFile(s *storagekeeper.Keeper, ctx sdk.Context, contractAddr sdk.AccAddress, postFile *storagetypes.MsgPostFile) error
func RegisterCustomPlugins ¶
func RegisterCustomPlugins( filetree *filetreekeeper.Keeper, storage *storagekeeper.Keeper, ) []wasmkeeper.Option
Types ¶
type CustomMessenger ¶
type CustomMessenger struct {
// 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, error)
NOTE: I think the CosmWasm bindings contract can call this multiple times in a single contract.execute() This would be great because we wouldn't need to change the chain code too much
Click to show internal directories.
Click to hide internal directories.