Versions in this module Expand all Collapse all v1 v1.2.2 Apr 7, 2024 Changes in this version + var VMAddress = params.ZeroAddress + func CanTransfer(db types.StateDB, addr common.Address, amount *big.Int) bool + func GetHashFn(ref *types.Header, chain chainContext) func(uint64) common.Hash + func GetRegisteredAddress(evm *vm.EVM, registryId common.Hash) (common.Address, error) + func New(from common.Address, gasPrice *big.Int, header *types.Header, ...) vm.BlockContext + func NewEVMRunner(chain evmRunnerContext, header *types.Header, state types.StateDB) vm.EVMRunner + func TobinTransfer(evm *vm.EVM, sender, recipient common.Address, amount *big.Int) + func Transfer(db types.StateDB, sender, recipient common.Address, amount *big.Int) + func VerifySealFn(ref *types.Header, chain chainContext) func(*types.Header) bool + type SharedEVMRunner struct + func (sev *SharedEVMRunner) Execute(recipient common.Address, input []byte, gas uint64, value *big.Int) (ret []byte, err error) + func (sev *SharedEVMRunner) ExecuteFrom(sender, recipient common.Address, input []byte, gas uint64, value *big.Int) (ret []byte, err error) + func (sev *SharedEVMRunner) Query(recipient common.Address, input []byte, gas uint64) (ret []byte, err error)