Versions in this module Expand all Collapse all v1 v1.8.13 Apr 15, 2022 v1.8.12 Apr 15, 2022 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