Versions in this module Expand all Collapse all v1 v1.1.3 Feb 13, 2020 Changes in this version + func Call(address common.Address, input []byte, cfg *Config) ([]byte, uint64, error) + func Create(input []byte, cfg *Config) ([]byte, common.Address, uint64, error) + func Execute(code, input []byte, cfg *Config) ([]byte, *state.StateDB, error) + func NewEnv(cfg *Config) *vm.EVM + type Config struct + BlockNumber *big.Int + ChainConfig *params.ChainConfig + Coinbase common.Address + Debug bool + Difficulty *big.Int + EVMConfig vm.Config + GasLimit uint64 + GasPrice *big.Int + GetHashFn func(n uint64) common.Hash + Origin common.Address + State *state.StateDB + Time *big.Int + Value *big.Int