Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 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 + ExecStep int + Gas uint64 + GasTable map[string]uint64 + 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) 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)