Versions in this module Expand all Collapse all v1 v1.0.0 Dec 18, 2023 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 + BaseFee *big.Int + BlobBaseFee *big.Int + BlobFeeCap *big.Int + BlobHashes []common.Hash + 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 + Random *common.Hash + State *state.StateDB + Time uint64 + Value *big.Int