Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
Call executes the code given by the contract's address. It will return the EVM's return value or an error if it failed.
Call, unlike Execute, requires a config and also requires the State field to be set.
Types ¶
type Config ¶
type Config struct { ChainConfig *params.ChainConfig Difficulty *big.Int Origin common.Name FromPubkey common.PubKey Coinbase common.Name BlockNumber *big.Int Time *big.Int GasLimit uint64 AssetID uint64 GasPrice *big.Int Value *big.Int Debug bool EVMConfig vm.Config Account *accountmanager.AccountManager State *state.StateDB GetHashFn func(n uint64) common.Hash }
Config is a basic type specifying certain configuration flags for running the EVM.
Click to show internal directories.
Click to hide internal directories.