Versions in this module Expand all Collapse all v1 v1.0.2 Nov 3, 2020 Changes in this version + const CONTEXT_ARGMAP + const CONTEXT_INTERFACE type Wasm + func (w *Wasm) FreeBytes(inputPointer interface{}, b []byte) error + func (w *Wasm) FreeString(inputPointer interface{}, str string) error + func (w *Wasm) SetContext(key string, value interface{}) v1.0.0 Apr 22, 2020 Changes in this version + func EmptyImports() (*wasmer.Imports, error) + type Contract struct + Code []byte + Hash types.Hash + type Wasm struct + Instance wasmer.Instance + func New(contractByte []byte, imports *wasmer.Imports) (*Wasm, error) + func (w *Wasm) Execute(input []byte) ([]byte, error) + func (w *Wasm) SetBytes(b []byte) (int32, error) + func (w *Wasm) SetString(str string) (int32, error) v1.0.0-rc2 Apr 21, 2020