Documentation ¶
Index ¶
- Variables
- func CanTransfer(db vm.StateDB, addr common.Address, amount *big.Int) bool
- func GetHashFn(ref *types.Header, chain chainContext) func(uint64) common.Hash
- func New(from common.Address, gasPrice *big.Int, header *types.Header, ...) vm.BlockContext
- func NewEVMRunner(chain evmRunnerContext, header *types.Header, state vm.StateDB) vm.EVMRunner
Constants ¶
This section is empty.
Variables ¶
View Source
var VMAddress = params.ZeroAddress
VMAddress is the address the VM uses to make internal calls to contracts
Functions ¶
func CanTransfer ¶
CanTransfer checks whether there are enough funds in the address' account to make a transfer. This does not take the necessary gas into account to make the transfer valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.