Documentation ¶
Index ¶
- type LogLevel
- type ParamType
- type WasmStateMachine
- type WasmStateReader
- func (i *WasmStateReader) Exists(name string) bool
- func (i *WasmStateReader) GetServiceMap() map[string]func(*exec.ExecutionEngine) (bool, error)
- func (i *WasmStateReader) Invoke(methodName string, engine *exec.ExecutionEngine) (bool, error)
- func (i *WasmStateReader) MergeMap(mMap map[string]func(*exec.ExecutionEngine) (bool, error)) bool
- func (i *WasmStateReader) Register(name string, handler func(*exec.ExecutionEngine) (bool, error)) bool
- type WasmVmService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WasmStateMachine ¶
type WasmStateMachine struct {
*WasmStateReader
}
func NewWasmStateMachine ¶
func NewWasmStateMachine() *WasmStateMachine
type WasmStateReader ¶
type WasmStateReader struct {
// contains filtered or unexported fields
}
func NewWasmStateReader ¶
func NewWasmStateReader() *WasmStateReader
func (*WasmStateReader) Exists ¶
func (i *WasmStateReader) Exists(name string) bool
func (*WasmStateReader) GetServiceMap ¶
func (i *WasmStateReader) GetServiceMap() map[string]func(*exec.ExecutionEngine) (bool, error)
func (*WasmStateReader) Invoke ¶
func (i *WasmStateReader) Invoke(methodName string, engine *exec.ExecutionEngine) (bool, error)
func (*WasmStateReader) MergeMap ¶
func (i *WasmStateReader) MergeMap(mMap map[string]func(*exec.ExecutionEngine) (bool, error)) bool
func (*WasmStateReader) Register ¶
func (i *WasmStateReader) Register(name string, handler func(*exec.ExecutionEngine) (bool, error)) bool
type WasmVmService ¶
type WasmVmService struct { Store store.LedgerStore CloneCache *storage.CloneCache ContextRef context.ContextRef Notifications []*event.NotifyEventInfo Code []byte Tx *types.Transaction Time uint32 }
Click to show internal directories.
Click to hide internal directories.