Documentation ¶
Index ¶
- type VM
- func (v *VM) AfterRun() error
- func (v *VM) BeforeDeploy() error
- func (v *VM) BeforeGet() error
- func (v *VM) BeforeRun() error
- func (v *VM) BeforeSet() error
- func (v *VM) Close()
- func (v *VM) DeployContract() error
- func (v *VM) GetContext() ([]byte, error)
- func (v *VM) LogStatus() (end int64, err error)
- func (v *VM) Run(ctx fcom.TxContext) (*fcom.Result, error)
- func (v *VM) SetContext(ctx []byte) error
- func (v *VM) Statistic(from, to int64) (*fcom.RemoteStatistic, error)
- func (v *VM) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VM ¶
VM the implementation of BaseVM for lua.
func (*VM) BeforeDeploy ¶
BeforeDeploy will call before deploy contract.
func (*VM) GetContext ¶
GetContext generate context for execute tx in vm.
func (*VM) SetContext ¶
SetContext set context for execute tx in vm, the ctx is generated by GetContext.
Click to show internal directories.
Click to hide internal directories.