Documentation ¶
Index ¶
- Constants
- func NewCoins(amount uint64, denom string) []types.Coin
- type Instance
- func (i *Instance) Execute(env types.Env, info types.MessageInfo, handleMsg json.Marshaler) (*types.Response, uint64, error)
- func (i *Instance) IBCChannelClose(env types.Env, closeMsg types.IBCChannelCloseMsg) (*types.IBCBasicResponse, uint64, error)
- func (i *Instance) IBCChannelConnect(env types.Env, connectMsg types.IBCChannelConnectMsg) (*types.IBCBasicResponse, uint64, error)
- func (i *Instance) IBCChannelOpen(env types.Env, openMsg types.IBCChannelOpenMsg) (uint64, error)
- func (i *Instance) IBCPacketAck(env types.Env, ackMsg types.IBCPacketAckMsg) (*types.IBCBasicResponse, uint64, error)
- func (i *Instance) IBCPacketReceive(env types.Env, receiveMsg types.IBCPacketReceiveMsg) (*types.IBCReceiveResult, uint64, error)
- func (i *Instance) IBCPacketTimeout(env types.Env, timeoutMsg types.IBCPacketTimeoutMsg) (*types.IBCBasicResponse, uint64, error)
- func (i *Instance) Instantiate(env types.Env, info types.MessageInfo, initMsg json.Marshaler) (*types.Response, uint64, error)
- func (i *Instance) Migrate(env types.Env, migrateMsg json.Marshaler) (*types.Response, uint64, error)
- func (i *Instance) Query(env types.Env, queryMsg json.Marshaler) ([]byte, uint64, error)
- func (i *Instance) Reply(env types.Env, replyMsg types.Reply) (*types.Response, uint64, error)
- func (i *Instance) SetQuerierBalance(addr string, balance []types.Coin)
- func (i *Instance) Sudo(env types.Env, sudoMsg json.Marshaler) (*types.Response, uint64, error)
Constants ¶
View Source
const (
FEATURES = "staking"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Instance ¶
type Instance struct { Wasmer *wasmvm.VM CodeID []byte GasLimit uint64 GasMeter wasmvm.GasMeter Store *mocks.Lookup Api *mocks.GoAPI Querier mocks.Querier }
func NewInstance ¶
func (*Instance) IBCChannelClose ¶
func (i *Instance) IBCChannelClose(env types.Env, closeMsg types.IBCChannelCloseMsg) (*types.IBCBasicResponse, uint64, error)
func (*Instance) IBCChannelConnect ¶
func (i *Instance) IBCChannelConnect(env types.Env, connectMsg types.IBCChannelConnectMsg) (*types.IBCBasicResponse, uint64, error)
func (*Instance) IBCChannelOpen ¶
func (*Instance) IBCPacketAck ¶
func (i *Instance) IBCPacketAck(env types.Env, ackMsg types.IBCPacketAckMsg) (*types.IBCBasicResponse, uint64, error)
func (*Instance) IBCPacketReceive ¶
func (i *Instance) IBCPacketReceive(env types.Env, receiveMsg types.IBCPacketReceiveMsg) (*types.IBCReceiveResult, uint64, error)
func (*Instance) IBCPacketTimeout ¶
func (i *Instance) IBCPacketTimeout(env types.Env, timeoutMsg types.IBCPacketTimeoutMsg) (*types.IBCBasicResponse, uint64, error)
func (*Instance) Instantiate ¶
func (*Instance) SetQuerierBalance ¶
Click to show internal directories.
Click to hide internal directories.