Versions in this module Expand all Collapse all v2 v2.0.1 Jul 5, 2020 Changes in this version + const MAX_EXECUTE_ENGINE + func NewVmFeatureFlag(blockHeight uint32) vm.VmFeatureFlag + type Config struct + BlockHash common.Uint256 + Height uint32 + Time uint32 + Tx *ctypes.Transaction + type SmartContract struct + CacheDB *storage.CacheDB + Config *Config + Contexts []*context.Context + CrossHashes []common.Uint256 + ExecStep int + Gas uint64 + GasTable map[string]uint64 + JitMode bool + Notifications []*event.NotifyEventInfo + PreExec bool + Store store.LedgerStore + WasmExecStep uint64 + func (this *SmartContract) CallingContext() *context.Context + func (this *SmartContract) CheckExecStep() bool + func (this *SmartContract) CheckUseGas(gas uint64) bool + func (this *SmartContract) CheckWitness(address common.Address) bool + func (this *SmartContract) CurrentContext() *context.Context + func (this *SmartContract) EntryContext() *context.Context + func (this *SmartContract) GetCallerAddress() []common.Address + func (this *SmartContract) IsInternalErr() bool + func (this *SmartContract) NewExecuteEngine(code []byte, txtype ctypes.TransactionType) (context.Engine, error) + func (this *SmartContract) NewNativeService() (*native.NativeService, error) + func (this *SmartContract) PopContext() + func (this *SmartContract) PushContext(context *context.Context) + func (this *SmartContract) PushNotifications(notifications []*event.NotifyEventInfo) + func (this *SmartContract) PutCrossStateHashes(hashes []common.Uint256) + func (this *SmartContract) SetInternalErr()