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) 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) SetQuerierBalance(addr string, balance []types.Coin)
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) Instantiate ¶
Click to show internal directories.
Click to hide internal directories.